示例#1
0
        public static void ApplicationTrustEnumeratorCallMethods()
        {
            ApplicationTrustEnumerator ate = (ApplicationTrustEnumerator)Activator.CreateInstance(typeof(ApplicationTrustEnumerator), true);
            bool testbool = ate.MoveNext();

            ate.Reset();
        }
示例#2
0
        public static void ApplicationTrustEnumeratorCallMethods()
        {
            ApplicationTrustEnumerator ate = (ApplicationTrustEnumerator)FormatterServices.GetUninitializedObject(typeof(ApplicationTrustEnumerator));
            bool testbool = ate.MoveNext();

            ate.Reset();
        }
示例#3
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);
        }
示例#4
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);
        }