Table of Contents

Method WithDefaultReferences

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

WithDefaultReferences(ScriptTechnologyEnvironment, bool, bool)

When implemented by a class, set default assembly references to the script source.

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