public static CSFile Create(CSUsingPackages use, params CSNamespace [] ns) { return(new CSFile(use, ns)); }
public CSFileBasic(string nameSpace) { this.nameSpace = Exceptions.ThrowOnNull(nameSpace, "nameSpace"); Using = new CSUsingPackages(); Classes = new CSClasses(); }
public CSFile(CSUsingPackages use, IEnumerable <CSNamespace> ns) { Using = use ?? new CSUsingPackages(); ns = ns ?? new CSNamespace [0]; Namespaces = new CSNamespaceBlock(ns); }