編輯

共用方式為


AwaiterExtensions.GetAwaiter Method

Definition

Overloads

GetAwaiter(WaitForUpdate)
GetAwaiter(IEnumerator)
GetAwaiter(AssetBundleCreateRequest)
GetAwaiter(AssetBundleRequest)
GetAwaiter(AsyncOperation)
GetAwaiter(ResourceRequest)
GetAwaiter(WaitForEndOfFrame)
GetAwaiter(WaitForFixedUpdate)
GetAwaiter(WaitForSeconds)
GetAwaiter(WaitForSecondsRealtime)
GetAwaiter(WaitUntil)
GetAwaiter(WaitWhile)
GetAwaiter<T>(IEnumerator<T>)

GetAwaiter(WaitForUpdate)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter GetAwaiter (this Microsoft.MixedReality.Toolkit.Utilities.WaitForUpdate instruction);
static member GetAwaiter : Microsoft.MixedReality.Toolkit.Utilities.WaitForUpdate -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter
<Extension()>
Public Function GetAwaiter (instruction As WaitForUpdate) As AwaiterExtensions.SimpleCoroutineAwaiter

Parameters

instruction
WaitForUpdate

Returns

Applies to

GetAwaiter(IEnumerator)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter<object> GetAwaiter (this System.Collections.IEnumerator coroutine);
static member GetAwaiter : System.Collections.IEnumerator -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter<obj>
<Extension()>
Public Function GetAwaiter (coroutine As IEnumerator) As AwaiterExtensions.SimpleCoroutineAwaiter(Of Object)

Parameters

coroutine
IEnumerator

Returns

Applies to

GetAwaiter(AssetBundleCreateRequest)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter<UnityEngine.AssetBundle> GetAwaiter (this UnityEngine.AssetBundleCreateRequest instruction);
static member GetAwaiter : UnityEngine.AssetBundleCreateRequest -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter<UnityEngine.AssetBundle>
<Extension()>
Public Function GetAwaiter (instruction As AssetBundleCreateRequest) As AwaiterExtensions.SimpleCoroutineAwaiter(Of AssetBundle)

Parameters

instruction
UnityEngine.AssetBundleCreateRequest

Returns

SimpleCoroutineAwaiter<UnityEngine.AssetBundle>

Applies to

GetAwaiter(AssetBundleRequest)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter<UnityEngine.Object> GetAwaiter (this UnityEngine.AssetBundleRequest instruction);
static member GetAwaiter : UnityEngine.AssetBundleRequest -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter<UnityEngine.Object>
<Extension()>
Public Function GetAwaiter (instruction As AssetBundleRequest) As AwaiterExtensions.SimpleCoroutineAwaiter(Of Object)

Parameters

instruction
UnityEngine.AssetBundleRequest

Returns

SimpleCoroutineAwaiter<UnityEngine.Object>

Applies to

GetAwaiter(AsyncOperation)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter<UnityEngine.AsyncOperation> GetAwaiter (this UnityEngine.AsyncOperation instruction);
static member GetAwaiter : UnityEngine.AsyncOperation -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter<UnityEngine.AsyncOperation>
<Extension()>
Public Function GetAwaiter (instruction As AsyncOperation) As AwaiterExtensions.SimpleCoroutineAwaiter(Of AsyncOperation)

Parameters

instruction
UnityEngine.AsyncOperation

Returns

SimpleCoroutineAwaiter<UnityEngine.AsyncOperation>

Applies to

GetAwaiter(ResourceRequest)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter<UnityEngine.Object> GetAwaiter (this UnityEngine.ResourceRequest instruction);
static member GetAwaiter : UnityEngine.ResourceRequest -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter<UnityEngine.Object>
<Extension()>
Public Function GetAwaiter (instruction As ResourceRequest) As AwaiterExtensions.SimpleCoroutineAwaiter(Of Object)

Parameters

instruction
UnityEngine.ResourceRequest

Returns

SimpleCoroutineAwaiter<UnityEngine.Object>

Applies to

GetAwaiter(WaitForEndOfFrame)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter GetAwaiter (this UnityEngine.WaitForEndOfFrame instruction);
static member GetAwaiter : UnityEngine.WaitForEndOfFrame -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter
<Extension()>
Public Function GetAwaiter (instruction As WaitForEndOfFrame) As AwaiterExtensions.SimpleCoroutineAwaiter

Parameters

instruction
UnityEngine.WaitForEndOfFrame

Returns

Applies to

GetAwaiter(WaitForFixedUpdate)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter GetAwaiter (this UnityEngine.WaitForFixedUpdate instruction);
static member GetAwaiter : UnityEngine.WaitForFixedUpdate -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter
<Extension()>
Public Function GetAwaiter (instruction As WaitForFixedUpdate) As AwaiterExtensions.SimpleCoroutineAwaiter

Parameters

instruction
UnityEngine.WaitForFixedUpdate

Returns

Applies to

GetAwaiter(WaitForSeconds)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter GetAwaiter (this UnityEngine.WaitForSeconds instruction);
static member GetAwaiter : UnityEngine.WaitForSeconds -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter
<Extension()>
Public Function GetAwaiter (instruction As WaitForSeconds) As AwaiterExtensions.SimpleCoroutineAwaiter

Parameters

instruction
UnityEngine.WaitForSeconds

Returns

Applies to

GetAwaiter(WaitForSecondsRealtime)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter GetAwaiter (this UnityEngine.WaitForSecondsRealtime instruction);
static member GetAwaiter : UnityEngine.WaitForSecondsRealtime -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter
<Extension()>
Public Function GetAwaiter (instruction As WaitForSecondsRealtime) As AwaiterExtensions.SimpleCoroutineAwaiter

Parameters

instruction
UnityEngine.WaitForSecondsRealtime

Returns

Applies to

GetAwaiter(WaitUntil)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter GetAwaiter (this UnityEngine.WaitUntil instruction);
static member GetAwaiter : UnityEngine.WaitUntil -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter
<Extension()>
Public Function GetAwaiter (instruction As WaitUntil) As AwaiterExtensions.SimpleCoroutineAwaiter

Parameters

instruction
UnityEngine.WaitUntil

Returns

Applies to

GetAwaiter(WaitWhile)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter GetAwaiter (this UnityEngine.WaitWhile instruction);
static member GetAwaiter : UnityEngine.WaitWhile -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter
<Extension()>
Public Function GetAwaiter (instruction As WaitWhile) As AwaiterExtensions.SimpleCoroutineAwaiter

Parameters

instruction
UnityEngine.WaitWhile

Returns

Applies to

GetAwaiter<T>(IEnumerator<T>)

public static Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter<T> GetAwaiter<T> (this System.Collections.Generic.IEnumerator<T> coroutine);
static member GetAwaiter : System.Collections.Generic.IEnumerator<'T> -> Microsoft.MixedReality.Toolkit.Utilities.AwaiterExtensions.SimpleCoroutineAwaiter<'T>
<Extension()>
Public Function GetAwaiter(Of T) (coroutine As IEnumerator(Of T)) As AwaiterExtensions.SimpleCoroutineAwaiter(Of T)

Type Parameters

T

Parameters

coroutine
IEnumerator<T>

Returns

Applies to