FriendlyUrlSegmentsValueProvider Constructor
.NET Framework 4.5
Namespace: Microsoft.AspNet.FriendlyUrls.ModelBinding
Assembly: Microsoft.AspNet.FriendlyUrls (in Microsoft.AspNet.FriendlyUrls.dll)
Syntax
'Declaration
Public Sub New ( _
modelBindingExecutionContext As ModelBindingExecutionContext, _
index As Integer _
)
'Usage
Dim modelBindingExecutionContext As ModelBindingExecutionContext
Dim index As Integer
Dim instance As New FriendlyUrlSegmentsValueProvider(modelBindingExecutionContext, _
index)
public FriendlyUrlSegmentsValueProvider(
ModelBindingExecutionContext modelBindingExecutionContext,
int index
)
public:
FriendlyUrlSegmentsValueProvider(
ModelBindingExecutionContext^ modelBindingExecutionContext,
int index
)
new :
modelBindingExecutionContext:ModelBindingExecutionContext *
index:int -> FriendlyUrlSegmentsValueProvider
public function FriendlyUrlSegmentsValueProvider(
modelBindingExecutionContext : ModelBindingExecutionContext,
index : int
)
Parameters
- modelBindingExecutionContext
Type: ModelBindingExecutionContext
- index
Type: System.Int32