예제 #1
0
 public Command FindInType(Type type)
 {
     var typeInfo = new CommandTypeWrapper(type);
     return new Command(typeInfo.Name, typeInfo.Description, typeInfo.LinkedToType);
 }
예제 #2
0
        public Command FindInType(Type type)
        {
            var typeInfo = new CommandTypeWrapper(type);

            return(new Command(typeInfo.Name, typeInfo.Description, typeInfo.RouteBase, typeInfo.LinkedToType));
        }