35 lines
1001 B
C#
35 lines
1001 B
C#
using System;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
/// <summary>Wraps objects the marshaler should marshal as a VT_UNKNOWN.</summary>
|
|
// Token: 0x02000360 RID: 864
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public sealed class UnknownWrapper
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.UnknownWrapper" /> class with the object to be wrapped.</summary>
|
|
/// <param name="obj">The object being wrapped. </param>
|
|
// Token: 0x060023A8 RID: 9128 RVA: 0x0007AB48 File Offset: 0x00078D48
|
|
public UnknownWrapper(object obj)
|
|
{
|
|
this.InternalObject = obj;
|
|
}
|
|
|
|
/// <summary>Gets the object contained by this wrapper.</summary>
|
|
/// <returns>The wrapped object.</returns>
|
|
// Token: 0x17000661 RID: 1633
|
|
// (get) Token: 0x060023A9 RID: 9129 RVA: 0x0007AB58 File Offset: 0x00078D58
|
|
public object WrappedObject
|
|
{
|
|
get
|
|
{
|
|
return this.InternalObject;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000E25 RID: 3621
|
|
private object InternalObject;
|
|
}
|
|
}
|