Files
Aug2021-Cpp2IL-Dump/mscorlib/System/Runtime/Remoting/Contexts/IContextProperty.cs
T
2026-04-10 22:50:51 +02:00

42 lines
1.5 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.Remoting.Contexts
{
/// <summary>Gathers naming information from the context property and determines whether the new context is ok for the context property.</summary>
// Token: 0x020004D4 RID: 1236
[Token(Token = "0x20004D4")]
[ComVisible(true)]
public interface IContextProperty
{
/// <summary>Gets the name of the property under which it will be added to the context.</summary>
/// <returns>The name of the property.</returns>
// Token: 0x17000595 RID: 1429
// (get) Token: 0x06002848 RID: 10312
[Token(Token = "0x17000595")]
string Name
{
[Token(Token = "0x6002848")]
[Address(Slot = "0")]
get;
}
/// <summary>Called when the context is frozen.</summary>
/// <param name="newContext">The context to freeze.</param>
// Token: 0x06002849 RID: 10313
[Token(Token = "0x6002849")]
[Address(Slot = "1")]
void Freeze(Context newContext);
/// <summary>Returns a Boolean value indicating whether the context property is compatible with the new context.</summary>
/// <param name="newCtx">The new context in which the <see cref="T:System.Runtime.Remoting.Contexts.ContextProperty" /> has been created.</param>
/// <returns>
/// <see langword="true" /> if the context property can coexist with the other context properties in the given context; otherwise, <see langword="false" />.</returns>
// Token: 0x0600284A RID: 10314
[Token(Token = "0x600284A")]
[Address(Slot = "2")]
bool IsNewContextOK(Context newCtx);
}
}