Пример #1
0
 public static void StreamWrite(Bug bug, StreamWriter streamWriter)
 {
     streamWriter.WriteLine(UserTypesXmlTranslator.mainBugElement());
     streamWriter.WriteLine(UserTypesXmlTranslator.transID(bug));
     streamWriter.WriteLine(UserTypesXmlTranslator.transAuthor(bug));
     streamWriter.WriteLine(UserTypesXmlTranslator.transTittle(bug));
     streamWriter.WriteLine(UserTypesXmlTranslator.transEnviromentAndVersion(bug));
     streamWriter.WriteLine(UserTypesXmlTranslator.transPriority(bug));
     streamWriter.WriteLine(UserTypesXmlTranslator.transSeverity(bug));
     streamWriter.WriteLine(UserTypesXmlTranslator.transPrerequisites(bug));
     streamWriter.WriteLine(UserTypesXmlTranslator.transStepsList(bug));
     streamWriter.WriteLine(UserTypesXmlTranslator.transActualResults(bug));
     streamWriter.WriteLine(UserTypesXmlTranslator.transExpectedResults(bug));
     streamWriter.WriteLine(UserTypesXmlTranslator.mainBugElementEnd());
 }