// 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; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Primitives; namespace Microsoft.AspNetCore.Routing { /// /// Provides a collection of instances. /// public abstract class EndpointDataSource { /// /// Gets a used to signal invalidation of cached /// instances. /// /// The . public abstract IChangeToken GetChangeToken(); /// /// Returns a read-only collection of instances. /// public abstract IReadOnlyList Endpoints { get; } } }