Table of Contents

Class DefaultCommandSpec<T>

Namespace
The.Web.Entities
Assembly
Instagile.Web.Client.dll
public class DefaultCommandSpec<T> : ICommandSpec<T>, ICommandSpec where T : IEntity<T>

Type Parameters

T
Inheritance
DefaultCommandSpec<T>
Implements
Inherited Members

Properties

Instance

public static DefaultCommandSpec<T> Instance { get; }

Property Value

DefaultCommandSpec<T>

Methods

CollectionCreateCommand(CommandContext, IEntitySet<T>)

public virtual Command CollectionCreateCommand(CommandContext context, IEntitySet<T> c)

Parameters

context CommandContext
c IEntitySet<T>

Returns

Command

CollectionRemoveCommand(CommandContext, IEntitySet<T>, T)

public virtual Command CollectionRemoveCommand(CommandContext context, IEntitySet<T> c, T e)

Parameters

context CommandContext
c IEntitySet<T>
e T

Returns

Command

DefineCollectionCommands(CommandContext)

public virtual IEnumerable<Func<IEntitySet<T>, Command>> DefineCollectionCommands(CommandContext context)

Parameters

context CommandContext

Returns

IEnumerable<Func<IEntitySet<T>, Command>>

DefineCollectionEntityCommands(CommandContext)

public virtual IEnumerable<Func<IEntitySet<T>, T, Command>> DefineCollectionEntityCommands(CommandContext context)

Parameters

context CommandContext

Returns

IEnumerable<Func<IEntitySet<T>, T, Command>>

DefineEntityCommands(CommandContext)

public virtual IEnumerable<Func<T, Command>> DefineEntityCommands(CommandContext context)

Parameters

context CommandContext

Returns

IEnumerable<Func<T, Command>>

DefineListCommands(CommandContext)

public virtual IEnumerable<Func<IEntityQuery<T>, Command>> DefineListCommands(CommandContext context)

Parameters

context CommandContext

Returns

IEnumerable<Func<IEntityQuery<T>, Command>>

DefineReferenceCommands(CommandContext)

public virtual IEnumerable<Func<IOwnedValue<T?>, Command>> DefineReferenceCommands(CommandContext context)

Parameters

context CommandContext

Returns

IEnumerable<Func<IOwnedValue<T>, Command>>

EntitySaveCommand(CommandContext, T)

public virtual Command EntitySaveCommand(CommandContext context, T e)

Parameters

context CommandContext
e T

Returns

Command

EntitySaveNewCommand(CommandContext, T)

public virtual Command EntitySaveNewCommand(CommandContext context, T e)

Parameters

context CommandContext
e T

Returns

Command

ListCreateCommand(CommandContext, IEntityQuery<T>)

public virtual Command ListCreateCommand(CommandContext context, IEntityQuery<T> e)

Parameters

context CommandContext
e IEntityQuery<T>

Returns

Command

Match(IEntityInfo)

public virtual bool Match(IEntityInfo t)

Parameters

t IEntityInfo

Returns

bool

ReferenceCreateCommand(CommandContext, IOwnedValue<T?>)

public virtual Command ReferenceCreateCommand(CommandContext context, IOwnedValue<T?> r)

Parameters

context CommandContext
r IOwnedValue<T>

Returns

Command

ReferenceDeleteCommand(CommandContext, IOwnedValue<T?>)

public virtual Command ReferenceDeleteCommand(CommandContext context, IOwnedValue<T?> r)

Parameters

context CommandContext
r IOwnedValue<T>

Returns

Command