using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting
{
/// Wraps marshal-by-value object references, allowing them to be returned through an indirection.
// Token: 0x02000444 RID: 1092
[ComVisible(true)]
[ClassInterface(ClassInterfaceType.AutoDual)]
public class ObjectHandle : MarshalByRefObject, IObjectHandle
{
/// Initializes an instance of the class, wrapping the given object .
/// The object that is wrapped by the new .
// Token: 0x06002A01 RID: 10753 RVA: 0x00086CAC File Offset: 0x00084EAC
public ObjectHandle(object o)
{
this._wrapped = o;
}
/// Initializes the lifetime lease of the wrapped object.
/// An initialized that allows you to control the lifetime of the wrapped object.
///
///
///
// Token: 0x06002A02 RID: 10754 RVA: 0x00086CBC File Offset: 0x00084EBC
public override object InitializeLifetimeService()
{
return base.InitializeLifetimeService();
}
/// Returns the wrapped object.
/// The wrapped object.
// Token: 0x06002A03 RID: 10755 RVA: 0x00086CC4 File Offset: 0x00084EC4
public object Unwrap()
{
return this._wrapped;
}
// Token: 0x0400101D RID: 4125
private object _wrapped;
}
}