This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
internal class FuturedSocket : IDisposable | |
{ | |
/// <summary> | |
/// Inner socket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SandBox | |
{ | |
private ScriptState<object> _globalState; | |
public SandBox() | |
{ | |
// Create initial script | |
var script = CSharpScript.Create(string.Empty, ScriptOptions.Default); | |
{ | |
// Create an empty state |