public Command FindInType(Type type) { var typeInfo = new CommandTypeWrapper(type); return new Command(typeInfo.Name, typeInfo.Description, typeInfo.LinkedToType); }
public Command FindInType(Type type) { var typeInfo = new CommandTypeWrapper(type); return(new Command(typeInfo.Name, typeInfo.Description, typeInfo.RouteBase, typeInfo.LinkedToType)); }