public ForwardDestinationSurrogateSelector() { DestinationBaseSerializationSurrogate dbss = new DestinationBaseSerializationSurrogate(); base.AddSurrogate(typeof(Growl.GNTPForwardDestination), new StreamingContext(StreamingContextStates.All), dbss); base.AddSurrogate(typeof(Growl.BonjourForwardDestination), new StreamingContext(StreamingContextStates.All), dbss); base.AddSurrogate(typeof(Growl.ProwlForwardDestination), new StreamingContext(StreamingContextStates.All), dbss); base.AddSurrogate(typeof(Growl.TwitterForwardDestination), new StreamingContext(StreamingContextStates.All), dbss); base.AddSurrogate(typeof(Growl.EmailForwardDestination), new StreamingContext(StreamingContextStates.All), dbss); base.AddSurrogate(typeof(Growl.UDPForwardDestination), new StreamingContext(StreamingContextStates.All), dbss); }
public SubscriptionSurrogateSelector() { DestinationBaseSerializationSurrogate dbss = new DestinationBaseSerializationSurrogate(); base.AddSurrogate(typeof(Growl.GNTPSubscription), new StreamingContext(StreamingContextStates.All), dbss); }