public Document() { usingStatements = new List <UsingStatement>(); namespaseStatement = new NamespaseStatement(""); listOfClasses = new List <Class>(); documentStructure = new List <documentUnit>(); listOfCodeLines = new List <string>(); testMethods = new List <TestMethod>(); assertions = new List <Assertion>(); oneLineComments = new List <OneLineComment>(); multipleLineComments = new List <MultipleLineComment>(); }
public void addNamespaceStatement(string name) { namespaseStatement = new NamespaseStatement(name); documentStructure.Add(documentUnit.Namespace); }