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

The typed entity wrapper.

stringpropertyName

The property name.

Properties

this[CultureInfo]

Gets the specified property in the desired culture.

Declaration
RequestResponse
public T this[CultureInfo culture] { get; }
Parameters
TypeNameDescription
CultureInfoculture

The culture.

Property Value
TypeDescription
T

Do you have some feedback for us?

If you have suggestions for improving this article,