ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.JsonNet Namespace / JsonResolver Class / CanResolve Method / CanResolve(String,Object,Type,IContext) Method
The name of the object.
The object value.
The object type.
The context.

In This Topic
    CanResolve(String,Object,Type,IContext) Method
    In This Topic
    Determines whether the object can use this resolver.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function CanResolve( _
       ByVal name As String, _
       ByVal value As Object, _
       ByVal type As Type, _
       ByVal context As IContext _
    ) As Boolean
    public override bool CanResolve( 
       string name,
       object value,
       Type type,
       IContext context
    )

    Parameters

    name
    The name of the object.
    value
    The object value.
    type
    The object type.
    context
    The context.

    Return Value

    A System.Boolean value indicates whether to be resovled. If true, it means the object can be resolved. Otherwise, the resolver cannot support this object.
    See Also