Ejemplo n.º 1
0
 public void SetCommand(string inputCommand)
 {
     noteCommand = commandCreator.CreateCommand(this, inputCommand);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// set command to notebook provider
 /// </summary>
 /// <param name="inputCommand">string command from console</param>
 public void SetCommand(string inputCommand)
 {
     command = allCommand.CreateCommand(new NoteBookProvider(new CreateCommandAddNote(null)), inputCommand);   //!!!!!
 }