diff --git a/docs/en/framework/infrastructure/features.md b/docs/en/framework/infrastructure/features.md index 06bd99a223..ef5d97bd91 100644 --- a/docs/en/framework/infrastructure/features.md +++ b/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()) + ); } } }