C# Class SIL.FieldWorks.IText.InterlinViewCacheLoader

Inheritance: IParaDataLoader
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
GetGuessForWordform ( IWfiWordform wf, int ws ) : IAnalysis
InterlinViewCacheLoader ( AnalysisGuessServices guessServices, SIL.FieldWorks.IText.InterlinViewDataCache sdaDecorator ) : System
LoadParaData ( IStTxtPara para ) : void
LoadSegmentData ( ISegment seg ) : void
RecordGuessIfNotKnown ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence occurrence ) : void
ResetGuessCache ( ) : void
UpdatingOccurrence ( IAnalysis oldAnalysis, IAnalysis newAnalysis ) : bool

Replacing a single occurrence, we MIGHT need to reset the guess cache.

Méthodes protégées

Méthode Description
NoteCurrentAnnotation ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence occurrence ) : void
SetInt ( int hvo, int flid, int n ) : void

SetObjProp ( int hvo, int flid, int objValue ) : void

this is so we can subclass the loader to test whether values have actually changed.

Private Methods

Méthode Description
LoadAnalysisData ( IStTxtPara para, HashSet wordforms ) : void

Load guesses for the paragraph.

RecordGuessIfAvailable ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence occurrence ) : void

Method Details

GetGuessForWordform() public méthode

public GetGuessForWordform ( IWfiWordform wf, int ws ) : IAnalysis
wf IWfiWordform
ws int
Résultat IAnalysis

InterlinViewCacheLoader() public méthode

public InterlinViewCacheLoader ( AnalysisGuessServices guessServices, SIL.FieldWorks.IText.InterlinViewDataCache sdaDecorator ) : System
guessServices AnalysisGuessServices
sdaDecorator SIL.FieldWorks.IText.InterlinViewDataCache
Résultat System

LoadParaData() public méthode

public LoadParaData ( IStTxtPara para ) : void
para IStTxtPara
Résultat void

LoadSegmentData() public méthode

public LoadSegmentData ( ISegment seg ) : void
seg ISegment
Résultat void

NoteCurrentAnnotation() protected méthode

protected NoteCurrentAnnotation ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence occurrence ) : void
occurrence SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence
Résultat void

RecordGuessIfNotKnown() public méthode

public RecordGuessIfNotKnown ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence occurrence ) : void
occurrence SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence
Résultat void

ResetGuessCache() public méthode

public ResetGuessCache ( ) : void
Résultat void

SetInt() protected méthode

protected SetInt ( int hvo, int flid, int n ) : void
hvo int
flid int
n int
Résultat void

SetObjProp() protected méthode

this is so we can subclass the loader to test whether values have actually changed.
protected SetObjProp ( int hvo, int flid, int objValue ) : void
hvo int
flid int
objValue int
Résultat void

UpdatingOccurrence() public méthode

Replacing a single occurrence, we MIGHT need to reset the guess cache.
public UpdatingOccurrence ( IAnalysis oldAnalysis, IAnalysis newAnalysis ) : bool
oldAnalysis IAnalysis
newAnalysis IAnalysis
Résultat bool