Class PropertyBase
Base implementation of IProperty.
Inherited Members
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBase
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public abstract class PropertyBase : MemberBase, IProperty, IMember, IDirtyTracking
Constructors
PropertyBase(string, bool, Type)
Initializes a new instance of the PropertyBase class.
Declaration
RequestResponse
protected PropertyBase(string name, bool isMultilingual, Type type)
Parameters
Type | Name | Description |
---|---|---|
string | name |
The name of the property. |
bool | isMultilingual |
Indicates if the property is multi-value. |
Type | type |
The type of the property. |
Properties
DataType
Gets the data type.
Declaration
RequestResponse
public Type DataType { get; }
Property Value
Type | Description |
---|---|
Type |
DefinitionType
Gets the definition type.
Declaration
RequestResponse
public override MemberDefinitionType DefinitionType { get; }
Property Value
Type | Description |
---|---|
MemberDefinitionType |
Overrides
IsMultiLanguage
Gets a value indicating whether the property is multi-value or not.
Declaration
RequestResponse
public bool IsMultiLanguage { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
GetTypeName()
Gets the type name of the subtype.
Declaration
RequestResponse
protected abstract string GetTypeName()
Returns
Type | Description |
---|---|
string |
Name of the subtype. |