C# Class Castle.DynamicProxy.Serialization.ProxyObjectReference

Inheritance: IObjectReference, ISerializable, IDeserializationCallback
Datei anzeigen Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetRealObject ( StreamingContext context ) : object
OnDeserialization ( object sender ) : void
RecreateClassProxy ( ) : object
RecreateClassProxy ( SerializationInfo info, StreamingContext context ) : object
RecreateInterfaceProxy ( ) : object
RecreateInterfaceProxy ( SerializationInfo info, StreamingContext context ) : object
ResetScope ( ) : void

Usefull for test cases

Protected Methods

Method Description
InvokeCallback ( object target ) : void
ProxyObjectReference ( SerializationInfo info, StreamingContext context ) : System
RecreateProxy ( ) : object
RecreateProxy ( SerializationInfo info, StreamingContext context ) : object

Private Methods

Method Description
DeserializeTypeFromString ( string key ) : Type
SetInterceptors ( IInterceptor interceptors ) : void
SetTarget ( object target ) : void

Method Details

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

GetRealObject() public method

public GetRealObject ( StreamingContext context ) : object
context System.Runtime.Serialization.StreamingContext
return object

InvokeCallback() protected method

protected InvokeCallback ( object target ) : void
target object
return void

OnDeserialization() public method

public OnDeserialization ( object sender ) : void
sender object
return void

ProxyObjectReference() protected method

protected ProxyObjectReference ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System

RecreateClassProxy() public method

public RecreateClassProxy ( ) : object
return object

RecreateClassProxy() public method

public RecreateClassProxy ( SerializationInfo info, StreamingContext context ) : object
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return object

RecreateInterfaceProxy() public method

public RecreateInterfaceProxy ( ) : object
return object

RecreateInterfaceProxy() public method

public RecreateInterfaceProxy ( SerializationInfo info, StreamingContext context ) : object
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return object

RecreateProxy() protected method

protected RecreateProxy ( ) : object
return object

RecreateProxy() protected method

protected RecreateProxy ( SerializationInfo info, StreamingContext context ) : object
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return object

ResetScope() public static method

Usefull for test cases
public static ResetScope ( ) : void
return void