Class FluentMemberGroup
Defines the fluent member group type.
Inheritance
object
FluentMemberGroup
Namespace: StylelabsStylelabs.MSdkFluentModels
Assembly: Stylelabs.M.Sdk.Fluent.dll
Syntax
Constructors
FluentMemberGroup(IMemberGroup)
Initializes a new instance of the FluentMemberGroup class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IMemberGroup | memberGroup | The member group. |
Properties
ContentGroup
Declaration
Property Value
| Type | Description |
|---|---|
| string |
IsConditional
Declaration
Property Value
| Type | Description |
|---|---|
| bool |
IsSecured
Declaration
Property Value
| Type | Description |
|---|---|
| bool |
IsSystemOwned
Declaration
Property Value
| Type | Description |
|---|---|
| bool |
Labels
Declaration
Property Value
| Type | Description |
|---|---|
| IDictionary<, >CultureInfostring |
Name
Declaration
Property Value
| Type | Description |
|---|---|
| string |
Object
Gets the IMemberGroup.
Declaration
Property Value
| Type | Description |
|---|---|
| IMemberGroup |
Methods
AddPropertyDefinition(string, Action)
Adds a property definition.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the property definition. |
| Action<> | initializer | The property definition initializer. |
Returns
| Type | Description |
|---|---|
| FluentMemberGroup | The FluentMemberGroup. |
Type Parameters
| Name | Description |
|---|---|
| TDefinition | The definition type. |
AddRelationDefinition(string, RelationRole, FluentEntityDefinition, Action)
Adds a relation definition.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the relation definition. |
| RelationRole | role | The role. |
| FluentEntityDefinition | entityDefinition | The entity definition. |
| Action<>IRelationDefinition | initializer | The relation definition initializer. |
Returns
| Type | Description |
|---|---|
| FluentMemberGroup | The FluentMemberGroup. |
RemoveDefinition(string)
Removes a member definition by its name.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the member definition. |
Returns
| Type | Description |
|---|---|
| FluentMemberGroup | The FluentMemberGroup. |
Extension Methods
FluentMemberGroupExtensions.AssertPropertyExists(FluentMemberGroup, string)
If you have suggestions for improving this article, let us know!