Example #1
0
 public static IEnumerable <CustomAssetCategoryPath> Convert(IEnumerable <ToolboxCategoryAttribute> attributes)
 {
     return(Enumerable.Select <ToolboxCategoryAttribute, CustomAssetCategoryPath>(attributes, (Func <ToolboxCategoryAttribute, CustomAssetCategoryPath>)(attribute => CustomAssetCategoryPath.Convert(attribute))));
 }
Example #2
0
 public static IEnumerable <CustomAssetCategoryPath> GetCustomAssetCategoryPaths(Type type)
 {
     return(CustomAssetCategoryPath.Convert(Enumerable.OfType <ToolboxCategoryAttribute>((IEnumerable)TypeUtilities.GetAttributes(type))));
 }