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

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

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