A Sandcastle Documented Class Library

# LocalizationController Class

The REST API for performing localization tasks.
Inheritance Hierarchy
System
Object
Microsoft.AspNetCore.Mvc
ControllerBase
Dundas.BI.WebApi.Controllers
ApiControllerBase
Dundas.BI.WebApi.Controllers
LocalizationController

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public class LocalizationController : ApiControllerBase

    Public Class LocalizationController
    	Inherits ApiControllerBase

    public ref class LocalizationController : public ApiControllerBase

    type LocalizationController =
        class
            inherit ApiControllerBase
        end

The LocalizationController type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| LocalizationController | Initializes a new instance of the LocalizationController class.

Top
Methods

| Name | Description
--- | --- | ---
| CopyLocalization | POST /Localization/Copy/ Copies the localization to the new culture.
| DeleteLocalization | DELETE /Localization/ Deletes the localization.
| 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.)
| GetClientIdFromCookieOrProvided | Gets the client ID from cookie or from the provided value, which is usually from the query string. (Inherited from ApiControllerBase.)
| GetCultureLocalizationInfos | GET /Localization/Infos/ Gets all the created and available culture localization infos.
| GetLocalization | GET /Localization/ Gets the contents of the specified localization.
| GetLocalizationFile | GET /Localization/File/ Gets the requested localization as a file.
| 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.)
| GetString | POST /Localization/GetString Gets the requested string.
| GetStrings | POST /Localization/GetStrings Gets the requested strings.
| 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.)
| StoreLocalization | PUT /Localization/ Stores the contents of the specified localization.
| StoreLocalizationFile | POST /Localization/File/ Stores the contents of the specified localization when sent as a file. This API call expects form files inside the request body.

Top
See Also

#### Reference

Dundas.BI.WebApi.Controllers Namespace