示例#1
0
        public static void ApplicationTrustCollectionCallMethods()
        {
            ApplicationTrustCollection atc = (ApplicationTrustCollection)Activator.CreateInstance(typeof(ApplicationTrustCollection), true);
            ApplicationTrust           at  = new ApplicationTrust();
            int testint = atc.Add(at);

            ApplicationTrust[] atarray = new ApplicationTrust[1];
            atc.AddRange(atarray);
            atc.AddRange(atc);
            atc.Clear();
            atc.CopyTo(atarray, 0);
            ApplicationTrustEnumerator ate = atc.GetEnumerator();

            atc.Remove(at);
            atc.RemoveRange(atarray);
            atc.RemoveRange(atc);
        }
示例#2
0
        public static void ApplicationTrustCollectionCallMethods()
        {
            ApplicationTrustCollection atc = (ApplicationTrustCollection)FormatterServices.GetUninitializedObject(typeof(ApplicationTrustCollection));
            ApplicationTrust           at  = new ApplicationTrust();
            int testint = atc.Add(at);

            ApplicationTrust[] atarray = new ApplicationTrust[1];
            atc.AddRange(atarray);
            atc.AddRange(atc);
            atc.Clear();
            atc.CopyTo(atarray, 0);
            ApplicationTrustEnumerator ate = atc.GetEnumerator();

            atc.Remove(at);
            atc.RemoveRange(atarray);
            atc.RemoveRange(atc);
        }
示例#3
0
 public void RemoveRange(ApplicationTrustCollection trusts)
 {
 }
示例#4
0
 public void AddRange(ApplicationTrustCollection trusts)
 {
 }
	public void AddRange(ApplicationTrustCollection trusts) {}
	public void RemoveRange(ApplicationTrustCollection trusts) {}