/// <summary> /// Create new MochaScriptFunctionCollection. /// </summary> /// <param name="functions">To be functions.</param> public MochaScriptFunctionCollection(MochaScriptDebugger debugger, IEnumerable <MochaScriptFunction> functions) : this(debugger) { this.functions.AddRange(functions); }
/// <summary> /// Create new MochaScriptFunctionCollection. /// </summary> /// <param name="debugger">Based debugger.</param> public MochaScriptFunctionCollection(MochaScriptDebugger debugger) { Debugger = debugger; functions = new List <MochaScriptFunction>(); }