DefaultParameterResolver.ResolveParameter Method
.NET Framework 4
Resolves a parameter value based on the provided object.
Namespace: Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Overridable Function ResolveParameter ( _
descriptor As ParameterDescriptor, _
value As IJsonValue _
) As Object
'Usage
Dim instance As DefaultParameterResolver
Dim descriptor As ParameterDescriptor
Dim value As IJsonValue
Dim returnValue As Object
returnValue = instance.ResolveParameter(descriptor, _
value)
public virtual Object ResolveParameter(
ParameterDescriptor descriptor,
IJsonValue value
)
public:
virtual Object^ ResolveParameter(
ParameterDescriptor^ descriptor,
IJsonValue^ value
)
abstract ResolveParameter :
descriptor:ParameterDescriptor *
value:IJsonValue -> Object
override ResolveParameter :
descriptor:ParameterDescriptor *
value:IJsonValue -> Object
public function ResolveParameter(
descriptor : ParameterDescriptor,
value : IJsonValue
) : Object
Parameters
- descriptor
Type: Microsoft.AspNet.SignalR.Hubs.ParameterDescriptor
The parameter descriptor.
- value
Type: Microsoft.AspNet.SignalR.Json.IJsonValue
The value to resolve the parameter value from.
Return Value
Type: System.Object
The parameter value.