Class CultureSensitive<T>
Version: 3.2
Defines a culture sensitive property for a ITypedEntity.
Inheritance
object
CultureSensitive<T>
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsTypedFields
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class CultureSensitive<T>Type Parameters
| Name | Description |
|---|---|
| T |
The type. |
Constructors
CultureSensitive(TypedEntityWrapper, string)
Initializes a new instance of the CultureSensitive<T> class.
Declaration
RequestResponse
public CultureSensitive(TypedEntityWrapper wrapper, string propertyName)Parameters
| Type | Name | Description |
|---|---|---|
| TypedEntityWrapper | wrapper |
The typed entity wrapper. |
| string | propertyName |
The property name. |
Properties
this[CultureInfo]
Gets or sets the specified property in the desired culture.
Declaration
RequestResponse
public T this[CultureInfo culture] { get; set; }Parameters
| Type | Name | Description |
|---|---|---|
| CultureInfo | culture |
The culture. |
Property Value
| Type | Description |
|---|---|
| T |