C# Class ICSharpCode.NRefactory.CSharp.Resolver.DynamicInvocationResolveResult

Represents the result of an invocation of a member of a dynamic object.
Inheritance: ResolveResult
Show file Open project: 0xd4d/NRefactory

Public Properties

Property Type Description
Arguments IList
InitializerStatements IList
InvocationType DynamicInvocationType
Target ResolveResult

Public Methods

Method Description
DynamicInvocationResolveResult ( ResolveResult target, DynamicInvocationType invocationType, IList arguments, IList initializerStatements = null ) : System.Collections.Generic
ToString ( ) : string

Method Details

DynamicInvocationResolveResult() public method

public DynamicInvocationResolveResult ( ResolveResult target, DynamicInvocationType invocationType, IList arguments, IList initializerStatements = null ) : System.Collections.Generic
target ResolveResult
invocationType DynamicInvocationType
arguments IList
initializerStatements IList
return System.Collections.Generic

ToString() public method

public ToString ( ) : string
return string

Property Details

Arguments public property

Arguments for the call. Named arguments will be instances of NamedArgumentResolveResult.
public IList Arguments
return IList

InitializerStatements public property

Gets the list of initializer statements that are appplied to the result of this invocation. This is used to represent object and collection initializers. With the initializer statements, the InitializedObjectResolveResult is used to refer to the result of this invocation. Initializer statements can only exist if the InvocationType is DynamicInvocationType.ObjectCreation.
public IList InitializerStatements
return IList

InvocationType public property

Type of the invocation.
public DynamicInvocationType InvocationType
return DynamicInvocationType

Target public property

Target of the invocation. Can be a dynamic expression or a MethodGroupResolveResult.
public ResolveResult Target
return ResolveResult