Class FluentMemberGroup

Version: 4.0

Defines the fluent member group type.

Inheritance
object
FluentMemberGroup
Namespace: StylelabsStylelabs.MSdkFluentModels
Assembly: Stylelabs.M.Sdk.Fluent.dll
Syntax
RequestResponse
public class FluentMemberGroup

Constructors

FluentMemberGroup(IMemberGroup)

Initializes a new instance of the FluentMemberGroup class.

Declaration
RequestResponse
public FluentMemberGroup(IMemberGroup memberGroup)
Parameters
TypeNameDescription
IMemberGroupmemberGroup

The member group.

Properties

ContentGroup

Declaration
RequestResponse
public string ContentGroup { get; set; }
Property Value
TypeDescription
string

IsConditional

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

IsSecured

Declaration
RequestResponse
public bool IsSecured { get; set; }
Property Value
TypeDescription
bool

IsSystemOwned

Declaration
RequestResponse
public bool IsSystemOwned { get; set; }
Property Value
TypeDescription
bool

Labels

Declaration
RequestResponse
public IDictionary<CultureInfo, string> Labels { get; }
Property Value
TypeDescription
IDictionary<, >CultureInfostring

Name

Declaration
RequestResponse
public string Name { get; set; }
Property Value
TypeDescription
string

Object

Gets the IMemberGroup.

Declaration
RequestResponse
public IMemberGroup Object { get; }
Property Value
TypeDescription
IMemberGroup

Methods

AddPropertyDefinition<TDefinition>(string, Action<TDefinition>)

Adds a property definition.

Declaration
RequestResponse
public FluentMemberGroup AddPropertyDefinition<TDefinition>(string name, Action<TDefinition> initializer = null) where TDefinition : IPropertyDefinition, new()
Parameters
TypeNameDescription
stringname

The name of the property definition.

Action<>initializer

The property definition initializer.

Returns
TypeDescription
FluentMemberGroup

The FluentMemberGroup.

Type Parameters
NameDescription
TDefinition

The definition type.

AddRelationDefinition(string, RelationRole, FluentEntityDefinition, Action<IRelationDefinition>)

Adds a relation definition.

Declaration
RequestResponse
public FluentMemberGroup AddRelationDefinition(string name, RelationRole role, FluentEntityDefinition entityDefinition, Action<IRelationDefinition> initializer = null)
Parameters
TypeNameDescription
stringname

The name of the relation definition.

RelationRolerole

The role.

FluentEntityDefinitionentityDefinition

The entity definition.

Action<>IRelationDefinitioninitializer

The relation definition initializer.

Returns
TypeDescription
FluentMemberGroup

The FluentMemberGroup.

RemoveDefinition(string)

Removes a member definition by its name.

Declaration
RequestResponse
public FluentMemberGroup RemoveDefinition(string name)
Parameters
TypeNameDescription
stringname

The name of the member definition.

Returns
TypeDescription
FluentMemberGroup

The FluentMemberGroup.

Extension Methods

Do you have some feedback for us?

If you have suggestions for improving this article,