public virtual string GetFeatureName() { return(Name ?? GlobalFeatureNameAttribute.GetName(Type)); }
public virtual bool IsEnabled <TFeature>() where TFeature : GlobalFeature { return(IsEnabled(GlobalFeatureNameAttribute.GetName <TFeature>())); }
public virtual bool IsEnabled(Type featureType) { return(IsEnabled(GlobalFeatureNameAttribute.GetName(featureType))); }
public virtual TFeature GetFeature <TFeature>() where TFeature : GlobalFeature { return((TFeature)GetFeature(GlobalFeatureNameAttribute.GetName <TFeature>())); }