C# Класс ICSharpCode.NRefactory.CSharp.Resolver.AwaitResolveResult

Represents the result of an await expression.
Наследование: ResolveResult
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
AwaiterType IType
GetAwaiterInvocation ResolveResult
GetResultMethod IMethod
IsCompletedProperty IProperty
OnCompletedMethod IMethod

Открытые методы

Метод Описание
AwaitResolveResult ( IType resultType, ResolveResult getAwaiterInvocation, IType awaiterType, IProperty isCompletedProperty, IMethod onCompletedMethod, IMethod getResultMethod ) : System
GetChildResults ( ) : IEnumerable

Описание методов

AwaitResolveResult() публичный Метод

public AwaitResolveResult ( IType resultType, ResolveResult getAwaiterInvocation, IType awaiterType, IProperty isCompletedProperty, IMethod onCompletedMethod, IMethod getResultMethod ) : System
resultType IType
getAwaiterInvocation ResolveResult
awaiterType IType
isCompletedProperty IProperty
onCompletedMethod IMethod
getResultMethod IMethod
Результат System

GetChildResults() публичный Метод

public GetChildResults ( ) : IEnumerable
Результат IEnumerable

Описание свойств

AwaiterType публичное свойство

Awaiter type. Will not be null (but can be UnknownType).
public IType AwaiterType
Результат IType

GetAwaiterInvocation публичное свойство

The method representing the GetAwaiter() call. Can be an InvocationResolveResult or a DynamicInvocationResolveResult.
public ResolveResult GetAwaiterInvocation
Результат ResolveResult

GetResultMethod публичное свойство

Method representing the GetResult method on the awaiter type. Can be null if the awaiter type or the method was not found, or when awaiting a dynamic expression.
public IMethod GetResultMethod
Результат IMethod

IsCompletedProperty публичное свойство

Property representing the IsCompleted property on the awaiter type. Can be null if the awaiter type or the property was not found, or when awaiting a dynamic expression.
public IProperty IsCompletedProperty
Результат IProperty

OnCompletedMethod публичное свойство

Method representing the OnCompleted method on the awaiter type. Can be null if the awaiter type or the method was not found, or when awaiting a dynamic expression. This can also refer to an UnsafeOnCompleted method, if the awaiter type implements System.Runtime.CompilerServices.ICriticalNotifyCompletion.
public IMethod OnCompletedMethod
Результат IMethod