1. Stylelabs.M.Sdk.Models.Base

Class PropertyBase

Base implementation of IProperty.

Inheritance

object

MemberBase

PropertyBase

CultureInsensitiveProperty

CultureSensitiveProperty

Implements

IProperty

IMember

IDirtyTracking

Inherited Members

MemberBase.Name

MemberBase.IsTracking

MemberBase.IsDirty

MemberBase.StartTracking()

MemberBase.MarkClean()

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
stringnameThe name of the property.
boolisMultilingualIndicates if the property is multi-value.
TypetypeThe 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

MemberBase.DefinitionType

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
stringName of the subtype.

Implements

IProperty

IMember

IDirtyTracking

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