Method CreateResource
CreateResource(ResourceManager)
When overridden in a derived class, creates a new resource of type
TResource
.
public abstract TResource CreateResource(ResourceManager resourceManager)
Parameters
resourceManager
ResourceManagerThe ResourceManager object onto which this resource will be loaded. The resource manager can be accessed to load additional resource dependencies which may be required to create the new resource.
Returns
- TResource
A new instance of type
TResource
.