private void print(LicenseFeatureInfo feature) { LicenseFeatureInfoState state = feature.state; String fState; if (LicenseFeatureInfoState.optional == state) { fState = "Optional"; } else if (LicenseFeatureInfoState.enabled == state) { fState = "Included"; } else if (LicenseFeatureInfoState.disabled == state) { fState = "Disabled"; } else { fState = "Edition"; } Console.WriteLine(" : F: " + feature.key + ", Cost: " + feature.costUnit + ", State: " + fState); }
private void print(LicenseFeatureInfo feature) { LicenseFeatureInfoState state = feature.state; String fState; if (LicenseFeatureInfoState.optional == state) { fState = "Optional"; } else if(LicenseFeatureInfoState.enabled == state) { fState = "Included"; } else if(LicenseFeatureInfoState.disabled == state) { fState = "Disabled"; } else { fState = "Edition"; } Console.WriteLine(" : F: " + feature.key + ", Cost: " + feature.costUnit + ", State: " + fState); }