C# 클래스 Sfm2Xml.ClsLog

This 'log' class servers as a common location for capturing error and warning messages that are captured during the conversion process. They are accumulated and then added to the output xml file at the end.
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
AddError ( string text ) : void
AddError ( string file, int line, string text ) : void
AddFatalError ( string text ) : void
AddFatalError ( string file, int line, string text ) : void
AddOutOfOrderCaution ( string EntryKey, string marker, int line ) : void
AddSFMError ( string file, int line, string sfm, string text ) : void
AddSFMError ( string sfm, string text ) : void
AddSFMNoData ( string sfm ) : void
AddSFMNotDefined ( string sfm ) : void
AddSFMWarning ( string file, int line, string sfm, string text ) : void
AddSFMWarning ( string sfm, string text ) : void
AddSFMWithData ( string sfm ) : void
AddUniqueHighPriorityError ( string key, string msg ) : void
AddWarning ( string text ) : void
AddWarning ( string file, int line, string text ) : void
ClsLog ( ) : System
FlushTo ( System xmlOutput ) : void

Put the contents of the error and warning information to the passed in xml text writer.

Reset ( ) : void

비공개 메소드들

메소드 설명
FoundSFMError ( string sfm ) : void
FoundSFMNotDefined ( string sfm ) : void
FoundSFMWarning ( string sfm ) : void
FoundSFMWithData ( string sfm ) : void
FoundSFMWithoutData ( string sfm ) : void
MakeSafeXML ( string text ) : string
OutputDuplicateSfmWarnErrElement ( System xmlOutput ) : void
OutputErrorElement ( System xmlOutput ) : void
OutputOOOInfo ( System xmlOutput ) : void
OutputSfmInfo ( System xmlOutput ) : void
OutputWarningElement ( System xmlOutput ) : void

메소드 상세

AddError() 공개 메소드

public AddError ( string text ) : void
text string
리턴 void

AddError() 공개 메소드

public AddError ( string file, int line, string text ) : void
file string
line int
text string
리턴 void

AddFatalError() 공개 메소드

public AddFatalError ( string text ) : void
text string
리턴 void

AddFatalError() 공개 메소드

public AddFatalError ( string file, int line, string text ) : void
file string
line int
text string
리턴 void

AddOutOfOrderCaution() 공개 메소드

public AddOutOfOrderCaution ( string EntryKey, string marker, int line ) : void
EntryKey string
marker string
line int
리턴 void

AddSFMError() 공개 메소드

public AddSFMError ( string file, int line, string sfm, string text ) : void
file string
line int
sfm string
text string
리턴 void

AddSFMError() 공개 메소드

public AddSFMError ( string sfm, string text ) : void
sfm string
text string
리턴 void

AddSFMNoData() 공개 메소드

public AddSFMNoData ( string sfm ) : void
sfm string
리턴 void

AddSFMNotDefined() 공개 메소드

public AddSFMNotDefined ( string sfm ) : void
sfm string
리턴 void

AddSFMWarning() 공개 메소드

public AddSFMWarning ( string file, int line, string sfm, string text ) : void
file string
line int
sfm string
text string
리턴 void

AddSFMWarning() 공개 메소드

public AddSFMWarning ( string sfm, string text ) : void
sfm string
text string
리턴 void

AddSFMWithData() 공개 메소드

public AddSFMWithData ( string sfm ) : void
sfm string
리턴 void

AddUniqueHighPriorityError() 공개 메소드

public AddUniqueHighPriorityError ( string key, string msg ) : void
key string
msg string
리턴 void

AddWarning() 공개 메소드

public AddWarning ( string text ) : void
text string
리턴 void

AddWarning() 공개 메소드

public AddWarning ( string file, int line, string text ) : void
file string
line int
text string
리턴 void

ClsLog() 공개 메소드

public ClsLog ( ) : System
리턴 System

FlushTo() 공개 메소드

Put the contents of the error and warning information to the passed in xml text writer.
public FlushTo ( System xmlOutput ) : void
xmlOutput System
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void