Method GetOrLoad
| Improve this Doc View SourceGetOrLoad(Boolean)
Gets or loads the resource.
Declaration
public T GetOrLoad(bool throwsExceptionIfFailed = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | throwsExceptionIfFailed | Indicates whether throws exception when loading resource failed. |
Returns
| Type | Description |
|---|---|
| T | The resource. |