IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
CShellCore.CodeCompletion.CSharpCompletionContext Class Reference

Public Member Functions

 CSharpCompletionContext (IDocument document, int offset, IProjectContent projectContent, string usings=null)
 Initializes a new instance of the CSharpCompletionContext class. More...
 
 CSharpCompletionContext (IDocument document, int offset, IProjectContent projectContent, string usings=null)
 Initializes a new instance of the CSharpCompletionContext class. More...
 

Public Attributes

readonly IDocument OriginalDocument
 
readonly int OriginalOffset
 
readonly string OriginalUsings
 
readonly int Offset
 
readonly IDocument Document
 
readonly ICompilation Compilation
 
readonly IProjectContent ProjectContent
 
readonly CSharpResolver Resolver
 
readonly CSharpTypeResolveContext TypeResolveContextAtCaret
 
readonly ICompletionContextProvider CompletionContextProvider
 

Static Private Member Functions

static IDocument PrepareCompletionDocument (IDocument document, ref int offset, string usings=null)
 
static IDocument PrepareCompletionDocument (IDocument document, ref int offset, string usings=null)
 

Static Private Attributes

static Regex replaceRegex = new Regex("[^a-zA-Z0-9_]")
 

Constructor & Destructor Documentation

CShellCore.CodeCompletion.CSharpCompletionContext.CSharpCompletionContext ( IDocument  document,
int  offset,
IProjectContent  projectContent,
string  usings = null 
)
inline

Initializes a new instance of the CSharpCompletionContext class.

Parameters
documentThe document, make sure the FileName property is set on the document.
offsetThe offset.
projectContentContent of the project.
usingsThe usings.
CShellCore.CodeCompletion.CSharpCompletionContext.CSharpCompletionContext ( IDocument  document,
int  offset,
IProjectContent  projectContent,
string  usings = null 
)
inline

Initializes a new instance of the CSharpCompletionContext class.

Parameters
documentThe document, make sure the FileName property is set on the document.
offsetThe offset.
projectContentContent of the project.
usingsThe usings.

Member Function Documentation

static IDocument CShellCore.CodeCompletion.CSharpCompletionContext.PrepareCompletionDocument ( IDocument  document,
ref int  offset,
string  usings = null 
)
inlinestaticprivate
static IDocument CShellCore.CodeCompletion.CSharpCompletionContext.PrepareCompletionDocument ( IDocument  document,
ref int  offset,
string  usings = null 
)
inlinestaticprivate

Member Data Documentation

readonly IDocument CShellCore.CodeCompletion.CSharpCompletionContext.OriginalDocument
readonly int CShellCore.CodeCompletion.CSharpCompletionContext.OriginalOffset
readonly string CShellCore.CodeCompletion.CSharpCompletionContext.OriginalUsings
readonly int CShellCore.CodeCompletion.CSharpCompletionContext.Offset
readonly IDocument CShellCore.CodeCompletion.CSharpCompletionContext.Document
readonly ICompilation CShellCore.CodeCompletion.CSharpCompletionContext.Compilation
readonly IProjectContent CShellCore.CodeCompletion.CSharpCompletionContext.ProjectContent
readonly CSharpResolver CShellCore.CodeCompletion.CSharpCompletionContext.Resolver
readonly CSharpTypeResolveContext CShellCore.CodeCompletion.CSharpCompletionContext.TypeResolveContextAtCaret
readonly ICompletionContextProvider CShellCore.CodeCompletion.CSharpCompletionContext.CompletionContextProvider
static Regex CShellCore.CodeCompletion.CSharpCompletionContext.replaceRegex = new Regex("[^a-zA-Z0-9_]")
staticprivate

The documentation for this class was generated from the following file: