public override DestinationBase Clone() { BonjourForwardDestination clone = new BonjourForwardDestination(this.Description, this.Platform, this.Enabled, this.Password); clone.IPAddress = this.IPAddress; clone.Port = this.Port; clone.Available = this.Available; return(clone); }
public object GetRealObject(StreamingContext context) { if (this.platform == null) { this.platform = KnownDestinationPlatformType.Other; } BonjourForwardDestination bfd = new BonjourForwardDestination(this.serviceName, this.platform, this.enabled, this.password); bfd.NotAvailable(); return(bfd); }
public override DestinationBase Clone() { BonjourForwardDestination clone = new BonjourForwardDestination(this.Description, this.Platform, this.Enabled, this.Password); clone.IPAddress = this.IPAddress; clone.Port = this.Port; clone.Available = this.Available; return clone; }
public object GetRealObject(StreamingContext context) { if (this.platform == null) this.platform = KnownDestinationPlatformType.Other; BonjourForwardDestination bfd = new BonjourForwardDestination(this.serviceName, this.platform, this.enabled, this.password); bfd.NotAvailable(); return bfd; }
public BonjourServiceUpdatedEventArgs(BonjourForwardDestination bfd) { this.bfd = bfd; }
protected void OnBonjourServiceUpdate(BonjourForwardDestination bfc) { if (this.synchronizingObject != null && this.synchronizingObject.InvokeRequired) { MethodInvoker invoker = new MethodInvoker(delegate() { OnBonjourServiceUpdate(bfc); }); this.synchronizingObject.Invoke(invoker, null); } else { if (this.BonjourServiceUpdate != null) { this.BonjourServiceUpdate(bfc); } } }