Class FluentMemberGroupExtensions
Version: 3.4
Extension methods for the FluentMemberGroup type.
Inheritance
object
FluentMemberGroupExtensions
Namespace: StylelabsStylelabs.MSdkFluentStylelabs.M.Sdk.Fluent.TestingExtensions
Assembly: Stylelabs.M.Sdk.Fluent.Testing.dll
Syntax
RequestResponse
public static class FluentMemberGroupExtensions
Methods
AssertPropertyExists(FluentMemberGroup, string)
Asserts whether a with the provided name exists in the .
Declaration
RequestResponse
public static FluentMemberGroup AssertPropertyExists(this FluentMemberGroup memberGroup, string name)
Parameters
Type | Name | Description |
---|---|---|
FluentMemberGroup | memberGroup |
The FluentMemberGroup. |
string | name |
The name of the . |
Returns
Type | Description |
---|---|
FluentMemberGroup |
The fluent member group. |
AssertRelationExists(FluentMemberGroup, string, RelationRole?, FluentEntityDefinition)
Asserts whether a with the provided name exists in the .
Declaration
RequestResponse
public static FluentMemberGroup AssertRelationExists(this FluentMemberGroup memberGroup, string name, RelationRole? role = null, FluentEntityDefinition entityDefinition = null)
Parameters
Type | Name | Description |
---|---|---|
FluentMemberGroup | memberGroup |
The FluentMemberGroup. |
string | name |
The name of the . |
RelationRole | role |
The . |
FluentEntityDefinition | entityDefinition |
The FluentEntityDefinition that is associated with the relation. |
Returns
Type | Description |
---|---|
FluentMemberGroup |
The fluent member group. |