[]
Determines whether the object can use this resolver.
public virtual bool CanResolve(string name, object value, Type type, IContext context)
Type | Name | Description |
---|---|---|
string | name | The name of the object. |
object | value | The object value. |
Type | type | The object type. |
IContext | context | The context. |
Type | Description |
---|---|
bool | A bool value indicates whether to be resovled. If true, it means the object can be resolved. Otherwise, the resolver cannot support this object. |