Browse Source
Merge pull request #21605 from abpframework/auto-merge/rel-9-0/3290
Merge branch dev with rel-9.0
pull/21606/head
maliming
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
10 additions and
2 deletions
-
docs/en/framework/infrastructure/features.md
|
|
|
@ -161,8 +161,16 @@ namespace FeaturesDemo |
|
|
|
{ |
|
|
|
var myGroup = context.AddGroup("MyApp"); |
|
|
|
|
|
|
|
myGroup.AddFeature("MyApp.PdfReporting", defaultValue: "false"); |
|
|
|
myGroup.AddFeature("MyApp.MaxProductCount", defaultValue: "10"); |
|
|
|
myGroup.AddFeature( |
|
|
|
"MyApp.PdfReporting", |
|
|
|
defaultValue: "false" |
|
|
|
); |
|
|
|
|
|
|
|
myGroup.AddFeature( |
|
|
|
"MyApp.MaxProductCount", |
|
|
|
defaultValue: "10", |
|
|
|
valueType: new FreeTextStringValueType(new NumericValueValidator()) |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|