File: TestOptionsManager.cs | Web Access |
Project: src\src\Antiforgery\test\Microsoft.AspNetCore.Antiforgery.Test.csproj (Microsoft.AspNetCore.Antiforgery.Test) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.Options; namespace Microsoft.AspNetCore.Antiforgery; public class TestOptionsManager : IOptions<AntiforgeryOptions> { public TestOptionsManager() { } public TestOptionsManager(AntiforgeryOptions options) { Value = options; } public AntiforgeryOptions Value { get; set; } = new AntiforgeryOptions(); } |