private SandboxBase SetupSandbox(Func <AnalysisOccurrence> createDataForSandbox) { var occurrence = createDataForSandbox(); var lineChoices = InterlinLineChoices.DefaultChoices(Cache.LangProject, Cache.DefaultVernWs, Cache.DefaultAnalWs); var sandbox = new SandboxBase(Cache, null, null, lineChoices, occurrence.Analysis.Hvo); sandbox.MakeRoot(); return(sandbox); }
private SandboxBase SetupSandbox(Func<AnalysisOccurrence> createDataForSandbox) { var occurrence = createDataForSandbox(); var lineChoices = InterlinLineChoices.DefaultChoices(Cache.LangProject, Cache.DefaultVernWs, Cache.DefaultAnalWs); var sandbox = new SandboxBase(Cache, null, null, lineChoices, occurrence.Analysis.Hvo); sandbox.MakeRoot(); return sandbox; }