public ExportPresentationSchemaFilesCommand(string commandName, IPresentationClient presentationClient, string directory) : base(commandName) { _presentationClient = presentationClient; _exportPresentationCRUD = _presentationClient.GetPresentationSchemaCrud(); }
public ExportGlobalSourcesCommand(string commandName, IPresentationClient remotePresentationService, IPresentationClient standalonePresentationClient) : base(commandName) { _remotePresentationClient = remotePresentationService; _standalonePresentationClient = standalonePresentationClient; _standaloneClientResourceCRUD = _standalonePresentationClient.GetResourceCrud(); }
public ExportConfigurationCommand(string commandName, string directory, FilesGroup filesGroup, IConfigurationTransfer service) : base(commandName) { _filesGroup = filesGroup; _clientResourceCRUD = new ClientSideConfigurationTransfer(directory, service); _clientResourceCRUD.OnPartTransmit += new EventHandler<PartSendEventArgs>(_clientResourceCRUD_OnPartTransmit); _clientResourceCRUD.OnComplete += new EventHandler<OperationStatusEventArgs<FilesGroup>>(_clientResourceCRUD_OnComplete); }
public ExportPresentationCommand(string commandName, PresentationInfo presentationInfo, string newPresentationName, IPresentationClient remotePresentationClient, IPresentationClient standalonePresentationClient, Func<string, bool> delegateForDeletedPresentation) : base(commandName) { _remotePresentationClient = remotePresentationClient; _standalonePresentationClient = standalonePresentationClient; _standaloneClientResourceCRUD = _standalonePresentationClient.GetResourceCrud(); _clientPresentationCRUD = _remotePresentationClient.GetPresentationExportCrud(); _presentationInfo = presentationInfo; _newPresentationName = newPresentationName; //_presentationService = presentationService; _delegateForDeletedPresentation = delegateForDeletedPresentation; //_clientPresentationCRUD = new ClientSidePresentationTransfer(directory, presentationClient); //_clientSourceStandalone = new ClientSideStandAloneSourceTransfer(standaloneResourceEx); }