コード例 #1
0
        public MainWindowDataContext()
        {
            this.udpTransmitter = new UdpTransmitter()
            {
                CommandDialog = new RelayCommand <string>((_) =>
                {
                    DialogService.Show("入力エラー", _);
                })
            };

            this.propertyChangedListener = new PropertyChangedWeakEventListener(
                this.RaisePropertyChanged);

            PropertyChangedEventManager.AddListener(
                this.udpTransmitter,
                this.propertyChangedListener,
                string.Empty);
        }
コード例 #2
0
 public UdpDispatchingTransmitter(IUdpTransmitter <TForward> child, IDispatcher dispatcher) : base(child, dispatcher)
 {
 }
コード例 #3
0
 public UdpEncodingTransmitter(IUdpTransmitter <byte[]> child, System.Text.Encoding encoding) : base(child, encoding)
 {
 }
コード例 #4
0
 public UdpForwardingTransmitter(IUdpTransmitter <TOutput> child) : base(child)
 {
 }