private NamespaceImport GetImport(string ns) { if (ns.Length == 0) { return(RootImport); } if (!(RootImport.FindImport(ns) is NamespaceImport import)) { import = new NamespaceImport(ns, options); RootImport.Add(import); } return(import); }
internal ImportCollection(ExpressionBuilderOptions options) { this.options = options; RootImport = new NamespaceImport("true", this.options); ImportOwner(typeof(object)); }