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

Commit f3e8288

Browse files
committed
React to options
1 parent c3290a0 commit f3e8288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Framework.WebEncoders/EncoderServiceCollectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ private static Func<IServiceProvider, T> CreateFactory<T>(
4444
return serviceProvider =>
4545
{
4646
var codePointFilter = serviceProvider?.GetService<IOptions<WebEncoderOptions>>()?
47-
.Options?
47+
.Value?
4848
.CodePointFilter;
4949
return (codePointFilter != null) ? customFilterFactory(codePointFilter) : defaultFactory();
5050
};

0 commit comments

Comments
 (0)