示例#1
0
        public override DestinationBase Clone()

        {
            PhonyBalloonySubscription clone = new PhonyBalloonySubscription(this.Enabled);

            return(clone);
        }
示例#2
0
        /// <summary>
        /// Creates a new instance of the subscriber.
        /// </summary>
        /// <returns>New <see cref="FeedSubscription"/></returns>
        /// <remarks>
        /// This is called when the user is adding a new subscription and clicks the 'Save' button.
        /// </remarks>
        public override DestinationBase Create()
        {
            PhonyBalloonySubscription pbs = new PhonyBalloonySubscription(true);

            pbs.Subscribe();
            return(pbs);
        }
 /// <summary>
 /// Creates a new instance of the subscriber.
 /// </summary>
 /// <returns>New <see cref="FeedSubscription"/></returns>
 /// <remarks>
 /// This is called when the user is adding a new subscription and clicks the 'Save' button.
 /// </remarks>
 public override DestinationBase Create()
 {
     PhonyBalloonySubscription pbs = new PhonyBalloonySubscription(true);
     pbs.Subscribe();
     return pbs;
 }
 public override DestinationBase Clone()
 {
     PhonyBalloonySubscription clone = new PhonyBalloonySubscription(this.Enabled);
     return clone;
 }