public SnippetInMemory(SnippetDictionary model) { this.model = (SnippetDictionary)model; if (collapsingAndExpanding) this.UI = new Model.SnippetUIFullCollapse(this); else this.UI = new Model.SnippetUINoCollapse(this); model.Dirty = true; }
internal SearchContainerInMemory(SnippetDictionary model) { this.model = model; }
public static SnippetInMemory MakeLastXSnippet(SnippetDictionary model) { SnippetInMemory retVal = new SnippetInMemory(model); retVal.title = LAST_X_TEXT; model.TopLevelSnippet.AddChildSnippet(retVal); return retVal; }