Example #1
0
 public AddCommand(IWordContainer container, ICoder coder, IAppSettings appSettings)
 {
     _customName  = "add";
     _container   = container;
     _coder       = coder;
     _appSettings = appSettings;
 }
Example #2
0
        public ClearCommand(IOutput output, IWordContainer container, IAppSettings appsettings)
        {
            _customName = "clear";

            _output      = output;
            _container   = container;
            _appSettings = appsettings;
        }
Example #3
0
 public GetCommand(IOutput output, IWordContainer container, ICoder coder, IAppSettings appSettings)
 {
     _customName  = "get";
     _output      = output;
     _container   = container;
     _coder       = coder;
     _appSettings = appSettings;
 }
Example #4
0
    public PhraseEventArgs(IWordContainer phraseContainer)
    {
        //PhraseData = phraseContainer.PhraseData;
        PhraseContainer = phraseContainer;

        Phrase = new PhraseSequence();
        Phrase.Add(phraseContainer.Word); //PhraseData.GetPhraseSequence().PhraseElements[0]);
    }
Example #5
0
 public SaveCommand(IWordContainer container, ICoder coder,
                    IAppSettings appSettings, IFileAction fileAction)
 {
     _customName  = "save";
     _container   = container;
     _coder       = coder;
     _appSettings = appSettings;
     _fileAction  = fileAction;
 }
Example #6
0
 public FileLoaderCommand(IWordContainer container,
                          IFileAction fileAction, ICoder coder, IAppSettings appSettings)
 {
     _customName  = "load";
     _container   = container;
     _fileAction  = fileAction;
     _coder       = coder;
     _appSettings = appSettings;
 }
Example #7
0
 public RemoveCommand(IOutput output, IWordContainer container)
 {
     _customName = "rm";
     _output     = output;
     _container  = container;
 }
Example #8
0
 public ShowCommand(IOutput output, IWordContainer container)
 {
     _customName = "show";
     _output     = output;
     _container  = container;
 }