private IExecutionContext createExecutionContext(ISystem system, Timings timings) { var record = timings.Subject("Context", "Creation", 0); try { return(system.CreateContext()); } catch (Exception e) { Request.Cancel(); throw new StorytellerExecutionException(e); } finally { timings.End(record); } }
public void Dispose() { _parent.End(_record); }