// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; namespace Microsoft.AspNetCore.Routing.Matchers { public readonly struct PolicyNodeEdge { public PolicyNodeEdge(object state, IReadOnlyList endpoints) { State = state ?? throw new System.ArgumentNullException(nameof(state)); Endpoints = endpoints ?? throw new System.ArgumentNullException(nameof(endpoints)); } public IReadOnlyList Endpoints { get; } public object State { get; } } }