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()); }
public void Resolve_Null () { NetCodeGroup cg = new NetCodeGroup (new AllMembershipCondition ()); cg.Resolve (null); }