Skip to content
This repository was archived by the owner on Nov 7, 2018. It is now read-only.

Commit 777f816

Browse files
authored
Undo breaking change to OptionsWrapper (#255)
1 parent efbc558 commit 777f816

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

src/Microsoft.Extensions.Options/OptionsWrapper.cs

+10
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,19 @@ public OptionsWrapper(TOptions options)
2222
/// </summary>
2323
public TOptions Value { get; }
2424

25+
public void Add(string name, TOptions options)
26+
{
27+
throw new NotImplementedException();
28+
}
29+
2530
public TOptions Get(string name)
2631
{
2732
return Value;
2833
}
34+
35+
public bool Remove(string name)
36+
{
37+
throw new NotImplementedException();
38+
}
2939
}
3040
}

src/Microsoft.Extensions.Options/breakingchanges.netcore.json

-12
This file was deleted.

0 commit comments

Comments
 (0)