42 lines
1.5 KiB
C#
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: 0x020004F0 RID: 1264
|
|
[Token(Token = "0x20004F0")]
|
|
[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: 0x1700060D RID: 1549
|
|
// (get) Token: 0x06002A55 RID: 10837
|
|
[Token(Token = "0x1700060D")]
|
|
string Name
|
|
{
|
|
[Token(Token = "0x6002A55")]
|
|
[Address(Slot = "0")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Called when the context is frozen.</summary>
|
|
/// <param name="newContext">The context to freeze.</param>
|
|
// Token: 0x06002A56 RID: 10838
|
|
[Token(Token = "0x6002A56")]
|
|
[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: 0x06002A57 RID: 10839
|
|
[Token(Token = "0x6002A57")]
|
|
[Address(Slot = "2")]
|
|
bool IsNewContextOK(Context newCtx);
|
|
}
|
|
}
|