Show / Hide Table of Contents

Method GetOrLoad

| Improve this Doc View Source

GetOrLoad(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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest