C# Class ZeroInstall.Commands.Utils.SyncUtils

Helper methods for creating instances of SyncIntegrationManager.
Mostra file Open project: 0install/0install-win

Public Methods

Method Description
FromSyncServer ( [ config, SyncServer syncServer ) : void

Writes the data of a SyncServer struct back to a Config.

ToSyncServer ( [ config ) : SyncServer

Reads the relevant information from a Config in order to construct a SyncServer struct.

Method Details

FromSyncServer() public static method

Writes the data of a SyncServer struct back to a Config.
public static FromSyncServer ( [ config, SyncServer syncServer ) : void
config [
syncServer ZeroInstall.DesktopIntegration.SyncServer
return void

ToSyncServer() public static method

Reads the relevant information from a Config in order to construct a SyncServer struct.
public static ToSyncServer ( [ config ) : SyncServer
config [
return ZeroInstall.DesktopIntegration.SyncServer