<PackageReference Include="Castle.Core" Version="5.0.0" />

Castle.DynamicProxy.Serialization.ProxyObjectReference

Handles the deserialization of proxies.
namespace Castle.DynamicProxy.Serialization { public class ProxyObjectReference : IObjectReference, ISerializable, IDeserializationCallback { public static ModuleScope ModuleScope { get; } public static void ResetScope(); public static void SetScope(ModuleScope scope); protected ProxyObjectReference(SerializationInfo info, StreamingContext context); protected virtual object RecreateProxy(); public object RecreateInterfaceProxy(string generatorType); public object RecreateClassProxy(); protected void InvokeCallback(object target); public object GetRealObject(StreamingContext context); public void GetObjectData(SerializationInfo info, StreamingContext context); public void OnDeserialization(object sender); } }