public static void Reset() { Context = new ExecutionContext(); }
public static string Build(ExecutionContext executionContext, string typeDeclaration, string statement, string returnStatement, string memberDeclaration, string usingStatement) { context = executionContext; return UsingStatements + CustomUsingStatements() + usingStatement + TypeDeclarations() + typeDeclaration + ClassPrefix + MemberDeclarations() + memberDeclaration + InteropDeclarations + FuncPrefix + CallStack() + statement + (returnStatement ?? DefaultReturnStatement) + FuncSuffix; }
static Repl() { Context = new ExecutionContext(); }