Method CanProvide
CanProvide(Type, IResourceLocation)
Determine if this provider can provide the specified object type from the specified location.
Declaration
public virtual bool CanProvide(Type t, IResourceLocation location)
Parameters
Type | Name | Description |
---|---|---|
Type | t | |
IResourceLocation | location | The resource location of the object. |
Returns
Type | Description |
---|---|
Boolean | True if this provider can create the specified object. |