void sc_OKResponse(Growl.Daemon.SubscriptionResponse response) { if (this.Enabled) { this.AdditionalOfflineDisplayInfo = null; this.AdditionalOnlineDisplayInfo = String.Format("TTL: {0}", response.TTL); } this.Platform = ForwardDestinationPlatformType.FromString(response.PlatformName); this.available = true; OnStatusChanged(); // if the subscription succeeds, the SubscriptionConnecter will take care of keeping the subscription alive }
public GrowlBonjourEventArgs(ForwardDestinationPlatformType platform) { this.platform = platform; }
public object GetRealObject(StreamingContext context) { return(ForwardDestinationPlatformType.FromString(this.platform)); }