1. Stylelabs.M.Sdk.Models.Typed.Fields

Class ReadOnlyCultureSensitive

Defines a read-only culture sensitive property for a ITypedEntity.

Inheritance

object

ReadOnlyCultureSensitive

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsTypedFields

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class ReadOnlyCultureSensitive<T>

Type Parameters

NameDescription
TThe type.

Constructors

ReadOnlyCultureSensitive(TypedEntityWrapper, string)

Initializes a new instance of the ReadOnlyCultureSensitive class.

Declaration

public ReadOnlyCultureSensitive(TypedEntityWrapper wrapper, string propertyName)

Parameters

TypeNameDescription
TypedEntityWrapperwrapperThe typed entity wrapper.
stringpropertyNameThe property name.

Properties

this[CultureInfo]

Gets the specified property in the desired culture.

Declaration

public T this[CultureInfo culture] { get; }

Parameters

TypeNameDescription
CultureInfocultureThe culture.

Property Value

TypeDescription
T
If you have suggestions for improving this article, let us know!