Example #1
0
 public SyncService(
     IConnectionManager connectionManager,
     IMultiServerSync mediaSync,
     IStorageService storageService,
     IServerInfoService serverInfo,
     IMessagePromptService messagePrompt,
     IMessengerService messengerService)
 {
     _connectionManager = connectionManager;
     _mediaSync = mediaSync;
     _serverInfo = serverInfo;
     _messagePrompt = messagePrompt;
     _messengerService = messengerService;
     _storageService = storageService.Local;
     _logger = new WPLogger(GetType());
     Current = this;
 }
 public SyncService(
     IConnectionManager connectionManager,
     IMultiServerSync mediaSync,
     IStorageService storageService,
     IServerInfoService serverInfo,
     IMessagePromptService messagePrompt,
     IMessengerService messengerService)
 {
     _connectionManager = connectionManager;
     _mediaSync         = mediaSync;
     _serverInfo        = serverInfo;
     _messagePrompt     = messagePrompt;
     _messengerService  = messengerService;
     _storageService    = storageService.Local;
     _logger            = new WPLogger(GetType());
     Current            = this;
 }