Пример #1
0
 public static IEnumerable <FeatureProvider> CreateFeatureProviders(this FeatureManager source, Type featureProviderType, ModelItem item)
 {
     if (source == null)
     {
         throw new ArgumentNullException("source");
     }
     if (featureProviderType == null)
     {
         throw new ArgumentNullException("featureProviderType");
     }
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     return(source.CreateFeatureProviders(featureProviderType, item.ItemType));
 }