1. Stylelabs.M.Sdk.Models.Base

Class MemberDefinitionBase

Base class for member definitions.

Inheritance

object

MemberDefinitionBase

PropertyDefinitionBase

RelationDefinition

Implements

IMemberDefinition

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBase

Assembly: Stylelabs.M.Sdk.dll

Syntax

public abstract class MemberDefinitionBase : IMemberDefinition

Properties

AllowUpdates

Gets or sets a value indicating whether this member can be updated from external sources (e.g. REST API, SDK...).

Declaration

public bool AllowUpdates { get; set; }

Property Value

TypeDescription
bool

Conditions

Gets the conditions that are evaluated to decide if this member should be exposed in the external API/UI. These conditions have no impact on data validity.

Declaration

public IList<IMemberCondition> Conditions { get; set; }

Property Value

TypeDescription
IList<>IMemberCondition

DefinitionType

Gets type of the member.

Declaration

public abstract MemberDefinitionType DefinitionType { get; }

Property Value

TypeDescription
MemberDefinitionType

HelpText

Gets collection of the culture specific help text.

Declaration

public IDictionary<CultureInfo, string> HelpText { get; set; }

Property Value

TypeDescription
IDictionary<, >CultureInfostring

IsConditional

Gets a value indicating whether indicates whether this member definition has any member conditions.

Declaration

public bool IsConditional { get; }

Property Value

TypeDescription
bool

IsSecured

Gets or sets a value indicating whether indicates if the read-write access to this member is restricted.

Declaration

public bool IsSecured { get; set; }

Property Value

TypeDescription
bool

IsSystemOwned

Gets or sets a value indicating whether indicates if the member definition is owned by the system and cannot be modified or deleted by the regular users.

Declaration

public bool IsSystemOwned { get; set; }

Property Value

TypeDescription
bool

Labels

Gets or sets the labels.

Declaration

public IDictionary<CultureInfo, string> Labels { get; set; }

Property Value

TypeDescription
IDictionary<, >CultureInfostring

Name

Gets or sets language agnostic case insensitive name of the member. Must be unique per member and IEntityDefinition, except for self-referencing relations.

Declaration

public string Name { get; set; }

Property Value

TypeDescription
string

Implements

IMemberDefinition

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