Interface IAggregateSearch
- Namespace
- InSite.Application.Logs.Read
- Assembly
- Shift.Sdk.dll
public interface IAggregateSearch
- Extension Methods
-
Methods
Get(IEnumerable<Guid>)
SerializedAggregate[] Get(IEnumerable<Guid> aggregateIds)
Parameters
aggregateIds IEnumerable<Guid>
Returns
- SerializedAggregate[]
Get(Guid)
SerializedAggregate Get(Guid aggregateId)
Parameters
aggregateId Guid
Returns
- SerializedAggregate
GetByClass(Guid, string[])
SerializedAggregate[] GetByClass(Guid organizationId, string[] classes)
Parameters
organizationId Guid
classes string[]
Returns
- SerializedAggregate[]
GetByOrganization(Guid)
SerializedAggregate[] GetByOrganization(Guid organization)
Parameters
organization Guid
Returns
- SerializedAggregate[]
GetByType(string, Guid?)
SerializedAggregate[] GetByType(string type, Guid? organization)
Parameters
type string
organization Guid?
Returns
- SerializedAggregate[]
GetGhosts()
SerializedAggregate[] GetGhosts()
Returns
- SerializedAggregate[]
GetState<T>(Guid)
AggregateState GetState<T>(Guid id) where T : AggregateRoot
Parameters
id Guid
Returns
- AggregateState
Type Parameters
T
GetState<AggregateType, StateType>(Guid)
StateType GetState<AggregateType, StateType>(Guid id) where AggregateType : AggregateRoot where StateType : AggregateState
Parameters
id Guid
Returns
- StateType
Type Parameters
AggregateType
StateType