2 implementations of ISurrogateSelector
mscorlib (2)
system\runtime\remoting\remotingsurrogateselector.cs (1)
31public class RemotingSurrogateSelector : ISurrogateSelector
system\runtime\serialization\surrogateselector.cs (1)
24public class SurrogateSelector : ISurrogateSelector {
79 references to ISurrogateSelector
mscorlib (52)
system\runtime\remoting\remotingsurrogateselector.cs (8)
40private ISurrogateSelector _next = null; 80public virtual void ChainSelector(ISurrogateSelector selector) {_next = selector;} 84public virtual ISerializationSurrogate GetSurrogate(Type type, StreamingContext context, out ISurrogateSelector ssout) 124public virtual ISurrogateSelector GetNextSelector() { return _next;} 168public virtual Object SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector) 202public virtual Object SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector) 406public virtual Object SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector) 543public virtual Object SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
system\runtime\serialization\formatter.cs (1)
208public abstract ISurrogateSelector SurrogateSelector {
system\runtime\serialization\formatters\binary\binaryformatter.cs (3)
45internal ISurrogateSelector m_surrogates; 80public ISurrogateSelector SurrogateSelector { 103public BinaryFormatter(ISurrogateSelector selector, StreamingContext context) {
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (13)
106internal static WriteObjectInfo Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder) 116internal void InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder) 122ISurrogateSelector surrogateSelectorTemp; 184internal static WriteObjectInfo Serialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, SerializationBinder binder) 193internal void InitSerialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, SerializationBinder binder) 210ISurrogateSelector surrogateSelectorTemp = null; 489internal ISurrogateSelector surrogateSelector = null; 518internal static ReadObjectInfo Create(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, bool bSimpleAssembly) 528internal void Init(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, bool bSimpleAssembly) 544internal static ReadObjectInfo Create(Type objectType, String[] memberNames, Type[] memberTypes, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, bool bSimpleAssembly) 553internal void Init(Type objectType, String[] memberNames, Type[] memberTypes, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, bool bSimpleAssembly) 574private void InitReadConstructor(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context) 584ISurrogateSelector surrogateSelectorTemp = null;
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (3)
40internal ISurrogateSelector m_surrogates; 110internal ObjectReader(Stream stream, ISurrogateSelector selector, StreamingContext context, InternalFE formatterEnums, SerializationBinder binder) 328ISurrogateSelector notUsed;
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (2)
39private ISurrogateSelector m_surrogates; 60internal ObjectWriter(ISurrogateSelector selector, StreamingContext context, InternalFE formatterEnums, SerializationBinder binder)
system\runtime\serialization\formatterservices.cs (1)
557public Object SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
system\runtime\serialization\iformatter.cs (1)
27ISurrogateSelector SurrogateSelector {
system\runtime\serialization\iserializationsurrogate.cs (1)
35Object SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector);
system\runtime\serialization\isurrogateselector.cs (3)
27void ChainSelector(ISurrogateSelector selector); 31ISerializationSurrogate GetSurrogate(Type type, StreamingContext context, out ISurrogateSelector selector); 36ISurrogateSelector GetNextSelector();
system\runtime\serialization\objectmanager.cs (5)
46internal ISurrogateSelector m_selector; 54public ObjectManager(ISurrogateSelector selector, StreamingContext context) : this(selector, context, true, false) { 58internal ObjectManager(ISurrogateSelector selector, StreamingContext context, bool checkSecurity, bool isCrossAppDomain) { 252ISurrogateSelector uselessSelector=null; 755ISurrogateSelector useless;
system\runtime\serialization\surrogateselector.cs (11)
27internal ISurrogateSelector m_nextSelector; 48private static bool HasCycle(ISurrogateSelector selector) { 49ISurrogateSelector head; 50ISurrogateSelector tail; 81public virtual void ChainSelector(ISurrogateSelector selector) { 82ISurrogateSelector temp; 83ISurrogateSelector tempCurr; 84ISurrogateSelector tempPrev; 85ISurrogateSelector tempEnd; 168public virtual ISurrogateSelector GetNextSelector() { 175public virtual ISerializationSurrogate GetSurrogate(Type type, StreamingContext context, out ISurrogateSelector selector) {
System.Runtime.Serialization (14)
System\Runtime\Serialization\NetDataContractSerializer.cs (10)
25ISurrogateSelector surrogateSelector; 46ISurrogateSelector surrogateSelector) 61ISurrogateSelector surrogateSelector) 77ISurrogateSelector surrogateSelector) 86ISurrogateSelector surrogateSelector) 102ISurrogateSelector surrogateSelector) 145public ISurrogateSelector SurrogateSelector 473static ISerializationSurrogate GetSurrogate(Type type, ISurrogateSelector surrogateSelector, StreamingContext context) 475ISurrogateSelector surrogateSelectorNotUsed; 479internal static DataContract GetDataContractFromSurrogateSelector(ISurrogateSelector surrogateSelector, StreamingContext context, RuntimeTypeHandle typeHandle, Type type, ref Hashtable surrogateDataContracts)
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (2)
35ISurrogateSelector surrogateSelector; 329ISurrogateSelector surrogateSelectorNotUsed;
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (2)
30ISurrogateSelector surrogateSelector; 281ISurrogateSelector surrogateSelectorNotUsed;
System.Web (2)
State\SessionStateUtil.cs (1)
26public static ISurrogateSelector SerializationSurrogateSelector {
UI\ObjectStateFormatter.cs (1)
1233ISurrogateSelector IFormatter.SurrogateSelector {
System.Workflow.ComponentModel (11)
AuthoringOM\Serializer\ActivityExecutorSurrogate.cs (1)
20public object SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
AuthoringOM\Serializer\ActivitySurrogate.cs (1)
113public object SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
AuthoringOM\Serializer\ActivitySurrogateSelector.cs (2)
38public override ISerializationSurrogate GetSurrogate(Type type, StreamingContext context, out ISurrogateSelector selector) 138public object SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
AuthoringOM\Serializer\DependencyStoreSurrogate.cs (1)
42object ISerializationSurrogate.SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
AuthoringOM\Serializer\DictionarySurrogate.cs (1)
50object ISerializationSurrogate.SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
AuthoringOM\Serializer\GenericQueueSurrogate.cs (1)
33object ISerializationSurrogate.SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
AuthoringOM\Serializer\ListSurrogate.cs (1)
34object ISerializationSurrogate.SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
AuthoringOM\Serializer\QueueSurrogate.cs (1)
26object ISerializationSurrogate.SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
AuthoringOM\Serializer\SimpleTypesSurrogate.cs (1)
31object ISerializationSurrogate.SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
AuthoringOM\Serializer\XmlDocumentSurrogate.cs (1)
23object ISerializationSurrogate.SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)