ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.Web.Mvc.Serialization Namespace / BaseResolver Class / CanResolve Method
The name of the object.
The object value.
The object type.
The context.

In This Topic
    CanResolve Method (BaseResolver)
    In This Topic
    Determines whether the object can use this resolver.
    Syntax
    'Declaration
     
    Public Overridable Function CanResolve( _
       ByVal name As String, _
       ByVal value As Object, _
       ByVal type As Type, _
       ByVal context As IContext _
    ) As Boolean
    public virtual 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