Class DotnetInteractiveFunction
- Namespace
- Auto
Gen .DotnetInteractive
- Assembly
- AutoGen.DotnetInteractive.dll
- Inheritance
-
Dotnet
Interactive Function
- Implements
- Inherited Members
Constructors
DotnetInteractiveFunction(InteractiveService, string?, bool)
Create an instance of Dotnet
public DotnetInteractiveFunction(InteractiveService interactiveService, string? notebookPath = null, bool continueFromExistingNotebook = false)
Parameters
interactiveService
InteractiveService interactive service to use.
notebookPath
stringnotebook path if provided.
continueFromExistingNotebook
bool
Methods
Dispose()
InstallNugetPackages(string[])
Install nuget packages.
Parameters
nugetPackages
string[]nuget package to install.
Returns
RunCode(string)
Run existing dotnet code from message. Don't modify the code, run it as is.
Parameters
code
stringcode.