mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-25 06:43:34 +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
|
|
};
|
|
}
|
|
}
|
|
}
|