using System; using System.Runtime.InteropServices; using System.Runtime.Remoting.Activation; using Cpp2IlInjected; namespace System.Runtime.Remoting.Contexts { /// Identifies a context attribute. // Token: 0x020004D3 RID: 1235 [Token(Token = "0x20004D3")] [ComVisible(true)] public interface IContextAttribute { /// Returns context properties to the caller in the given message. /// The to which to add the context properties. // Token: 0x06002846 RID: 10310 [Token(Token = "0x6002846")] [Address(Slot = "0")] void GetPropertiesForNewContext(IConstructionCallMessage msg); /// Returns a Boolean value indicating whether the specified context meets the context attribute's requirements. /// The context to check against the current context attribute. /// The construction call, parameters of which need to be checked against the current context. /// /// if the passed in context is okay; otherwise, . // Token: 0x06002847 RID: 10311 [Token(Token = "0x6002847")] [Address(Slot = "1")] bool IsContextOK(Context ctx, IConstructionCallMessage msg); } }