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