logo
logo

Class FluentMemberGroup

Defines the fluent member group type.

Inheritance
System.Object
FluentMemberGroup
Namespace: Stylelabs.M.Sdk.Fluent.Models
Assembly: Stylelabs.M.Sdk.Fluent.dll
Syntax
public class FluentMemberGroup : object

Constructors

FluentMemberGroup(IMemberGroup)

Initializes a new instance of the FluentMemberGroup class.

Declaration
public FluentMemberGroup(IMemberGroup memberGroup)
Parameters
Type Name Description
IMemberGroup memberGroup

Properties

ContentGroup

Declaration
public string ContentGroup { get; set; }
Property Value
Type Description
System.String

IsConditional

Declaration
public bool IsConditional { get; }
Property Value
Type Description
System.Boolean

IsSecured

Declaration
public bool IsSecured { get; set; }
Property Value
Type Description
System.Boolean

IsSystemOwned

Declaration
public bool IsSystemOwned { get; set; }
Property Value
Type Description
System.Boolean

Labels

Declaration
public IDictionary<CultureInfo, string> Labels { get; }
Property Value
Type Description
IDictionary<CultureInfo, System.String>

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Object

Gets the IMemberGroup.

Declaration
public IMemberGroup Object { get; }
Property Value
Type Description
IMemberGroup

Methods

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

Adds a property definition.

Declaration
public FluentMemberGroup AddPropertyDefinition<TDefinition>(string name, Action<TDefinition> initializer = null)

    where TDefinition : IPropertyDefinition, new()
Parameters
Type Name Description
System.String name

The name of the property definition.

Action<TDefinition> initializer

The property definition initializer.

Returns
Type Description
FluentMemberGroup

The FluentMemberGroup

Type Parameters
Name Description
TDefinition

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

Adds a relation definition.

Declaration
public FluentMemberGroup AddRelationDefinition(string name, RelationRole role, FluentEntityDefinition entityDefinition, Action<IRelationDefinition> initializer = null)
Parameters
Type Name Description
System.String name

The name of the relation definition.

RelationRole role
FluentEntityDefinition entityDefinition
Action<IRelationDefinition> initializer

The relation definition initializer.

Returns
Type Description
FluentMemberGroup

The FluentMemberGroup

RemoveDefinition(String)

Removes a member definition by its name.

Declaration
public FluentMemberGroup RemoveDefinition(string name)
Parameters
Type Name Description
System.String name

The name of the member definition.

Returns
Type Description
FluentMemberGroup

The FluentMemberGroup

Extension Methods

Can we improve this article ? Provide feedback