private bool NotHidden(ICraneCommand arg) { return(arg.GetType().GetCustomAttribute <HiddenCommandAttribute>() == null); }
public static string Name(this ICraneCommand value) { return(value.GetType().Name.ToLowerInvariant()); }
private bool NotHidden(ICraneCommand arg) { return(arg.GetType().GetCustomAttribute <HiddenCommandAttribute>() == null); }
public static string Name(this ICraneCommand value) { return(value.GetType().Name.ToLowerInvariant()); }