C# Class SIL.Cog.Application.Services.ProjectService

Inheritance: IProjectService
Afficher le fichier Open project: sillsdev/cog

Méthodes publiques

Méthode Description
Close ( object ownerViewModel ) : bool
Init ( ) : bool
New ( object ownerViewModel ) : bool
Open ( object ownerViewModel ) : bool
ProjectService ( SpanFactory spanFactory, SIL.Cog.Domain.SegmentPool segmentPool, IDialogService dialogService, IBusyService busyService, ISettingsService settingsService, Lazy analysisService ) : System
Save ( object ownerViewModel ) : bool
SaveAs ( object ownerViewModel ) : bool

Private Methods

Méthode Description
CalcProjectHash ( ) : string
CloseProject ( ) : void
HandleComparisonPerformed ( ComparisonPerformedMessage msg ) : void
HandleDomainModelChanged ( SIL.Cog.Application.ViewModels.DomainModelChangedMessage msg ) : void
MigrateProjectIfNeeded ( ProgressViewModel vm, CogProject project ) : bool
NewProject ( ProgressViewModel vm ) : void
OnProjectOpened ( EventArgs e ) : void
OpenProject ( ProgressViewModel vm, string path, string &errorMsg ) : bool
ProjectService ( ) : System
SaveAsProject ( string path ) : void
SaveComparisonCache ( ) : void
SaveProject ( ) : void
SetupProject ( ProgressViewModel vm, string path, string name, CogProject project ) : void
StartNewProcess ( string projectPath, int timeout ) : void

Method Details

Close() public méthode

public Close ( object ownerViewModel ) : bool
ownerViewModel object
Résultat bool

Init() public méthode

public Init ( ) : bool
Résultat bool

New() public méthode

public New ( object ownerViewModel ) : bool
ownerViewModel object
Résultat bool

Open() public méthode

public Open ( object ownerViewModel ) : bool
ownerViewModel object
Résultat bool

ProjectService() public méthode

public ProjectService ( SpanFactory spanFactory, SIL.Cog.Domain.SegmentPool segmentPool, IDialogService dialogService, IBusyService busyService, ISettingsService settingsService, Lazy analysisService ) : System
spanFactory SpanFactory
segmentPool SIL.Cog.Domain.SegmentPool
dialogService IDialogService
busyService IBusyService
settingsService ISettingsService
analysisService Lazy
Résultat System

Save() public méthode

public Save ( object ownerViewModel ) : bool
ownerViewModel object
Résultat bool

SaveAs() public méthode

public SaveAs ( object ownerViewModel ) : bool
ownerViewModel object
Résultat bool