Property | Type | Description | |
---|---|---|---|
AddObjectHolder | void | ||
AddOnDeserialization | void | ||
AddOnDeserialized | void | ||
CanCallGetType | bool | ||
CompleteISerializableObject | void | ||
CompleteObject | void | ||
DoNewlyRegisteredObjectFixups | void | ||
DoValueTypeFixup | bool | ||
FindObjectHolder | |||
FindOrCreateObjectHolder | |||
FixupSpecialObject | void | ||
GetCompletionInfo | bool | ||
GetDeserializationConstructor | |||
ObjectManager | System.Diagnostics | ||
RaiseOnDeserializedEvent | void | ||
RegisterFixup | void | ||
RegisterString | void | ||
RemoveOnDeserialization | void | ||
ResolveObjectReference | bool |
Method | Description | |
---|---|---|
DoFixups ( ) : void | ||
GetObject ( long objectID ) : object | ||
ObjectManager ( System selector, System context ) : System | ||
ObjectManager ( ISurrogateSelector selector, |
||
RaiseDeserializationEvent ( ) : void | ||
RaiseOnDeserializingEvent ( object obj ) : void | ||
RecordArrayElementFixup ( long arrayToBeFixed, int index, long objectRequired ) : void | ||
RecordDelayedFixup ( long objectToBeFixed, string memberName, long objectRequired ) : void | ||
RecordFixup ( long objectToBeFixed, MemberInfo member, long objectRequired ) : void | ||
RecordFixup ( long objectToBeFixed, System member, long objectRequired ) : void | ||
RegisterObject ( object obj, long objectID ) : void | ||
RegisterObject ( object obj, long objectID, |
||
RegisterObject ( object obj, long objectID, |
||
RegisterObject ( object obj, long objectID, |
||
RegisterObject ( object obj, long objectID, System info ) : void | ||
RegisterObject ( object obj, long objectID, System info, long idOfContainingObj, System member ) : void | ||
RegisterObject ( object obj, long objectID, System info, long idOfContainingObj, System member, int arrayIndex ) : void |
Method | Description | |
---|---|---|
AddObjectHolder ( |
||
AddOnDeserialization ( DeserializationEventHandler handler ) : void | ||
AddOnDeserialized ( object obj ) : void | ||
CanCallGetType ( object obj ) : bool | ||
CompleteISerializableObject ( object obj, |
Completes an object implementing ISerializable. This will involve calling that objects constructor which takes an instance of ISerializable and a StreamingContext.
|
|
CompleteObject ( |
||
DoNewlyRegisteredObjectFixups ( |
This is called immediately after we register a new object. Walk that objects dependency list (if it has one) and decrement the counters on each object for the number of unsatisfiable references. If the count reaches 0, go ahead and process the object.
|
|
DoValueTypeFixup ( |
||
FindObjectHolder ( long objectID ) : |
||
FindOrCreateObjectHolder ( long objectID ) : |
||
FixupSpecialObject ( |
||
GetCompletionInfo ( |
||
GetDeserializationConstructor ( |
||
ObjectManager ( ISurrogateSelector selector, |
||
RaiseOnDeserializedEvent ( object obj ) : void | ||
RegisterFixup ( |
Do the actual grunt work of recording a fixup and registering the dependency. Create the necessary ObjectHolders and use them to do the addition.
|
|
RegisterString ( string obj, long objectID, |
||
RemoveOnDeserialization ( DeserializationEventHandler handler ) : void | ||
ResolveObjectReference ( |
Unfortunately, an ObjectReference could actually be a reference to another object reference and we don't know how far we have to tunnel until we can find the real object. While we're still getting instances of IObjectReference back and we're still getting new objects, keep calling GetRealObject. Once we've got the new object, take care of all of the fixups that we can do now that we've got it.
|
public ObjectManager ( System selector, System context ) : System | ||
selector | System | |
context | System | |
return | System |
public ObjectManager ( ISurrogateSelector selector, |
||
selector | ISurrogateSelector | |
context | ||
return | System.Diagnostics |
public RaiseOnDeserializingEvent ( object obj ) : void | ||
obj | object | |
return | void |
public RecordArrayElementFixup ( long arrayToBeFixed, int index, long objectRequired ) : void | ||
arrayToBeFixed | long | |
index | int | |
objectRequired | long | |
return | void |
public RecordDelayedFixup ( long objectToBeFixed, string memberName, long objectRequired ) : void | ||
objectToBeFixed | long | |
memberName | string | |
objectRequired | long | |
return | void |
public RecordFixup ( long objectToBeFixed, MemberInfo member, long objectRequired ) : void | ||
objectToBeFixed | long | |
member | MemberInfo | |
objectRequired | long | |
return | void |
public RecordFixup ( long objectToBeFixed, System member, long objectRequired ) : void | ||
objectToBeFixed | long | |
member | System | |
objectRequired | long | |
return | void |
public RegisterObject ( object obj, long objectID ) : void | ||
obj | object | |
objectID | long | |
return | void |
public RegisterObject ( object obj, long objectID, |
||
obj | object | |
objectID | long | |
info | ||
return | void |
public RegisterObject ( object obj, long objectID, |
||
obj | object | |
objectID | long | |
info | ||
idOfContainingObj | long | |
member | MemberInfo | |
return | void |
public RegisterObject ( object obj, long objectID, |
||
obj | object | |
objectID | long | |
info | ||
idOfContainingObj | long | |
member | MemberInfo | |
arrayIndex | int | |
return | void |
public RegisterObject ( object obj, long objectID, System info ) : void | ||
obj | object | |
objectID | long | |
info | System | |
return | void |
public RegisterObject ( object obj, long objectID, System info, long idOfContainingObj, System member ) : void | ||
obj | object | |
objectID | long | |
info | System | |
idOfContainingObj | long | |
member | System | |
return | void |
public RegisterObject ( object obj, long objectID, System info, long idOfContainingObj, System member, int arrayIndex ) : void | ||
obj | object | |
objectID | long | |
info | System | |
idOfContainingObj | long | |
member | System | |
arrayIndex | int | |
return | void |