Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Transaction"/> class.
        /// </summary>
        /// <param name="todoistClient">The client.</param>
        internal Transaction(IAdvancedTodoistClient todoistClient)
        {
            _todoistClient = todoistClient;
            _commands      = new LinkedList <Command>();

            Project       = new ProjectsCommandService(_commands);
            Notes         = new NotesCommandService(_commands);
            Items         = new ItemsCommandService(_commands);
            Labels        = new LabelsCommandService(_commands);
            Notifications = new NotificationsCommandService(_commands);
            Filters       = new FiltersCommandService(_commands);
            Reminders     = new ReminersCommandService(_commands);
            Users         = new UsersCommandService(_commands);
            Sharing       = new SharingCommandService(_commands);
        }
Exemple #2
0
 internal LabelsService(IAdvancedTodoistClient todoistClient)
     : base(todoistClient)
 {
 }
Exemple #3
0
 internal UsersCommandService(IAdvancedTodoistClient todoistClient)
     : base(todoistClient)
 {
 }
Exemple #4
0
 internal ProjectsService(IAdvancedTodoistClient todoistClient)
     : base(todoistClient)
 {
 }
 internal NotificationsCommandService(IAdvancedTodoistClient todoistClient)
     : base(todoistClient)
 {
 }
 public TemplateService(IAdvancedTodoistClient todoistClient)
 {
     _todoistClient = todoistClient;
 }
Exemple #7
0
 internal ActivityService(IAdvancedTodoistClient todoistClient)
 {
     _todoistClient = todoistClient;
 }
Exemple #8
0
 internal UploadService(IAdvancedTodoistClient todoistClient)
 {
     _todoistClient = todoistClient;
 }
Exemple #9
0
 public SharingService(IAdvancedTodoistClient todoistClient)
     : base(todoistClient)
 {
 }
Exemple #10
0
 internal RemindersService(IAdvancedTodoistClient todoistClient)
     : base(todoistClient)
 {
 }
Exemple #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ItemsService"/> class.
 /// </summary>
 /// <param name="todoistClient">The todoist client.</param>
 internal ItemsService(IAdvancedTodoistClient todoistClient)
     : base(todoistClient)
 {
 }
 internal SectionService(IAdvancedTodoistClient todoistClient)
     : base(todoistClient)
 {
 }
Exemple #13
0
 internal BackupService(IAdvancedTodoistClient todoistClient)
 {
     _todoistClient = todoistClient;
 }
 internal SharingCommandService(IAdvancedTodoistClient todoistClient)
     : base(todoistClient)
 {
 }
 internal CommandServiceBase(IAdvancedTodoistClient todoistClient)
 {
     TodoistClient = todoistClient;
 }
 public NotificationsService(IAdvancedTodoistClient todoistClient)
     : base(todoistClient)
 {
 }
 protected CommandServiceBase(IAdvancedTodoistClient todoistClient)
 {
     TodoistClient = todoistClient;
 }
 internal FiltersService(IAdvancedTodoistClient todoistClient)
     : base(todoistClient)
 {
 }
Exemple #19
0
 internal EmailService(IAdvancedTodoistClient todoistClient)
 {
     _todoistClient = todoistClient;
 }