1. Stylelabs.M.Sdk.Fluent.Testing.Extensions

Class FluentMemberGroupExtensions

Extension methods for the FluentMemberGroup type.

Inheritance

object

FluentMemberGroupExtensions

Namespace: StylelabsStylelabs.MSdkFluentStylelabs.M.Sdk.Fluent.TestingExtensions

Assembly: Stylelabs.M.Sdk.Fluent.Testing.dll

Syntax

public static class FluentMemberGroupExtensions

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

TypeNameDescription
FluentMemberGroupmemberGroupThe FluentMemberGroup.
stringnameThe name of the .

Returns

TypeDescription
FluentMemberGroupThe fluent member group.

AssertRelationExists(FluentMemberGroup, string, 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

TypeNameDescription
FluentMemberGroupmemberGroupThe FluentMemberGroup.
stringnameThe name of the .
RelationRoleroleThe .
FluentEntityDefinitionentityDefinitionThe FluentEntityDefinition that is associated with the relation.

Returns

TypeDescription
FluentMemberGroupThe fluent member group.
If you have suggestions for improving this article, let us know!