Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SurrogateSelector Members

Assists formatters in selection of the serialization surrogate to delegate the serialization or deserialization process to.

The following tables list the members exposed by the SurrogateSelector type.

  Name Description
Public method SurrogateSelector Initializes a new instance of the SurrogateSelector class.

(see also Protected Methods )
  Name Description
Public method AddSurrogate Adds a surrogate to the list of checked surrogates.
Public method ChainSelector Adds the specified ISurrogateSelector that can handle a particular object type to the list of surrogates.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetNextSelector Returns the next selector on the chain of selectors.
Public method GetSurrogate Returns the surrogate for a particular type.
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method RemoveSurrogate Removes the surrogate associated with a given type.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

Community Additions

© 2015 Microsoft