Show / Hide Table of Contents

Class AutoSaver

Class that creates the auto-save directory and publishes the auto-save timer event.

Inheritance
object
AutoSaver
Implements
IAutoSaver
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class AutoSaver : IAutoSaver, IDisposable

Constructors

View Source

AutoSaver(IPhoenixLogger, IArubaModuleSettings, IEventAggregator)

Constructor for AutoSaver when using dependency injection.

Declaration
public AutoSaver(IPhoenixLogger logger, IArubaModuleSettings settings, IEventAggregator eventAggregator)
Parameters
Type Name Description
IPhoenixLogger logger

Injected logger.

IArubaModuleSettings settings

Injected settings

IEventAggregator eventAggregator

Injected event aggregator.

Properties

View Source

AutoSavePath

Gets the file path to the location where auto-saved files are located.

Declaration
public string AutoSavePath { get; }
Property Value
Type Description
string
View Source

BackupDocuments

Gets the documents to process.

Declaration
public List<IBackupDocument> BackupDocuments { get; }
Property Value
Type Description
List<IBackupDocument>

Methods

View Source

AutoSaveTimerTick(object, EventArgs)

The Raised event.

Declaration
public void AutoSaveTimerTick(object sender, EventArgs e)
Parameters
Type Name Description
object sender

The sender.

EventArgs e

The event args.

View Source

Dispose()

Dispose of the object.

Declaration
public void Dispose()
View Source

InitializeAndStartAutoSaveTimer()

Starts the timer.

Declaration
public void InitializeAndStartAutoSaveTimer()

Implements

IAutoSaver
IDisposable
  • View Source
In this article
Back to top Generated by DocFX