Click or drag to resize

CSharpScript Class



A factory for creating and running C# scripts.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.CSharp.ScriptingCSharpScript

Namespace:  Microsoft.CodeAnalysis.CSharp.Scripting
Assembly:  Microsoft.CodeAnalysis.CSharp.Scripting (in Microsoft.CodeAnalysis.CSharp.Scripting.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public static class CSharpScript
Methods
  NameDescription
Public methodStatic memberCreate(Stream, ScriptOptions, Type, InteractiveAssemblyLoader)
Create a new C# script.
Public methodStatic memberCreate(String, ScriptOptions, Type, InteractiveAssemblyLoader)
Create a new C# script.
Public methodStatic memberCreateT(Stream, ScriptOptions, Type, InteractiveAssemblyLoader)
Create a new C# script.
Public methodStatic memberCreateT(String, ScriptOptions, Type, InteractiveAssemblyLoader)
Create a new C# script.
Public methodStatic memberEvaluateAsync(Void, Object, String, ScriptOptions, Object)
Public methodStatic memberEvaluateAsyncT(Void, T, String, ScriptOptions, Object)
Public methodStatic memberRunAsync(Void, ScriptStateObject, String, ScriptOptions, Object)
Public methodStatic memberRunAsyncT(Void, ScriptStateT, String, ScriptOptions, Object)
Top
See Also