PageConventionCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for