Click or drag to resize

DefaultBackupService Class

Xamarin backup service
Inheritance Hierarchy
SystemObject
  SanteDB.DisconnectedClient.BackupDefaultBackupService

Namespace:  SanteDB.DisconnectedClient.Backup
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public class DefaultBackupService : IBackupService, 
	IServiceImplementation, IDaemonService

The DefaultBackupService type exposes the following members.

Constructors
  NameDescription
Public methodDefaultBackupService
Initializes a new instance of the DefaultBackupService class
Top
Properties
  NameDescription
Public propertyIsRunning
True if the backup service is running
Public propertyServiceName
Configuration backup service
Top
Methods
  NameDescription
Public methodAutoRestore
Automatic restoration
Public methodBackup
Perform backup on the specified media
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetBackupDirectory
Get backup directory
Public methodGetBackups
Get the list of backup descriptors
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasBackup
Determine if backup is available on the specified media
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveBackup
Rremove t
Public methodRestore
Restore the specified data
Public methodRestoreFiles
Restore files to the specified directory
Public methodStart
Start the backup service
Public methodStop
Stop the service
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventStarted
Fired when the service has started
Public eventStarting
Fired when the service is starting
Public eventStopped
Fired when the service has stopped
Public eventStopping
Fired when the service is stopping
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also