Example #1
0
        public T Accept <T>(CommandConverter <T> converter) where T : ICommandExcute
        {
            var commandExcute = converter.ConvertFileSearchKey(this);

            CommandExcute = commandExcute;
            return(commandExcute);
        }
Example #2
0
        public T Accept <T>(CommandConverter <T> converter) where T : ICommandExcute
        {
            var commandExcute = converter.ConvertContentRemoveKey(this);

            CommandExcute = commandExcute;
            return(commandExcute);
        }
Example #3
0
 public GitFile(string filePath, ICommandExcute commandExcute)
 {
     Path   = filePath;
     Header = commandExcute;
 }