MakeRoot() public method

Make the root box.
public MakeRoot ( ) : void
return void
Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
		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;
		}