Table of Contents

Class CsSolution

Namespace
Alternet.Syntax.Parsers.Roslyn.CodeCompletion
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

Represents properties and methods to service source code documents intended to use for C# language.

public class CsSolution : RoslynSolution, IRoslynSolution, INotify, IUpdate, IDisposable
Inheritance
CsSolution
Implements

Constructors

CsSolution(SourceCodeKind, Type)

Initializes a new instance of the CsSolution class with default settings.

Properties

DefaultScriptSolution

Gets a default script CsSolution object.

DefaultSolution

Gets a default CsSolution object.

Methods

AddProject(string, string)

Creates and adds a new project to this solution.

CreateDefaultProject()

Creates and adds default project to this solution.

CreateProjectInfo(string, string)

Creates a new project without adding it to the solution.

GenerateStaticUsing(string[])
GetCompilationOptions()
GetLanguage()
GetParserOptions(string[])
GetPreprocessorSymbols(string[])
GetRoslynCompositionHost()
HandleException(Exception)
IsScriptFileReferenced(SyntaxNode, string)
RegisterNamespaces(string[], ProjectId, string)

Registers global namespaces.