1. CultureInsensitiveProperty

Class CultureInsensitiveProperty

A culture sensitive property.

Inheritance
object
CultureInsensitiveProperty
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBase
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class CultureInsensitiveProperty : PropertyBase, ICultureInsensitiveProperty, IProperty, IMember, IDirtyTracking

Constructors

CultureInsensitiveProperty(string, Type, object)

Initializes a new instance of the CultureInsensitiveProperty class.

Declaration
public CultureInsensitiveProperty(string name, Type type, object value)
Parameters
TypeNameDescription
stringname

The name.

Typetype

The type.

objectvalue

The value.

CultureInsensitiveProperty(string, Type)

Initializes a new instance of the CultureInsensitiveProperty class.

Declaration
public CultureInsensitiveProperty(string name, Type type)
Parameters
TypeNameDescription
stringname

The name.

Typetype

The type.

Properties

IsDirty

Gets a value indicating whether is dirty or not.

Declaration
public override bool IsDirty { get; }
Property Value
TypeDescription
bool
Overrides

Methods

GetTypeName()

Gets the type name of the subtype.

Declaration
protected override string GetTypeName()
Returns
TypeDescription
string

Name of the subtype.

Overrides

GetValue()

Gets the value of the property.

Declaration
public object GetValue()
Returns
TypeDescription
object

The value.

GetValue<T>()

Gets the value of the property.

Declaration
public T GetValue<T>()
Returns
TypeDescription
T

The value.

Type Parameters
NameDescription
T

Type of the value (preferable nullable).

MarkClean()

Marks as clean.

Declaration
public override void MarkClean()
Overrides

SetValue(object)

Sets the value of the property.

Declaration
public void SetValue(object value)
Parameters
TypeNameDescription
objectvalue

The value.

StartTracking()

Starts tracking.

Declaration
public override void StartTracking()
Overrides

Implements

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