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