PageHandlerModel Constructors

Definition

Overloads

PageHandlerModel(PageHandlerModel)

Creates a new instance of PageHandlerModel from a given PageHandlerModel.

PageHandlerModel(MethodInfo, IReadOnlyList<Object>)

Creates a new PageHandlerModel.

PageHandlerModel(PageHandlerModel)

Source:
PageHandlerModel.cs
Source:
PageHandlerModel.cs

Creates a new instance of PageHandlerModel from a given PageHandlerModel.

public:
 PageHandlerModel(Microsoft::AspNetCore::Mvc::ApplicationModels::PageHandlerModel ^ other);
public PageHandlerModel (Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel other);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel : Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel
Public Sub New (other As PageHandlerModel)

Parameters

other
PageHandlerModel

The PageHandlerModel which needs to be copied.

Applies to

PageHandlerModel(MethodInfo, IReadOnlyList<Object>)

Source:
PageHandlerModel.cs
Source:
PageHandlerModel.cs

Creates a new PageHandlerModel.

public:
 PageHandlerModel(System::Reflection::MethodInfo ^ handlerMethod, System::Collections::Generic::IReadOnlyList<System::Object ^> ^ attributes);
public PageHandlerModel (System.Reflection.MethodInfo handlerMethod, System.Collections.Generic.IReadOnlyList<object> attributes);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel : System.Reflection.MethodInfo * System.Collections.Generic.IReadOnlyList<obj> -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel
Public Sub New (handlerMethod As MethodInfo, attributes As IReadOnlyList(Of Object))

Parameters

handlerMethod
MethodInfo

The MethodInfo for the handler.

attributes
IReadOnlyList<Object>

Any attributes annotated on the handler method.

Applies to