[]
Gets a Resource using a specified ResourceInfo.
public abstract Resource GetResource(ResourceInfo resourceInfo)
Type | Name | Description |
---|---|---|
ResourceInfo | resourceInfo | The ResourceInfo object containing information about the resource to be located. |
Type | Description |
---|---|
Resource | A Resource object that contains the located resource. |
Gets a Resource using a specified ResourceInfo and IServiceProvider.
public virtual Resource GetResource(ResourceInfo resourceInfo, IServiceProvider serviceProvider)
Type | Name | Description |
---|---|---|
ResourceInfo | resourceInfo | A ResourceInfo object containing information about the resource to be located. |
IServiceProvider | serviceProvider | A IServiceProvider object to use to get the resource. |
Type | Description |
---|---|
Resource | A Resource object that contains the located resource. |