Skip to content

Commit cbdbc52

Browse files
committed
Update README.md
1 parent 9458b33 commit cbdbc52

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ public sealed class Configuration
174174
public string Value { get; set; } = string.Empty; // overriden from config
175175
}
176176

177+
// appsettings.json:
178+
{
179+
"DigitalRuby.SimpleDi.Tests.Configuration": { Value: "test" }
180+
}
181+
177182
// instead of the default configuration path which is namespace.classname, you can override:
178183
[Configuration("myconfig")]
179184
public sealed class Configuration

0 commit comments

Comments
 (0)