mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-23 05:52:45 +01:00
19 lines
373 B
C#
19 lines
373 B
C#
using Microsoft.Extensions.Options;
|
|
using Sieve.Models;
|
|
|
|
namespace SieveUnitTests
|
|
{
|
|
public class SieveOptionsAccessor : IOptions<SieveOptions>
|
|
{
|
|
public SieveOptions Value { get; }
|
|
|
|
public SieveOptionsAccessor()
|
|
{
|
|
Value = new SieveOptions()
|
|
{
|
|
ThrowExceptions = true
|
|
};
|
|
}
|
|
}
|
|
}
|