mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 21:42:38 +01:00
27 lines
498 B
C#
27 lines
498 B
C#
|
using Microsoft.Extensions.Options;
|
|||
|
using Sieve.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace SieveUnitTests
|
|||
|
{
|
|||
|
public class SieveOptionsAccessor : IOptions<SieveOptions>
|
|||
|
{
|
|||
|
private SieveOptions _value;
|
|||
|
|
|||
|
public SieveOptions Value
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return _value;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public SieveOptionsAccessor()
|
|||
|
{
|
|||
|
_value = new SieveOptions();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|