Esempio n. 1
0
 public virtual void Disable([NotNull] Type featureType)
 {
     Disable(GlobalFeatureNameAttribute.GetName(featureType));
 }
Esempio n. 2
0
 public virtual string GetFeatureName()
 {
     return(Name ?? GlobalFeatureNameAttribute.GetName(Type));
 }
Esempio n. 3
0
 public virtual bool IsEnabled([NotNull] Type featureType)
 {
     return(IsEnabled(GlobalFeatureNameAttribute.GetName(featureType)));
 }
Esempio n. 4
0
 public virtual TFeature GetFeature <TFeature>()
     where TFeature : GlobalFeature
 {
     return((TFeature)GetFeature(GlobalFeatureNameAttribute.GetName <TFeature>()));
 }