C# 클래스 ICSharpCode.NRefactory.CSharp.Resolver.AwaitResolveResult

Represents the result of an await expression.
상속: ResolveResult
파일 보기 프로젝트 열기: 0xd4d/NRefactory

공개 프로퍼티들

프로퍼티 타입 설명
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