/// <summary> /// constructor /// </summary> public ReminderController( IReminderProcessor reminderProcessor, IReminderHistoryProcessor reminderHistoryProcessor ) { this.reminderProcessor = reminderProcessor; this.reminderHistoryProcessor = reminderHistoryProcessor; }
public ReminderSender(INotifier notifier, IReminderProcessor reminderProcessor) { this.notifier = notifier; this.timer = new Timer(30000); // 30 sec this.timer.Elapsed += new ElapsedEventHandler(OnTick); this.reminderProcessor = reminderProcessor; //this.reminderProcessor = reminderProcessor; //this.timeManager.OnTick += this.OnTick; }
/// <summary> /// Initializes a new instance of the <see cref="ReminderController"/> class. /// </summary> /// <param name="reminderRepository"> /// The reminder repository. /// </param> /// <param name="userRepository"> /// The user repository. /// </param> /// <param name="taskProcessor"> /// The task processor. /// </param> public ReminderController( IReminderRepository reminderRepository, IUserRepository userRepository, ITaskProcessor taskProcessor, IReminderProcessor reminderProcessor) { this.reminderRepository = reminderRepository; this.userRepository = userRepository; this.taskProcessor = taskProcessor; this.reminderProcessor = reminderProcessor; }
public ReminderService( IAuthorizationProcessor authorizationProcessor, IReminderProcessor reminderProcessor, IReminderHistoryProcessor reminderHistoryProcessor, ILogManager logManager ) { this.authorizationProcessor = authorizationProcessor; this.reminderProcessor = reminderProcessor; this.reminderHistoryProcessor = reminderHistoryProcessor; logger = logManager.GetLogger(typeof(ReminderService)); }
/// <summary> /// Initializes a new instance of the <see cref="TaskProcessor"/> class. /// </summary> /// <param name="humanTaskRepository"> /// The human task repository. /// </param> /// <param name="reminderProcessor"> /// The reminder repository. /// </param> /// <param name="userRepository"> /// The user repository. /// </param> public TaskProcessor(IHumanTaskRepository humanTaskRepository, IReminderProcessor reminderProcessor, IUserRepository userRepository) { this.humanTaskRepository = humanTaskRepository; this.reminderProcessor = reminderProcessor; this.userRepository = userRepository; }
/// <summary> /// Initializes a new instance of the <see cref="ProjectController"/> class. /// </summary> /// <param name="taskProcessor"> /// The task processor. /// </param> /// <param name="userProcessor"> /// The user processor. /// </param> /// <param name="projectProcessor"> /// The project processor. /// </param> /// <param name="notifier"> /// The notifier. /// </param> /// <param name="newsProcessor"> /// The news processor. /// </param> /// <param name="stringExtensions"> /// The string extensions. /// </param> /// <param name="reminderProcessor"> /// The reminder processor. /// </param> public ProjectController(ITaskProcessor taskProcessor, IUserProcessor userProcessor, IProjectProcessor projectProcessor, INotifier notifier, INewsProcessor newsProcessor, IStringExtensions stringExtensions, IReminderProcessor reminderProcessor) { this.projectProcessor = projectProcessor; this.notifier = notifier; this.taskProcessor = taskProcessor; this.userProcessor = userProcessor; this.newsProcessor = newsProcessor; this.stringExtensions = stringExtensions; this.reminderProcessor = reminderProcessor; }