Ejemplo n.º 1
0
        private static IEnumerable <DashboardControllerAttribute> GetChildrenControllerAttributes(
            IEnumerable <DashboardControllerAttribute> dashboardControllerAttributes
            , DashboardControllerType parentControllerType)
        {
            var childControllerAttributes = dashboardControllerAttributes
                                            .Where(x => x.ParentControllerType == parentControllerType);

            return(childControllerAttributes);
        }
Ejemplo n.º 2
0
 public DashboardControllerAttribute(
     DashboardControllerType name
     , DashboardControllerType parentControllerType = DashboardControllerType.Independent
     , int sortOrder        = 1
     , string iconClassName = "-")
 {
     Name                 = name;
     SortOrder            = sortOrder;
     ParentControllerType = parentControllerType;
     IconClassName        = iconClassName;
 }