16 object usedEvidence =
null;
17 return ((IReportMatchMembershipCondition)
this).Check(evidence, out usedEvidence);
20 bool IReportMatchMembershipCondition.Check(
Evidence evidence, out
object usedEvidence)
37 return Environment.GetResourceString(
"All_ToString");
60 XMLUtil.AddClassAttribute(securityElement, GetType(),
"System.Security.Policy.AllMembershipCondition");
62 return securityElement;
76 if (!e.
Tag.Equals(
"IMembershipCondition"))
86 public override bool Equals(
object o)
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
override int GetHashCode()
Gets the hash code for the current membership condition.
Represents the security policy levels for the common language runtime. This class cannot be inherited...
void FromXml(SecurityElement e)
Reconstructs a security object with a specified state from an XML encoding.
string Tag
Gets or sets the tag name of an XML element.
void FromXml(SecurityElement e, PolicyLevel level)
Reconstructs a security object with a specified state from an XML encoding.
Provides information about, and means to manipulate, the current environment and platform....
SecurityElement ToXml(PolicyLevel level)
Creates an XML encoding of the security object and its current state with the specified T:System....
Defines the test to determine whether a code assembly is a member of a code group.
Represents the XML object model for encoding security objects. This class cannot be inherited.
IMembershipCondition Copy()
Creates an equivalent copy of the membership condition.
Defines the methods that convert permission object state to and from XML element representation.
override bool Equals(object o)
Determines whether the specified membership condition is an T:System.Security.Policy....
Represents a membership condition that matches all code. This class cannot be inherited.
The exception that is thrown when one of the arguments provided to a method is not valid.
Supports the methods that convert permission object state to and from an XML element representation.
override string ToString()
Creates and returns a string representation of the membership condition.
Defines the set of information that constitutes input to security policy decisions....
void AddAttribute(string name, string value)
Adds a name/value attribute to an XML element.
bool Check(Evidence evidence)
Determines whether the specified evidence satisfies the membership condition.
SecurityElement ToXml()
Creates an XML encoding of the security object and its current state.