Class CultureInsensitiveProperty

A culture sensitive property.

Inheritance
object
CultureInsensitiveProperty
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBase
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse

public class CultureInsensitiveProperty : PropertyBase, ICultureInsensitiveProperty, IProperty, IMember, IDirtyTracking

Constructors

CultureInsensitiveProperty(string, Type, object)

Initializes a new instance of the CultureInsensitiveProperty class.

Declaration
RequestResponse

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
RequestResponse

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
RequestResponse

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

Methods

GetTypeName()

Gets the type name of the subtype.

Declaration
RequestResponse

protected override string GetTypeName()
Returns
TypeDescription
string

Name of the subtype.

Overrides

GetValue()

Gets the value of the property.

Declaration
RequestResponse

public object GetValue()
Returns
TypeDescription
object

The value.

GetValue<T>()

Gets the value of the property.

Declaration
RequestResponse

public T GetValue<T>()
Returns
TypeDescription
T

The value.

Type Parameters
NameDescription
T

Type of the value (preferable nullable).

MarkClean()

Marks as clean.

Declaration
RequestResponse

public override void MarkClean()
Overrides

SetValue(object)

Sets the value of the property.

Declaration
RequestResponse

public void SetValue(object value)
Parameters
TypeNameDescription
objectvalue

The value.

StartTracking()

Starts tracking.

Declaration
RequestResponse

public override void StartTracking()
Overrides

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,