public static CSharpKernel UseKernelHelpers( this CSharpKernel kernel) { Task.Run(() => kernel.SendAsync( new SubmitCode($@" using static {typeof(Microsoft.DotNet.Interactive.Kernel).FullName}; "))).Wait(); return(kernel); }
public static CSharpKernel UseDefaultRendering( this CSharpKernel kernel) { Task.Run(() => kernel.SendAsync( new SubmitCode($@" using static {typeof(PocketViewTags).FullName}; using {typeof(PocketView).Namespace}; "))).Wait(); return(kernel); }