Sieve/SieveUnitTests/Services/SieveOptionsAccessor.cs
2018-05-15 00:34:37 +01:00

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
};
}
}
}