Class CultureInsensitiveProperty
A culture sensitive property.
Inherited Members
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
Type | Name | Description |
---|---|---|
string | name |
The name. |
Type | type |
The type. |
object | value |
The value. |
CultureInsensitiveProperty(string, Type)
Initializes a new instance of the CultureInsensitiveProperty class.
Declaration
RequestResponse
public CultureInsensitiveProperty(string name, Type type)
Parameters
Type | Name | Description |
---|---|---|
string | name |
The name. |
Type | type |
The type. |
Properties
IsDirty
Gets a value indicating whether is dirty or not.
Declaration
RequestResponse
public override bool IsDirty { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
Methods
GetTypeName()
Gets the type name of the subtype.
Declaration
RequestResponse
protected override string GetTypeName()
Returns
Type | Description |
---|---|
string |
Name of the subtype. |
Overrides
GetValue()
Gets the value of the property.
Declaration
RequestResponse
public object GetValue()
Returns
Type | Description |
---|---|
object |
The value. |
GetValue<T>()
Gets the value of the property.
Declaration
RequestResponse
public T GetValue<T>()
Returns
Type | Description |
---|---|
T |
The value. |
Type Parameters
Name | Description |
---|---|
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
Type | Name | Description |
---|---|---|
object | value |
The value. |
StartTracking()
Starts tracking.
Declaration
RequestResponse
public override void StartTracking()