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
parent
commit
cde5845ab6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 12
      docs/en/framework/infrastructure/features.md

12
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())
);
}
}
}

Loading…
Cancel
Save