Class TrackedProperty<TPrimitive>
Represents a property for a primitive data type.
Inheritance
TrackedProperty<TPrimitive>
Syntax
[Serializable]
public class TrackedProperty<TPrimitive> : ITrackedPropertyValue<TPrimitive>, IStringProperty, ITrackedProperty, ISerializationCallbackReceiver, ITrackedPropertyRemoveVariant
Type Parameters
Name |
Description |
TPrimitive |
The primitive data type.
|
Properties
PropertyPath
The property's serialized property path.
Declaration
public string PropertyPath { get; set; }
Property Value
Implements
Methods
ConvertFromString(String)
Declaration
protected virtual TPrimitive ConvertFromString(string value)
Parameters
Type |
Name |
Description |
String |
value |
|
Returns
Type |
Description |
TPrimitive |
|
ConvertToString(TPrimitive)
Declaration
protected virtual string ConvertToString(TPrimitive value)
Parameters
Type |
Name |
Description |
TPrimitive |
value |
|
Returns
GetValue(LocaleIdentifier, out TPrimitive)
Declaration
public bool GetValue(LocaleIdentifier localeIdentifier, out TPrimitive foundValue)
Parameters
Returns
Implements
GetValue(LocaleIdentifier, LocaleIdentifier, out TPrimitive)
Declaration
public bool GetValue(LocaleIdentifier localeIdentifier, LocaleIdentifier fallback, out TPrimitive foundValue)
Parameters
Returns
Implements
GetValueAsString(LocaleIdentifier)
Declaration
public string GetValueAsString(LocaleIdentifier localeIdentifier)
Parameters
Returns
Implements
GetValueAsString(LocaleIdentifier, LocaleIdentifier)
Declaration
public string GetValueAsString(LocaleIdentifier localeIdentifier, LocaleIdentifier fallback)
Parameters
Returns
Implements
HasVariant(LocaleIdentifier)
Declaration
public bool HasVariant(LocaleIdentifier localeIdentifier)
Parameters
Returns
Implements
RemoveVariant(LocaleIdentifier)
Declaration
public void RemoveVariant(LocaleIdentifier localeIdentifier)
Parameters
SetValue(LocaleIdentifier, TPrimitive)
Declaration
public void SetValue(LocaleIdentifier localeIdentifier, TPrimitive value)
Parameters
Implements
SetValueFromString(LocaleIdentifier, String)
Declaration
public void SetValueFromString(LocaleIdentifier localeIdentifier, string stringValue)
Parameters
Implements