System.Security.Policy.NetCodeGroup.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 System.Collections.DictionaryEntry[] GetConnectAccessRules() { return default(System.Collections.DictionaryEntry[]); }

Usage Example

Example #1
0
 public static void NetCodeGroupCallMethods()
 {
     NetCodeGroup ncg = new NetCodeGroup(new GacMembershipCondition());
     string teststring = NetCodeGroup.AbsentOriginScheme;
     teststring = NetCodeGroup.AnyOtherOriginScheme;
     ncg.AddConnectAccess("test", new CodeConnectAccess("test", 0));
     CodeGroup cg = ncg.Copy();
     bool equals = ncg.Equals(new object());
     System.Collections.DictionaryEntry[] de = ncg.GetConnectAccessRules();
     int hash = ncg.GetHashCode();
     ncg.ResetConnectAccess();
     PolicyStatement ps = ncg.Resolve(new Evidence());
     cg = ncg.ResolveMatchingCodeGroups(new Evidence());
 }
All Usage Examples Of System.Security.Policy.NetCodeGroup::Equals