From 2337fe8afb319543eccd53fd659a56689d15a571 Mon Sep 17 00:00:00 2001 From: Michael Schnerring <3743342+schnerring@users.noreply.github.com> Date: Mon, 10 Mar 2025 20:28:28 +0100 Subject: [PATCH] chore: fix small mistake in parameters docs sample --- docs/02-fundamentals/06-parameters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/02-fundamentals/06-parameters.md b/docs/02-fundamentals/06-parameters.md index 318391bc1..9fdfc32e0 100644 --- a/docs/02-fundamentals/06-parameters.md +++ b/docs/02-fundamentals/06-parameters.md @@ -15,7 +15,7 @@ readonly string MyParameter; You can set default values for parameters as you would normally do through field and property initializers. You can also use static [build base properties](04-builds.md#base-properties) like `IsLocalBuild` or `IsServerBuild` for environmental adjustments: ```csharp -[Parameters] +[Parameter] readonly Configuration Configuration = IsServerBuild ? Configuration.Release : Configuration.Debug;