예제 #1
0
        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>();
        }
예제 #2
0
 public void addNamespaceStatement(string name)
 {
     namespaseStatement = new NamespaseStatement(name);
     documentStructure.Add(documentUnit.Namespace);
 }