Table of Contents

Method WithDefaultAssemblies

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

WithDefaultAssemblies(TechnologyEnvironment, bool, ProjectId, TargetFramework, bool)

Registers some most frequently used assemblies.

Specifies technology environment. Specifies whether existing assemblies should be preserved. Specifies project to add reference to. Specifies target framework. In case of .NET Core, adds minimal set of references IRoslynSolution instance with default assemblies being registered for code completion
public virtual IRoslynSolution WithDefaultAssemblies(TechnologyEnvironment technology = TechnologyEnvironment.WindowsForms, bool keepExisting = false, ProjectId projectId = null, TargetFramework targetFramework = null, bool minimal = false)

Parameters

technology TechnologyEnvironment
keepExisting bool
projectId ProjectId
targetFramework TargetFramework
minimal bool

Returns

IRoslynSolution