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

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

            CommandExcute = commandExcute;
            return(commandExcute);
        }
Ejemplo n.º 3
0
 public GitFile(string filePath, ICommandExcute commandExcute)
 {
     Path   = filePath;
     Header = commandExcute;
 }