Class FluentEntityDefinitionExtensions
Extension methods for the FluentEntityDefinition type.
Inheritance
object
FluentEntityDefinitionExtensions
Namespace: StylelabsStylelabs.MSdkFluentStylelabs.M.Sdk.Fluent.TestingExtensions
Assembly: Stylelabs.M.Sdk.Fluent.Testing.dll
Syntax
Methods
AssertMemberGroup(FluentEntityDefinition, string, string)
Asserts whether the FluentEntityDefinition has the specified FluentMemberGroup.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| FluentEntityDefinition | entityDefinition | |
| string | name |
The name of the member group. |
| string | message |
The validation message. |
Returns
| Type | Description |
|---|---|
| FluentEntityDefinition |
The fluent entity definition. |
AssertRelation(FluentEntityDefinition, string, RelationRole, string)
Asserts whether the FluentEntityDefinition has the specified relation.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| FluentEntityDefinition | entityDefinition | |
| string | name |
The name of the relation. |
| RelationRole | role |
The relation role. |
| string | message |
The validation message. |
Returns
| Type | Description |
|---|---|
| FluentEntityDefinition |
The fluent entity definition. |