logo
logo

Class FluentEntityDefinitionExtensions

Extension methods for the FluentEntityDefinition type.

Inheritance
System.Object
FluentEntityDefinitionExtensions
Namespace: Stylelabs.M.Sdk.Fluent.Testing.Extensions
Assembly: Stylelabs.M.Sdk.Fluent.Testing.dll
Syntax
public static class FluentEntityDefinitionExtensions : object

Methods

AssertMemberGroup(FluentEntityDefinition, String, String)

Declaration
public static FluentEntityDefinition AssertMemberGroup(this FluentEntityDefinition entityDefinition, string name, string message = null)
Parameters
Type Name Description
FluentEntityDefinition entityDefinition
System.String name
System.String message
Returns
Type Description
FluentEntityDefinition

AssertRelation(FluentEntityDefinition, String, RelationRole, String)

Asserts whether the FluentEntityDefinition has the specified

Declaration
public static FluentEntityDefinition AssertRelation(this FluentEntityDefinition entityDefinition, string name, RelationRole role, string message = null)
Parameters
Type Name Description
FluentEntityDefinition entityDefinition

The FluentEntityDefinition

System.String name

The name of the relation

RelationRole role

The relation role

System.String message

The validation message

Returns
Type Description
FluentEntityDefinition

The fluent entity definition

Can we improve this article ? Provide feedback