From 4ee26c05a7f7108817755548d6a8111b413efe69 Mon Sep 17 00:00:00 2001 From: Mumtaz Ali Shah Date: Fri, 28 Jan 2022 15:25:24 +0500 Subject: [PATCH] "Position" is a field, not property (#24786) --- aspnetcore/includes/bind6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/includes/bind6.md b/aspnetcore/includes/bind6.md index f8143fc5bc..3971836041 100644 --- a/aspnetcore/includes/bind6.md +++ b/aspnetcore/includes/bind6.md @@ -18,7 +18,7 @@ An options class: * Must be non-abstract with a public parameterless constructor. * All public read-write properties of the type are bound. -* Fields are ***not*** bound. In the preceding code, `Position` is not bound. The `Position` property is used so the string `"Position"` doesn't need to be hard coded in the app when binding the class to a configuration provider. +* Fields are ***not*** bound. In the preceding code, `Position` is not bound. The `Position` field is used so the string `"Position"` doesn't need to be hard coded in the app when binding the class to a configuration provider. The following code: