System.Security.Policy.CodeGroup Members

The members of System.Security.Policy.CodeGroup are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Public Properties

[read-only]
AttributeStringstring.

Gets a string representation of the attributes of the policy statement for the code group.

ChildrenIList.

Gets or sets an ordered list of the child code groups of a code group.

Descriptionstring.

Gets or sets the description of the code group.

MembershipConditionIMembershipCondition.

Gets or sets the code group's membership condition.

[read-only]
abstract
MergeLogicstring.

When overridden in a derived class, gets the merge logic for the code group.

Namestring.

Gets or sets the name of the code group.

[read-only]
PermissionSetNamestring.

Gets the name of the named permission set for the code group.

PolicyStatementPolicyStatement.

Gets or sets the policy statement associated with the code group.

Public Methods

AddChild(CodeGroup)

Adds a child code group to the current code group.

abstract
Copy() : CodeGroup

When overridden in a derived class, makes a deep copy of the current code group.

override
Equals(object) : bool

Determines whether the specified code group is equivalent to the current code group.

Equals(CodeGroup, bool) : bool

Determines whether the specified code group is equivalent to the current code group, checking the child code groups as well, if specified.

FromXml(System.Security.SecurityElement)

Reconstructs a security object with a given state from an XML encoding.

FromXml(System.Security.SecurityElement, PolicyLevel)

Reconstructs a security object with a given state and policy level from an XML encoding.

override
GetHashCode() : int

Gets the hash code of the current code group.

RemoveChild(CodeGroup)

Removes the specified child code group.

abstract
Resolve(Evidence) : PolicyStatement

When overridden in a derived class, resolves policy for the code group and its descendants for a set of evidence.

abstract
ResolveMatchingCodeGroups(Evidence) : CodeGroup

When overridden in a derived class, resolves matching code groups.

ToXml() : System.Security.SecurityElement

Creates an XML encoding of the security object and its current state.

ToXml(PolicyLevel) : System.Security.SecurityElement

Creates an XML encoding of the security object, its current state, and the policy level within which the code exists.

Protected Methods

CreateXml(System.Security.SecurityElement, PolicyLevel)

When overridden in a derived class, serializes properties and internal state specific to a derived code group and adds the serialization to the specified System.Security.SecurityElement.

ParseXml(System.Security.SecurityElement, PolicyLevel)

When overridden in a derived class, reconstructs properties and internal state specific to a derived code group from the specified System.Security.SecurityElement.