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