Свойство | Тип | Описание | |
---|---|---|---|
EventsCausingChanges | List |
Метод | Описание | |
---|---|---|
Apply ( ITrustedSystemEvent eventThatHappened ) : void |
Make Aggregate realize the event happened by applying it to the state and adding to the list of uncommitted events
|
|
ArchiveAction ( ActionId actionId, ITimeProvider time ) : void | ||
ChangeActionOutcome ( ActionId actionId, string outcome, ITimeProvider time ) : void | ||
ChangeDescriptionOfStuff ( StuffId stuffId, string newDescriptionOfStuff, ITimeProvider time ) : void | ||
ChangeProjectOutcome ( ProjectId projectId, string outcome, ITimeProvider time ) : void | ||
ChangeProjectType ( ProjectId projectId, ProjectType type, ITimeProvider time ) : void | ||
CompleteAction ( ActionId actionId, ITimeProvider provider ) : void | ||
Create ( TrustedSystemId id ) : void | ||
DeferActionUntil ( ActionId actionId, System.DateTime newStartDate ) : void | ||
DefineAction ( RequestId requestId, ProjectId projectId, string outcome, ITimeProvider provider ) : void | ||
DefineProject ( RequestId requestId, string name, ITimeProvider provider ) : void | ||
DefineSingleActionProject ( RequestId requestId, StuffId stuffId, ITimeProvider provider ) : void | ||
InitIfNeeded ( TrustedSystemId id ) : void | ||
MoveActionsToProject ( IEnumerable |
||
MoveStuffToProject ( IEnumerable |
||
ProvideDueDateForAction ( ActionId actionId, System.DateTime newDueDate ) : void | ||
PutStuffInInbox ( RequestId requestId, string stuffDescription, ITimeProvider provider ) : void | ||
TrashStuff ( StuffId stuffId, ITimeProvider provider ) : void | ||
TrustedSystemAggregate ( |
Метод | Описание | |
---|---|---|
GetActionOrThrow ( ActionId id ) : |
||
GetProjectOrThrow ( ProjectId projectId ) : |
||
NewGuidIfEmpty ( RequestId requestId ) : System.Guid |
public Apply ( ITrustedSystemEvent eventThatHappened ) : void | ||
eventThatHappened | ITrustedSystemEvent | |
Результат | void |
public ArchiveAction ( ActionId actionId, ITimeProvider time ) : void | ||
actionId | ActionId | |
time | ITimeProvider | |
Результат | void |
public ChangeActionOutcome ( ActionId actionId, string outcome, ITimeProvider time ) : void | ||
actionId | ActionId | |
outcome | string | |
time | ITimeProvider | |
Результат | void |
public ChangeDescriptionOfStuff ( StuffId stuffId, string newDescriptionOfStuff, ITimeProvider time ) : void | ||
stuffId | StuffId | |
newDescriptionOfStuff | string | |
time | ITimeProvider | |
Результат | void |
public ChangeProjectOutcome ( ProjectId projectId, string outcome, ITimeProvider time ) : void | ||
projectId | ProjectId | |
outcome | string | |
time | ITimeProvider | |
Результат | void |
public ChangeProjectType ( ProjectId projectId, ProjectType type, ITimeProvider time ) : void | ||
projectId | ProjectId | |
type | ProjectType | |
time | ITimeProvider | |
Результат | void |
public CompleteAction ( ActionId actionId, ITimeProvider provider ) : void | ||
actionId | ActionId | |
provider | ITimeProvider | |
Результат | void |
public Create ( TrustedSystemId id ) : void | ||
id | TrustedSystemId | |
Результат | void |
public DeferActionUntil ( ActionId actionId, System.DateTime newStartDate ) : void | ||
actionId | ActionId | |
newStartDate | System.DateTime | |
Результат | void |
public DefineAction ( RequestId requestId, ProjectId projectId, string outcome, ITimeProvider provider ) : void | ||
requestId | RequestId | |
projectId | ProjectId | |
outcome | string | |
provider | ITimeProvider | |
Результат | void |
public DefineProject ( RequestId requestId, string name, ITimeProvider provider ) : void | ||
requestId | RequestId | |
name | string | |
provider | ITimeProvider | |
Результат | void |
public DefineSingleActionProject ( RequestId requestId, StuffId stuffId, ITimeProvider provider ) : void | ||
requestId | RequestId | |
stuffId | StuffId | |
provider | ITimeProvider | |
Результат | void |
public InitIfNeeded ( TrustedSystemId id ) : void | ||
id | TrustedSystemId | |
Результат | void |
public MoveActionsToProject ( IEnumerable |
||
actions | IEnumerable |
|
targetProject | ProjectId | |
timeUtc | System.DateTime | |
Результат | void |
public MoveStuffToProject ( IEnumerable |
||
stuffToMove | IEnumerable |
|
projectId | ProjectId | |
provider | ITimeProvider | |
Результат | void |
public ProvideDueDateForAction ( ActionId actionId, System.DateTime newDueDate ) : void | ||
actionId | ActionId | |
newDueDate | System.DateTime | |
Результат | void |
public PutStuffInInbox ( RequestId requestId, string stuffDescription, ITimeProvider provider ) : void | ||
requestId | RequestId | |
stuffDescription | string | |
provider | ITimeProvider | |
Результат | void |
public TrashStuff ( StuffId stuffId, ITimeProvider provider ) : void | ||
stuffId | StuffId | |
provider | ITimeProvider | |
Результат | void |
public TrustedSystemAggregate ( |
||
aggStateBeforeChanges | ||
Результат | System |