Interface IUnitOfWorkService
Provides a basic container to control how the IUnitOfWork<TAuthenticationToken> is accessed.
Namespace: Cqrs.Services
Assembly: Cqrs.dll
Syntax
public interface IUnitOfWorkService
Methods
Commit(Object)
Commits the UnitOfWork if the provided commiter
is the Committer.
Declaration
bool Commit(object commiter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | commiter |
Returns
Type | Description |
---|---|
System.Boolean | true if the provided |
SetCommitter(Object)
Informs the service of the object that will be committing the UnitOfWork.
Declaration
bool SetCommitter(object commiter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | commiter |
Returns
Type | Description |
---|---|
System.Boolean | true if the provided |