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
Type | Name | Description |
---|---|---|
IMemberGroup | memberGroup |
The member group. |
Properties
ContentGroup
Declaration
RequestResponse
public string ContentGroup { get; set; }
Property Value
Type | Description |
---|---|
string |
IsConditional
Declaration
RequestResponse
public bool IsConditional { get; }
Property Value
Type | Description |
---|---|
bool |
IsSecured
Declaration
RequestResponse
public bool IsSecured { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsSystemOwned
Declaration
RequestResponse
public bool IsSystemOwned { get; set; }
Property Value
Type | Description |
---|---|
bool |
Labels
Declaration
RequestResponse
public IDictionary<CultureInfo, string> Labels { get; }
Property Value
Type | Description |
---|---|
IDictionary<, >CultureInfostring |
Name
Declaration
RequestResponse
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Object
Gets the IMemberGroup.
Declaration
RequestResponse
public IMemberGroup Object { get; }
Property Value
Type | Description |
---|---|
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
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<IRelationDefinition>)
Adds a relation definition.
Declaration
RequestResponse
public FluentMemberGroup AddRelationDefinition(string name, RelationRole role, FluentEntityDefinition entityDefinition, Action<IRelationDefinition> initializer = null)
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
RequestResponse
public FluentMemberGroup RemoveDefinition(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
The name of the member definition. |
Returns
Type | Description |
---|---|
FluentMemberGroup |
The FluentMemberGroup. |