Method WithDefaultAssemblies
- Namespace
- Alternet.Syntax.Parsers.Roslyn.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Roslyn.v10.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 referencespublic virtual IRoslynSolution WithDefaultAssemblies(TechnologyEnvironment? technology = null, bool keepExisting = false, ProjectId projectId = null, TargetFramework targetFramework = null, bool minimal = false)
Parameters
technology
TechnologyEnvironment?keepExisting
boolprojectId
ProjectIdtargetFramework
TargetFrameworkminimal
bool