private BlockGoalController(BlockGoalModel blockGoalModel, IBlockMatchingEvent blockMatchingEvent) { _blockGoalModel = blockGoalModel; _blockMatchingEvent = blockMatchingEvent; _blockMatchingEvent.BlockMatchingEvent += BlockMatchingHandler; }
public static IBlockGoalController CreateBlockGoalController(BlockGoalModel blockGoalModel, IBlockMatchingEvent blockMatchingEvent) { return(BlockGoalController.Create(blockGoalModel, blockMatchingEvent)); }
public static IGoalController CreateGoalController(IBlockMatchingEvent blockMatchingEvent) { return(GoalController.Create(blockMatchingEvent)); }
private GoalController(IBlockMatchingEvent blockMatchingEvent) { BlockGoalsList = new List <IBlockGoal>(); _blockGoalControllers = new List <IBlockGoalController>(); _blockMatchingEvent = blockMatchingEvent; }