Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 3
0
            public object GetRealObject(StreamingContext context)

            {
                return(ForwardDestinationPlatformType.FromString(this.platform));
            }