コード例 #1
0
ファイル: UserInputGetter.cs プロジェクト: brojlibrojli/Jira
 public static void TransUserTypes(Bug bug)
 {
     Console.WriteLine(UserTypesXmlTranslator.transID(bug));
     Console.WriteLine(UserTypesXmlTranslator.transAuthor(bug));
     Console.WriteLine(UserTypesXmlTranslator.transTittle(bug));
     Console.WriteLine(UserTypesXmlTranslator.transEnviromentAndVersion(bug));
     Console.WriteLine(UserTypesXmlTranslator.transPriority(bug));
     Console.WriteLine(UserTypesXmlTranslator.transSeverity(bug));
     Console.WriteLine(UserTypesXmlTranslator.transPrerequisites(bug));
     Console.WriteLine(UserTypesXmlTranslator.transStepsList(bug));
     Console.WriteLine(UserTypesXmlTranslator.transActualResults(bug));
     Console.WriteLine(UserTypesXmlTranslator.transExpectedResults(bug));
 }
コード例 #2
0
ファイル: UserInputGetter.cs プロジェクト: brojlibrojli/Jira
 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());
 }