logo
logo

Class FluentMemberGroupExtensions

Extension methods for the FluentMemberGroup type.

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

Methods

AssertPropertyExists(FluentMemberGroup, String)

Asserts whether a with the provided name exists in the .

Declaration
public static FluentMemberGroup AssertPropertyExists(this FluentMemberGroup memberGroup, string name)
Parameters
Type Name Description
FluentMemberGroup memberGroup

The FluentMemberGroup.

System.String name

The name of the .

Returns
Type Description
FluentMemberGroup

The fluent member group.

AssertRelationExists(FluentMemberGroup, String, Nullable<RelationRole>, FluentEntityDefinition)

Asserts whether a with the provided name exists in the .

Declaration
public static FluentMemberGroup AssertRelationExists(this FluentMemberGroup memberGroup, string name, RelationRole? role = null, FluentEntityDefinition entityDefinition = null)
Parameters
Type Name Description
FluentMemberGroup memberGroup

The FluentMemberGroup.

System.String name

The name of the .

System.Nullable<RelationRole> role

The .

FluentEntityDefinition entityDefinition

The FluentEntityDefinition that is associated with the relation.

Returns
Type Description
FluentMemberGroup

The fluent member group.

Can we improve this article ? Provide feedback