1. PropertyBase

Class PropertyBase

Base implementation of IProperty.

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBase
Assembly: Stylelabs.M.Sdk.dll
Syntax
public abstract class PropertyBase : MemberBase, IProperty, IMember, IDirtyTracking

Constructors

PropertyBase(string, bool, Type)

Initializes a new instance of the PropertyBase class.

Declaration
protected PropertyBase(string name, bool isMultilingual, Type type)
Parameters
TypeNameDescription
stringname

The name of the property.

boolisMultilingual

Indicates if the property is multi-value.

Typetype

The type of the property.

Properties

DataType

Gets the data type.

Declaration
public Type DataType { get; }
Property Value
TypeDescription
Type

DefinitionType

Gets the definition type.

Declaration
public override MemberDefinitionType DefinitionType { get; }
Property Value
TypeDescription
MemberDefinitionType
Overrides

IsMultiLanguage

Gets a value indicating whether the property is multi-value or not.

Declaration
public bool IsMultiLanguage { get; }
Property Value
TypeDescription
bool

Methods

GetTypeName()

Gets the type name of the subtype.

Declaration
protected abstract string GetTypeName()
Returns
TypeDescription
string

Name of the subtype.

Implements

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