Class CultureSensitive<T>

Current version: 4.0

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
NameDescription
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
TypeNameDescription
TypedEntityWrapperwrapper

The typed entity wrapper.

stringpropertyName

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
TypeNameDescription
CultureInfoculture

The culture.

Property Value
TypeDescription
T

Do you have some feedback for us?

If you have suggestions for improving this article,