private static bool Where(Type t) { ModuleArribute customAttribute = t.GetCustomAttribute <ModuleArribute>(); if (customAttribute != null) { return(!customAttribute.Disable); } return(true); }
private static int GetOrder(Type t) { ModuleArribute customAttribute = t.GetCustomAttribute <ModuleArribute>(); if (customAttribute != null) { return(customAttribute.Order); } return(0); }