C# 클래스 Bloom_ChorusPlugin.BloomHtmlFileTypeHandler

상속: IChorusFileTypeHandler
파일 보기 프로젝트 열기: BloomBooks/BloomDesktop

공개 메소드들

메소드 설명
CanDiffFile ( string pathToFile ) : bool
CanMergeFile ( string pathToFile ) : bool
CanPresentFile ( string pathToFile ) : bool
CanValidateFile ( string pathToFile ) : bool
DescribeInitialContents ( FileInRevision fileInRevision, TempFile file ) : IEnumerable
Do3WayMerge ( MergeOrder mergeOrder ) : void

Do a 3-file merge, placing the result over the "ours" file and returning an error status

Implementations can exit with an exception, which the caller will catch and deal with. The must not have any UI, no interaction with the user.

Find2WayDifferences ( FileInRevision parent, FileInRevision child, HgRepository repository ) : IEnumerable
GetChangePresenter ( IChangeReport report, HgRepository repository ) : IChangePresenter
GetExtensionsOfKnownTextFileTypes ( ) : IEnumerable
ValidateFile ( string pathToFile, IProgress progress ) : string

비공개 메소드들

메소드 설명
CarefullyWriteOutResultingXml ( HtmlFileForMerging oursXml, NodeMergeResult result ) : void
SetupElementStrategies ( XmlMerger merger ) : void

메소드 상세

CanDiffFile() 공개 메소드

public CanDiffFile ( string pathToFile ) : bool
pathToFile string
리턴 bool

CanMergeFile() 공개 메소드

public CanMergeFile ( string pathToFile ) : bool
pathToFile string
리턴 bool

CanPresentFile() 공개 메소드

public CanPresentFile ( string pathToFile ) : bool
pathToFile string
리턴 bool

CanValidateFile() 공개 메소드

public CanValidateFile ( string pathToFile ) : bool
pathToFile string
리턴 bool

DescribeInitialContents() 공개 메소드

public DescribeInitialContents ( FileInRevision fileInRevision, TempFile file ) : IEnumerable
fileInRevision FileInRevision
file TempFile
리턴 IEnumerable

Do3WayMerge() 공개 메소드

Do a 3-file merge, placing the result over the "ours" file and returning an error status
Implementations can exit with an exception, which the caller will catch and deal with. The must not have any UI, no interaction with the user.
public Do3WayMerge ( MergeOrder mergeOrder ) : void
mergeOrder MergeOrder
리턴 void

Find2WayDifferences() 공개 메소드

public Find2WayDifferences ( FileInRevision parent, FileInRevision child, HgRepository repository ) : IEnumerable
parent FileInRevision
child FileInRevision
repository HgRepository
리턴 IEnumerable

GetChangePresenter() 공개 메소드

public GetChangePresenter ( IChangeReport report, HgRepository repository ) : IChangePresenter
report IChangeReport
repository HgRepository
리턴 IChangePresenter

GetExtensionsOfKnownTextFileTypes() 공개 메소드

public GetExtensionsOfKnownTextFileTypes ( ) : IEnumerable
리턴 IEnumerable

ValidateFile() 공개 메소드

public ValidateFile ( string pathToFile, IProgress progress ) : string
pathToFile string
progress IProgress
리턴 string