C# Class Bloom_ChorusPlugin.BloomHtmlFileTypeHandler

Inheritance: IChorusFileTypeHandler
Afficher le fichier Open project: BloomBooks/BloomDesktop

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
CarefullyWriteOutResultingXml ( HtmlFileForMerging oursXml, NodeMergeResult result ) : void
SetupElementStrategies ( XmlMerger merger ) : void

Method Details

CanDiffFile() public méthode

public CanDiffFile ( string pathToFile ) : bool
pathToFile string
Résultat bool

CanMergeFile() public méthode

public CanMergeFile ( string pathToFile ) : bool
pathToFile string
Résultat bool

CanPresentFile() public méthode

public CanPresentFile ( string pathToFile ) : bool
pathToFile string
Résultat bool

CanValidateFile() public méthode

public CanValidateFile ( string pathToFile ) : bool
pathToFile string
Résultat bool

DescribeInitialContents() public méthode

public DescribeInitialContents ( FileInRevision fileInRevision, TempFile file ) : IEnumerable
fileInRevision FileInRevision
file TempFile
Résultat IEnumerable

Do3WayMerge() public méthode

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
Résultat void

Find2WayDifferences() public méthode

public Find2WayDifferences ( FileInRevision parent, FileInRevision child, HgRepository repository ) : IEnumerable
parent FileInRevision
child FileInRevision
repository HgRepository
Résultat IEnumerable

GetChangePresenter() public méthode

public GetChangePresenter ( IChangeReport report, HgRepository repository ) : IChangePresenter
report IChangeReport
repository HgRepository
Résultat IChangePresenter

GetExtensionsOfKnownTextFileTypes() public méthode

public GetExtensionsOfKnownTextFileTypes ( ) : IEnumerable
Résultat IEnumerable

ValidateFile() public méthode

public ValidateFile ( string pathToFile, IProgress progress ) : string
pathToFile string
progress IProgress
Résultat string