예제 #1
0
 /// <summary>
 /// Get a list of options for a specified feature.
 /// </summary>
 /// <param name="feature">The feature whose options will be retrieved</param>
 /// <returns></returns>
 private List <IPrintSchemaOption> GetCachedFeatureOptions(string feature)
 {
     if (false == featureOptions.ContainsKey(feature))
     {
         // The first time this feature's options are retrieved, cache a copy of the list
         featureOptions[feature] = Capabilities.GetOptions(Capabilities.GetFeatureByKeyName(feature)).ToList();
     }
     return(featureOptions[feature]);
 }