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