System.Security.Policy.FileCodeGroup.Equals C# (CSharp) Method

Equals() public method

public Equals ( object o ) : bool
o object
return bool
    public override bool Equals(object o) => base.Equals(o);
    public override int GetHashCode() => base.GetHashCode();

Usage Example

Example #1
0
 public static void FileCodeGroupCallMethods()
 {
     FileCodeGroup fcg = new FileCodeGroup(new GacMembershipCondition(), new FileIOPermissionAccess());
     CodeGroup cg = fcg.Copy();
     bool equals = fcg.Equals(new object());
     int hash = fcg.GetHashCode();
     PolicyStatement ps = fcg.Resolve(new Evidence());
     cg = fcg.ResolveMatchingCodeGroups(new Evidence());
 }
All Usage Examples Of System.Security.Policy.FileCodeGroup::Equals