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