Dela via


PageConventionCollection Constructors

Definition

Overloads

PageConventionCollection()

Initializes a new instance of the PageConventionCollection class that is empty.

PageConventionCollection(IList<IPageConvention>)

Initializes a new instance of the PageConventionCollection class as a wrapper for the specified list.

PageConventionCollection()

Source:
PageConventionCollection.cs
Source:
PageConventionCollection.cs
Source:
PageConventionCollection.cs

Initializes a new instance of the PageConventionCollection class that is empty.

public:
 PageConventionCollection();
public PageConventionCollection ();
Public Sub New ()

Applies to

PageConventionCollection(IList<IPageConvention>)

Source:
PageConventionCollection.cs
Source:
PageConventionCollection.cs
Source:
PageConventionCollection.cs

Initializes a new instance of the PageConventionCollection class as a wrapper for the specified list.

public:
 PageConventionCollection(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ApplicationModels::IPageConvention ^> ^ conventions);
public PageConventionCollection (System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention> conventions);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention> -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection
Public Sub New (conventions As IList(Of IPageConvention))

Parameters

conventions
IList<IPageConvention>

The list that is wrapped by the new collection.

Applies to