The methods of the ICodeGroup interface are listed below. For a complete list of ICodeGroup interface members, see the ICodeGroup Members topic.
AddChild | Adds a child code group to this code group. |
Copy | Makes a deep copy of the code group. |
RemoveChild | Removes the specified child code group. |
Resolve | Resolve policy for the code group and its descendants for a set of evidence. Given evidence for an assembly to be loaded, this method evalutes the code group by first checking the membership condition against the evidence and if it matches returning a policy statement for the code group, including evaluation of child code groups.
The system uses Resolve() on the policy levels to determine what permissions to grant to loaded code from the resultant policy statements and the code request on the assembly. |