35 lines
1.3 KiB
C#
35 lines
1.3 KiB
C#
using System;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
/// <summary>Specifies whether the type should be marshaled using the Automation marshaler or a custom proxy and stub.</summary>
|
|
// Token: 0x020002EF RID: 751
|
|
[ComVisible(true)]
|
|
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
|
|
public sealed class AutomationProxyAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.AutomationProxyAttribute" /> class.</summary>
|
|
/// <param name="val">true if the class should be marshaled using the Automation Marshaler; false if a proxy stub marshaler should be used. </param>
|
|
// Token: 0x060021BC RID: 8636 RVA: 0x00078FCC File Offset: 0x000771CC
|
|
public AutomationProxyAttribute(bool val)
|
|
{
|
|
this.val = val;
|
|
}
|
|
|
|
/// <summary>Gets a value indicating the type of marshaler to use.</summary>
|
|
/// <returns>true if the class should be marshaled using the Automation Marshaler; false if a proxy stub marshaler should be used.</returns>
|
|
// Token: 0x17000639 RID: 1593
|
|
// (get) Token: 0x060021BD RID: 8637 RVA: 0x00078FDC File Offset: 0x000771DC
|
|
public bool Value
|
|
{
|
|
get
|
|
{
|
|
return this.val;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000CBE RID: 3262
|
|
private bool val;
|
|
}
|
|
}
|