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