1. Stylelabs.M.Sdk.Models.Base

Class MemberGroup

A member group.

Inheritance

object

MemberGroup

Implements

IMemberGroup

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBase

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class MemberGroup : IMemberGroup

Properties

Conditions

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

Declaration

public IList<IMemberCondition> Conditions { get; }

Property Value

TypeDescription
IList<>IMemberCondition

ContentGroup

Gets or sets language agnostic case insensitive name of the content group. Used for grouping member groups for visual representation.

Declaration

public string ContentGroup { get; set; }

Property Value

TypeDescription
string

IsConditional

Gets a value indicating whether if this member group has conditions.

Declaration

public bool IsConditional { get; }

Property Value

TypeDescription
bool

IsSecured

Gets or sets a value indicating whether 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 if this member group 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 collection of the culture specific member labels.

Declaration

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

Property Value

TypeDescription
IDictionary<, >CultureInfostring

MemberDefinitions

Gets collection the member definitions in this group.

Declaration

public IList<IMemberDefinition> MemberDefinitions { get; }

Property Value

TypeDescription
IList<>IMemberDefinition

Name

Gets or sets language agnostic case insensitive name of the group. Must be unique per group and IEntityDefinition.

Declaration

public string Name { get; set; }

Property Value

TypeDescription
string

Implements

IMemberGroup

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