public static IList <ValidatorWhitelistedNamespace> GetWhitelistedNamespaces() { if (currentProvider_ == null) { return(AssetDatabaseUtil.AllAssetsOfType <ValidatorWhitelistedNamespace>()); } return(currentProvider_.Invoke()); }
public static IList <ValidatorBlacklistedClass> GetBlacklistedClasses() { if (currentProvider_ == null) { return(AssetDatabaseUtil.AllAssetsOfType <ValidatorBlacklistedClass>()); } return(currentProvider_.Invoke()); }
public static IList <ValidatorIgnoredAssetPath> GetIgnoredAssetPaths() { if (currentProvider_ == null) { return(AssetDatabaseUtil.AllAssetsOfType <ValidatorIgnoredAssetPath>() .Where(config => config.Enabled).ToList()); } return(currentProvider_.Invoke()); }