コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="LauncherState"/> class.
        /// </summary>
        private LauncherState()
        {
            ChannelFactory <IClientAutomationService> factory
                = new ChannelFactory <IClientAutomationService>(
                      new NetNamedPipeBinding(), "net.pipe://localhost/Inbox2AutomationService");

            channel           = factory.CreateChannel();
            selectedFiles     = new AdvancedObservableCollection <FileInfo>();
            selectedAddresses = new AdvancedObservableCollection <SourceAddress>();
            selectedUris      = new AdvancedObservableCollection <Uri>();
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="LauncherState"/> class.
        /// </summary>
        private LauncherState()
        {
            ChannelFactory<IClientAutomationService> factory
                = new ChannelFactory<IClientAutomationService>(
                    new NetNamedPipeBinding(), "net.pipe://localhost/Inbox2AutomationService");

            channel = factory.CreateChannel();
            selectedFiles = new AdvancedObservableCollection<FileInfo>();
            selectedAddresses = new AdvancedObservableCollection<SourceAddress>();
            selectedUris = new AdvancedObservableCollection<Uri>();
        }