示例#1
0
 public AddCommand(TaskArgsConverter converter, TextWriter textWriter, IClient client)
 {
     this.converter  = converter;
     this.textWriter = textWriter;
     this.client     = client;
     Description     = "Adds new task to server.";
 }
示例#2
0
 public ClearDateCommand(TaskArgsConverter converter, TextWriter textWriter, IClient client)
 {
     this.converter  = converter;
     this.textWriter = textWriter;
     this.client     = client;
     Description     = "Clears due date for specified task by ID.";
 }
示例#3
0
 public CompleteCommand(TaskArgsConverter converter, TextWriter textWriter, IClient client)
 {
     this.converter  = converter;
     this.textWriter = textWriter;
     this.client     = client;
     Description     = "Mark task by ID as completed.";
 }
示例#4
0
 public SetDateCommand(TaskArgsConverter converter, TextWriter textWriter, IClient client)
 {
     this.converter = converter;
     this.textWriter = textWriter;
     this.client = client;
     Description = "Sets due date for task, specified by ID.";
 }
 public CompleteCommand(TaskArgsConverter converter, TextWriter textWriter, IClient client)
 {
     this.converter = converter;
     this.textWriter = textWriter;
     this.client = client;
     Description = "Mark task by ID as completed.";
 }
示例#6
0
 public SetDateCommand(TaskArgsConverter converter, TextWriter textWriter, IClient client)
 {
     this.converter  = converter;
     this.textWriter = textWriter;
     this.client     = client;
     Description     = "Sets due date for task, specified by ID.";
 }
 public ClearDateCommand(TaskArgsConverter converter, TextWriter textWriter, IClient client)
 {
     this.converter = converter;
     this.textWriter = textWriter;
     this.client = client;
     Description = "Clears due date for specified task by ID.";
 }
示例#8
0
 public AddCommand(TaskArgsConverter converter, TextWriter textWriter, IClient client)
 {
     this.converter = converter;
     this.textWriter = textWriter;
     this.client = client;
     Description = "Adds new task to server.";
 }
示例#9
0
 public RenameCommand(TaskArgsConverter converter, TextWriter textWriter, IClient client)
 {
     this.converter  = converter;
     this.textWriter = textWriter;
     this.client     = client;
     Description     = "Renames task, specified by ID.";
 }
示例#10
0
        public ListCommand(TaskArgsConverter converter, TextWriter textWriter,
            IClient client, ITaskFormatterFactory factory)
        {
            Description = "Displays list of all tasks or single task, specified by ID.";
            this.converter = converter;
            this.textWriter = textWriter;

            this.client = client;
            this.factory = factory;
        }
示例#11
0
        public ListCommand(TaskArgsConverter converter, TextWriter textWriter,
                           IClient client, ITaskFormatterFactory factory)
        {
            Description     = "Displays list of all tasks or single task, specified by ID.";
            this.converter  = converter;
            this.textWriter = textWriter;

            this.client  = client;
            this.factory = factory;
        }