Table of Contents

Class UserAccountCommandSpecFactory

Namespace
The.Web.Entities.Components
Assembly
Instagile.Web.Client.dll

Matches entities implementing IUserAccount and closes UserAccountCommandSpec<T> over their concrete type.

public sealed class UserAccountCommandSpecFactory : ICommandSpecFactory
Inheritance
UserAccountCommandSpecFactory
Implements
Inherited Members

Constructors

UserAccountCommandSpecFactory(AccountManagementOptions)

Matches entities implementing IUserAccount and closes UserAccountCommandSpec<T> over their concrete type.

public UserAccountCommandSpecFactory(AccountManagementOptions options)

Parameters

options AccountManagementOptions

Methods

Create<T>()

Returns the spec parameterised by concrete entity type T, which matched Match(IEntityInfo).

public ICommandSpec<T> Create<T>() where T : IEntity<T>

Returns

ICommandSpec<T>

Type Parameters

T

Match(IEntityInfo)

public bool Match(IEntityInfo metadata)

Parameters

metadata IEntityInfo

Returns

bool