ActionDescriptorsCollection Class

Summary

A cached collection of [Microsoft.AspNet.Mvc.ActionDescriptor]().

Syntax

public class ActionDescriptorsCollection

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ActionDescriptorsCollection

Constructors

ActionDescriptorsCollection(System.Collections.Generic.IReadOnlyList<Microsoft.AspNet.Mvc.ActionDescriptor>, System.Int32)

Initializes a new instance of the [Microsoft.AspNet.Mvc.ActionDescriptorsCollection](Microsoft.AspNet.Mvc.ActionDescriptorsCollection.yml).

Arguments:
  • items (System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.ActionDescriptor}) – The result of action discovery
  • version (System.Int32) – The unique version of discovered actions.
public ActionDescriptorsCollection(IReadOnlyList<ActionDescriptor> items, int version)

Properties

Items()

Returns the cached [System.Collections.Generic.IReadOnlyList`1]().

Return type:System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.ActionDescriptor}
public IReadOnlyList<ActionDescriptor> Items { get; }
Version()

Returns the unique version of the currently cached items.

Return type:System.Int32
public int Version { get; }