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
RequestResponse

public static class FluentEntityDefinitionExtensions

Methods

AssertMemberGroup(FluentEntityDefinition, string, string)

Asserts whether the FluentEntityDefinition has the specified FluentMemberGroup.

Declaration
RequestResponse

public static FluentEntityDefinition AssertMemberGroup(this FluentEntityDefinition entityDefinition, string name, string message = null)
Parameters
TypeNameDescription
FluentEntityDefinitionentityDefinition

The FluentEntityDefinition.

stringname

The name of the member group.

stringmessage

The validation message.

Returns
TypeDescription
FluentEntityDefinition

The fluent entity definition.

AssertRelation(FluentEntityDefinition, string, RelationRole, string)

Asserts whether the FluentEntityDefinition has the specified relation.

Declaration
RequestResponse

public static FluentEntityDefinition AssertRelation(this FluentEntityDefinition entityDefinition, string name, RelationRole role, string message = null)
Parameters
TypeNameDescription
FluentEntityDefinitionentityDefinition

The FluentEntityDefinition.

stringname

The name of the relation.

RelationRolerole

The relation role.

stringmessage

The validation message.

Returns
TypeDescription
FluentEntityDefinition

The fluent entity definition.

Do you have some feedback for us?

If you have suggestions for improving this article,