using System;
using System.Runtime.InteropServices;
namespace System.Security.Policy
{
/// Defines the test to determine whether a code assembly is a member of a code group.
// Token: 0x02000593 RID: 1427
[ComVisible(true)]
public interface IMembershipCondition : ISecurityEncodable, ISecurityPolicyEncodable
{
/// Determines whether the specified evidence satisfies the membership condition.
/// true if the specified evidence satisfies the membership condition; otherwise, false.
/// The evidence set against which to make the test.
// Token: 0x06003425 RID: 13349
bool Check(Evidence evidence);
/// Creates an equivalent copy of the membership condition.
/// A new, identical copy of the current membership condition.
// Token: 0x06003426 RID: 13350
IMembershipCondition Copy();
/// Determines whether the specified is equal to the current .
/// true if the specified is equal to the current ; otherwise, false.
/// The to compare with the current .
// Token: 0x06003427 RID: 13351
bool Equals(object obj);
/// Creates and returns a string representation of the membership condition.
/// A string representation of the state of the current membership condition.
// Token: 0x06003428 RID: 13352
string ToString();
}
}