A Sandcastle Documented Class Library

# ThemeController Methods

The ThemeController type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| Create | POST /Theme/ Creates a theme.
| EnsureCallerContext | If the current context is not already the specified context, creates a new caller context which is a clone of the specified context and sets it as the current one. (Inherited from ApiControllerBase.)
| EnsureFormFileMultipartContent | Ensures when form files are access the content is MIME multi-part which we want. (Inherited from ApiControllerBase.)
| GetById | GET /Theme/{id} Gets a theme with the specified ID.
| GetClientIdFromCookieOrProvided | Gets the client ID from cookie or from the provided value, which is usually from the query string. (Inherited from ApiControllerBase.)
| GetService T | Gets the requested service. (Inherited from ApiControllerBase.)
| GetSessionIdFromCookieHeaderOrProvided | Gets the session ID from cookie, the authorization header or from the provided value, which is usually from the query string. (Inherited from ApiControllerBase.)
| GetThemeStyles | GET /Theme/Styles/{id} Gets all the styles from the theme with the specified ID.
| LoadSession | Creates a new caller context associated with the specified session ID. The session is not validated. (Inherited from ApiControllerBase.)
| RequestFirstFormFile | Retrieves the first form file from the request. (Inherited from ApiControllerBase.)
| RequestFormFiles | Retrieves the form files from the request. (Inherited from ApiControllerBase.)
| ReturnInvalidWindowsIdentityResponse | Returns the invalid windows identity response to challenge the browser. (Inherited from ApiControllerBase.)
| Update | PUT /Theme/{id} Updates a theme.

Top
See Also

#### Reference

ThemeController Class
Dundas.BI.WebApi.Controllers Namespace