C# Class ICSharpCode.CodeCompletion.CSharpCompletionContext

显示文件 Open project: gilgame/SEWorkbench Class Usage Examples

Public Properties

Property Type Description
Compilation ICompilation
CompletionContextProvider ICompletionContextProvider
Document IDocument
Offset int
OriginalDocument IDocument
OriginalOffset int
OriginalUsings string
OriginalVariables string
ProjectContent IProjectContent
Resolver ICSharpCode.NRefactory.CSharp.Resolver.CSharpResolver
TypeResolveContextAtCaret ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpTypeResolveContext

Public Methods

Method Description
CSharpCompletionContext ( IDocument document, int offset, IProjectContent projectContent, string usings = null, string variables = null ) : System

Initializes a new instance of the CSharpCompletionContext class.

Private Methods

Method Description
PrepareCompletionDocument ( IDocument document, int &offset, string usings = null, string variables = null ) : IDocument

Method Details

CSharpCompletionContext() public method

Initializes a new instance of the CSharpCompletionContext class.
public CSharpCompletionContext ( IDocument document, int offset, IProjectContent projectContent, string usings = null, string variables = null ) : System
document IDocument The document, make sure the FileName property is set on the document.
offset int The offset.
projectContent IProjectContent Content of the project.
usings string The usings.
variables string The variables
return System

Property Details

Compilation public_oe property

public ICompilation Compilation
return ICompilation

CompletionContextProvider public_oe property

public ICompletionContextProvider CompletionContextProvider
return ICompletionContextProvider

Document public_oe property

public IDocument Document
return IDocument

Offset public_oe property

public int Offset
return int

OriginalDocument public_oe property

public IDocument OriginalDocument
return IDocument

OriginalOffset public_oe property

public int OriginalOffset
return int

OriginalUsings public_oe property

public string OriginalUsings
return string

OriginalVariables public_oe property

public string OriginalVariables
return string

ProjectContent public_oe property

public IProjectContent ProjectContent
return IProjectContent

Resolver public_oe property

public CSharpResolver,ICSharpCode.NRefactory.CSharp.Resolver Resolver
return ICSharpCode.NRefactory.CSharp.Resolver.CSharpResolver

TypeResolveContextAtCaret public_oe property

public CSharpTypeResolveContext,ICSharpCode.NRefactory.CSharp.TypeSystem TypeResolveContextAtCaret
return ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpTypeResolveContext