Resolve() public method

public Resolve ( Evidence evidence ) : PolicyStatement
evidence Evidence
return PolicyStatement
示例#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());
 }
示例#2
0
		public void Resolve_Null () 
		{
			NetCodeGroup cg = new NetCodeGroup (new AllMembershipCondition ());
			cg.Resolve (null);
		}