Class PropertyBase

Base implementation of IProperty.

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
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
RequestResponse
public Type DataType { get; }
Property Value
TypeDescription
Type

DefinitionType

Gets the definition type.

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

IsMultiLanguage

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

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

Methods

GetTypeName()

Gets the type name of the subtype.

Declaration
RequestResponse
protected abstract string GetTypeName()
Returns
TypeDescription
string

Name of the subtype.

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,