コード例 #1
0
 public ExportGlobalSourcesCommand(string commandName, IPresentationClient remotePresentationService,
     IPresentationClient standalonePresentationClient)
     : base(commandName)
 {
     _remotePresentationClient = remotePresentationService;
     _standalonePresentationClient = standalonePresentationClient;
     _standaloneClientResourceCRUD = _standalonePresentationClient.GetResourceCrud();
 }
コード例 #2
0
 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);
 }