Files
Dec2017-Script-Dump/mscorlib/System/Runtime/Remoting/Contexts/ContextProperty.cs
T
2026-06-04 11:42:34 +02:00

52 lines
1.6 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Contexts
{
/// <summary>Holds the name/value pair of the property name and the object representing the property of a context.</summary>
// Token: 0x020003BD RID: 957
[ComVisible(true)]
public class ContextProperty
{
// Token: 0x0600261A RID: 9754 RVA: 0x0007DD90 File Offset: 0x0007BF90
private ContextProperty(string name, object prop)
{
this.name = name;
this.prop = prop;
}
/// <summary>Gets the name of the T:System.Runtime.Remoting.Contexts.ContextProperty class.</summary>
/// <returns>The name of the <see cref="T:System.Runtime.Remoting.Contexts.ContextProperty" /> class.</returns>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Infrastructure" />
/// </PermissionSet>
// Token: 0x1700071F RID: 1823
// (get) Token: 0x0600261B RID: 9755 RVA: 0x0007DDA8 File Offset: 0x0007BFA8
public virtual string Name
{
get
{
return this.name;
}
}
/// <summary>Gets the object representing the property of a context.</summary>
/// <returns>The object representing the property of a context.</returns>
// Token: 0x17000720 RID: 1824
// (get) Token: 0x0600261C RID: 9756 RVA: 0x0007DDB0 File Offset: 0x0007BFB0
public virtual object Property
{
get
{
return this.prop;
}
}
// Token: 0x04000EDD RID: 3805
private string name;
// Token: 0x04000EDE RID: 3806
private object prop;
}
}