コード例 #1
0
 public bool HasFeature(string feature)
 {
     return(BooleanFeatures.ContainsKey(feature) || StringFeatures.ContainsKey(feature));
 }
コード例 #2
0
 public void AddFeature(string feature)
 {
     BooleanFeatures.Add(feature, true);
     BooleanFeatureKeys.Add(feature);
 }