mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 13:32:33 +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
|
|
};
|
|
}
|
|
}
|
|
}
|