Method WithDefaultReferences
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
ScriptTechnologyEnvironmentSpecifies technology environment.
keepExisting
boolSpecifies whether existing assemblies should be persisted.
minimal
boolIn case of .NET Core, adds minimal set of references
Returns
- IScriptSource
Modified IScrptSource instance