Table of Contents

Method WithDefaultReferences

Namespace
Alternet.Scripter
Assembly
Alternet.Scripter.v9.dll

WithDefaultReferences(ScriptTechnologyEnvironment, bool, bool)

Sets default assembly references to the script source.

public virtual IScriptSource WithDefaultReferences(ScriptTechnologyEnvironment technology = ScriptTechnologyEnvironment.WindowsForms, bool keepExisting = false, bool minimal = false)

Parameters

technology ScriptTechnologyEnvironment

Specifies technology environment.

keepExisting bool

Specifies whether existing assemblies should be persisted.

minimal bool

In case of .NET Core, adds minimal set of references

Returns

IScriptSource

Modified IScrptSource instance