Class MemberDefinitionBase
Base class for member definitions.
Implements
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
Type | Description |
---|---|
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
Type | Description |
---|---|
IList<>IMemberCondition |
DefinitionType
Gets type of the member.
Declaration
public abstract MemberDefinitionType DefinitionType { get; }
Property Value
Type | Description |
---|---|
MemberDefinitionType |
HelpText
Gets collection of the culture specific help text.
Declaration
public IDictionary<CultureInfo, string> HelpText { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<, >CultureInfostring |
IsConditional
Gets a value indicating whether indicates whether this member definition has any member conditions.
Declaration
public bool IsConditional { get; }
Property Value
Type | Description |
---|---|
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
Type | Description |
---|---|
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
Type | Description |
---|---|
bool |
Labels
Gets or sets the labels.
Declaration
public IDictionary<CultureInfo, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
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
Type | Description |
---|---|
string |