// Copyright (c) Microsoft Open Technologies, Inc. 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.AspNet.Mvc { /// /// A cached collection of . /// public class ActionDescriptorsCollection { /// /// Initializes a new instance of the . /// /// The result of action discovery /// The unique version of discovered actions. public ActionDescriptorsCollection([NotNull] IReadOnlyList items, int version) { Items = items; Version = version; } /// /// Returns the cached . /// public IReadOnlyList Items { get; private set; } /// /// Returns the unique version of the currently cached items. /// public int Version { get; private set; } } }