C# Class _2012_10_07_domain_model_jw.Aggregates.DailyTask.DailyTaskAggregate

显示文件 Open project: beingtheworst/btw-samples-productivity Class Usage Examples

Public Properties

Property Type Description
Changes IList

Public Methods

Method Description
Apply ( IEvent e ) : void
AssignDailyTask ( DailyTaskId id, GoalId goalId, System.DateTime taskDate, string description, string user ) : void
CompleteDailyTask ( DailyTaskId id, System.DateTime completedTime ) : void
DailyTaskAggregate ( IEnumerable events, UserGoalIndex goalService ) : System
SetTaskMissed ( DailyTaskId id, System.DateTime taskDate ) : void
StartTask ( DailyTaskId id, System.DateTime timeStarted ) : void

Method Details

Apply() public method

public Apply ( IEvent e ) : void
e IEvent
return void

AssignDailyTask() public method

public AssignDailyTask ( DailyTaskId id, GoalId goalId, System.DateTime taskDate, string description, string user ) : void
id DailyTaskId
goalId GoalId
taskDate System.DateTime
description string
user string
return void

CompleteDailyTask() public method

public CompleteDailyTask ( DailyTaskId id, System.DateTime completedTime ) : void
id DailyTaskId
completedTime System.DateTime
return void

DailyTaskAggregate() public method

public DailyTaskAggregate ( IEnumerable events, UserGoalIndex goalService ) : System
events IEnumerable
goalService _2012_10_07_domain_model_jw.Projections.UserGoalIndex
return System

SetTaskMissed() public method

public SetTaskMissed ( DailyTaskId id, System.DateTime taskDate ) : void
id DailyTaskId
taskDate System.DateTime
return void

StartTask() public method

public StartTask ( DailyTaskId id, System.DateTime timeStarted ) : void
id DailyTaskId
timeStarted System.DateTime
return void

Property Details

Changes public_oe property

public IList Changes
return IList