C# Class Strokes.BasicAchievements.NRefactory.NRefactorySession

Inheritance: IDisposable
Exibir arquivo Open project: jonasswiatek/strokes

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetCodebaseDeclarations ( Strokes.Core.StaticAnalysisManifest staticAnalysisManifest ) : IEnumerable

Gets all type declarations made in the current codebase that is being compiled. This is a tool method to be used in more complex achievements. This method is caching and can be called without discretion, and is thread safe.

GetCompilationUnit ( string filename ) : CompilationUnit

Creates a parser for the specified file. This parser is cached for this (one) detection session. This method is thread safe.

GetSystemInvocations ( Strokes.Core.StaticAnalysisManifest staticAnalysisManifest ) : List

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

GetCodebaseDeclarations() public method

Gets all type declarations made in the current codebase that is being compiled. This is a tool method to be used in more complex achievements. This method is caching and can be called without discretion, and is thread safe.
public GetCodebaseDeclarations ( Strokes.Core.StaticAnalysisManifest staticAnalysisManifest ) : IEnumerable
staticAnalysisManifest Strokes.Core.StaticAnalysisManifest StaticAnalysisManifest object used to locate the codebase
return IEnumerable

GetCompilationUnit() public method

Creates a parser for the specified file. This parser is cached for this (one) detection session. This method is thread safe.
public GetCompilationUnit ( string filename ) : CompilationUnit
filename string The path and name of the file to create a parser for.
return CompilationUnit

GetSystemInvocations() public method

public GetSystemInvocations ( Strokes.Core.StaticAnalysisManifest staticAnalysisManifest ) : List
staticAnalysisManifest Strokes.Core.StaticAnalysisManifest
return List