Esempio n. 1
0
 public SelectEventArgs(global::System.Collections.Generic.ICollection <global::Java.Lang.Integer> p0)
 {
     this.p0 = p0;
 }
Esempio n. 2
0
        public virtual unsafe global::Java.Lang.Object SetOnPushRegistrarCreatedListeners(global::System.Collections.Generic.ICollection <global::Org.Jboss.Aerogear.Android.Unifiedpush.IOnPushRegistrarCreatedListener> listeners)
        {
            if (id_setOnPushRegistrarCreatedListeners_Ljava_util_Collection_ == IntPtr.Zero)
            {
                id_setOnPushRegistrarCreatedListeners_Ljava_util_Collection_ = JNIEnv.GetMethodID(class_ref, "setOnPushRegistrarCreatedListeners", "(Ljava/util/Collection;)Lorg/jboss/aerogear/android/unifiedpush/PushConfiguration;");
            }
            IntPtr native_listeners = global::Android.Runtime.JavaCollection <global::Org.Jboss.Aerogear.Android.Unifiedpush.IOnPushRegistrarCreatedListener> .ToLocalJniHandle(listeners);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_listeners);

                global::Java.Lang.Object __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = (Java.Lang.Object)global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_setOnPushRegistrarCreatedListeners_Ljava_util_Collection_, __args), JniHandleOwnership.TransferLocalRef);
                }
                else
                {
                    __ret = (Java.Lang.Object)global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setOnPushRegistrarCreatedListeners", "(Ljava/util/Collection;)Lorg/jboss/aerogear/android/unifiedpush/PushConfiguration;"), __args), JniHandleOwnership.TransferLocalRef);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_listeners);
            }
        }
Esempio n. 3
0
		/// <summary>
		/// Returns an IElementVisitorFilter that corresponds to the ClosureType.
		/// </summary>
		/// <param name="type">closure type</param>
		/// <param name="rootElements">collection of root elements</param>
		/// <returns>IElementVisitorFilter or null</returns>
		public override DslModeling::IElementVisitorFilter GetClosureFilter(DslModeling::ClosureType type, global::System.Collections.Generic.ICollection<DslModeling::ModelElement> rootElements)
		{
			switch (type)
			{
				case DslModeling::ClosureType.CopyClosure:
					return ORMAbstractionToConceptualDatabaseBridgeDomainModel.CopyClosure;
				case DslModeling::ClosureType.DeleteClosure:
					return ORMAbstractionToConceptualDatabaseBridgeDomainModel.DeleteClosure;
			}
			return base.GetClosureFilter(type, rootElements);
		}
Esempio n. 4
0
        public virtual unsafe void Clear(global::System.Collections.Generic.ICollection <global::Java.Lang.Integer> p0, global::System.Collections.Generic.ICollection <global::Java.Lang.Integer> p1)
        {
            if (id_clear_Ljava_util_Set_Ljava_util_Set_ == IntPtr.Zero)
            {
                id_clear_Ljava_util_Set_Ljava_util_Set_ = JNIEnv.GetMethodID(class_ref, "clear", "(Ljava/util/Set;Ljava/util/Set;)V");
            }
            IntPtr native_p0 = global::Android.Runtime.JavaSet <global::Java.Lang.Integer> .ToLocalJniHandle(p0);

            IntPtr native_p1 = global::Android.Runtime.JavaSet <global::Java.Lang.Integer> .ToLocalJniHandle(p1);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(native_p1);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_clear_Ljava_util_Set_Ljava_util_Set_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "clear", "(Ljava/util/Set;Ljava/util/Set;)V"), __args);
                }
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
Esempio n. 5
0
        /// <summary>
        /// There are no comments for ApplyVAT in the schema.
        /// </summary>
        public static global::Microsoft.OData.Client.DataServiceActionQuerySingle <int> ApplyVAT(this global::Microsoft.OData.Client.DataServiceQuerySingle <global::ProductService.Models.Product> source, int vat, global::ProductService.Models.City manufacturedIn, global::System.Collections.Generic.ICollection <global::ProductService.Models.City> availableCities)
        {
            if (!source.IsComposable)
            {
                throw new global::System.NotSupportedException("The previous function is not composable.");
            }

            return(new global::Microsoft.OData.Client.DataServiceActionQuerySingle <int>(source.Context, source.AppendRequestUri("Default.ApplyVAT"), new global::Microsoft.OData.Client.BodyOperationParameter("vat", vat),
                                                                                         new global::Microsoft.OData.Client.BodyOperationParameter("manufacturedIn", manufacturedIn),
                                                                                         new global::Microsoft.OData.Client.BodyOperationParameter("availableCities", availableCities)));
        }
Esempio n. 6
0
        /// <summary>
        /// There are no comments for BulkInsert in the schema.
        /// </summary>
        public static global::Microsoft.OData.Client.DataServiceActionQuery <global::ProductService.Models.Supplier> BulkInsert(this global::Microsoft.OData.Client.DataServiceQuery <global::ProductService.Models.Supplier> source, global::System.Collections.Generic.ICollection <string> suppliers)
        {
            if (!source.IsComposable)
            {
                throw new global::System.NotSupportedException("The previous function is not composable.");
            }

            return(new global::Microsoft.OData.Client.DataServiceActionQuery <global::ProductService.Models.Supplier>(source.Context, source.AppendRequestUri("Default.BulkInsert"), new global::Microsoft.OData.Client.BodyOperationParameter("suppliers", suppliers)));
        }
Esempio n. 7
0
        public unsafe global::System.Collections.Generic.ICollection <string> GetStringSet(string key, global::System.Collections.Generic.ICollection <string> defValues)
        {
            const string __id             = "getStringSet.(Ljava/lang/String;Ljava/util/Set;)Ljava/util/Set;";
            IntPtr       native_key       = JNIEnv.NewString(key);
            IntPtr       native_defValues = global::Android.Runtime.JavaSet <string> .ToLocalJniHandle(defValues);

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue(native_key);
                __args [1] = new JniArgumentValue(native_defValues);
                var __rm = _members.InstanceMethods.InvokeAbstractObjectMethod(__id, this, __args);
                return(global::Android.Runtime.JavaSet <string> .FromJniHandle(__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
                JNIEnv.DeleteLocalRef(native_key);
                JNIEnv.DeleteLocalRef(native_defValues);
            }
        }
Esempio n. 8
0
        protected virtual void AddAnswersForServiceInfo(global::Javax.Jmdns.Impl.JmDNSImpl p0, global::System.Collections.Generic.ICollection <global::Javax.Jmdns.Impl.DNSRecord> p1, global::Javax.Jmdns.Impl.ServiceInfoImpl p2)
        {
            if (id_addAnswersForServiceInfo_Ljavax_jmdns_impl_JmDNSImpl_Ljava_util_Set_Ljavax_jmdns_impl_ServiceInfoImpl_ == IntPtr.Zero)
            {
                id_addAnswersForServiceInfo_Ljavax_jmdns_impl_JmDNSImpl_Ljava_util_Set_Ljavax_jmdns_impl_ServiceInfoImpl_ = JNIEnv.GetMethodID(class_ref, "addAnswersForServiceInfo", "(Ljavax/jmdns/impl/JmDNSImpl;Ljava/util/Set;Ljavax/jmdns/impl/ServiceInfoImpl;)V");
            }
            IntPtr native_p1 = global::Android.Runtime.JavaSet <global::Javax.Jmdns.Impl.DNSRecord> .ToLocalJniHandle(p1);

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_addAnswersForServiceInfo_Ljavax_jmdns_impl_JmDNSImpl_Ljava_util_Set_Ljavax_jmdns_impl_ServiceInfoImpl_, new JValue(p0), new JValue(native_p1), new JValue(p2));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, id_addAnswersForServiceInfo_Ljavax_jmdns_impl_JmDNSImpl_Ljava_util_Set_Ljavax_jmdns_impl_ServiceInfoImpl_, new JValue(p0), new JValue(native_p1), new JValue(p2));
            }
            JNIEnv.DeleteLocalRef(native_p1);
        }
        public unsafe PipelineDraweeControllerBuilder(global::Android.Content.Context context, global::Com.Facebook.Drawee.Backends.Pipeline.PipelineDraweeControllerFactory pipelineDraweeControllerFactory, global::Com.Facebook.Imagepipeline.Core.ImagePipeline imagePipeline, global::System.Collections.Generic.ICollection <global::Com.Facebook.Drawee.Controller.IControllerListener> boundControllerListeners)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            const string __id = "(Landroid/content/Context;Lcom/facebook/drawee/backends/pipeline/PipelineDraweeControllerFactory;Lcom/facebook/imagepipeline/core/ImagePipeline;Ljava/util/Set;)V";

            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_boundControllerListeners = global::Android.Runtime.JavaSet <global::Com.Facebook.Drawee.Controller.IControllerListener> .ToLocalJniHandle(boundControllerListeners);

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [4];
                __args [0] = new JniArgumentValue((context == null) ? IntPtr.Zero : ((global::Java.Lang.Object)context).Handle);
                __args [1] = new JniArgumentValue((pipelineDraweeControllerFactory == null) ? IntPtr.Zero : ((global::Java.Lang.Object)pipelineDraweeControllerFactory).Handle);
                __args [2] = new JniArgumentValue((imagePipeline == null) ? IntPtr.Zero : ((global::Java.Lang.Object)imagePipeline).Handle);
                __args [3] = new JniArgumentValue(native_boundControllerListeners);
                var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args);
                SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef);
                _members.InstanceMethods.FinishCreateInstance(__id, this, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_boundControllerListeners);
            }
        }
        public static unsafe bool IsScopeIntersects(global::System.Collections.Generic.ICollection <string> scopes, global::System.Collections.Generic.ICollection <string> otherScopes)
        {
            const string __id          = "isScopeIntersects.(Ljava/util/Set;Ljava/util/Set;)Z";
            IntPtr       native_scopes = global::Android.Runtime.JavaSet <string> .ToLocalJniHandle(scopes);

            IntPtr native_otherScopes = global::Android.Runtime.JavaSet <string> .ToLocalJniHandle(otherScopes);

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue(native_scopes);
                __args [1] = new JniArgumentValue(native_otherScopes);
                var __rm = _members.StaticMethods.InvokeBooleanMethod(__id, __args);
                return(__rm);
            } finally {
                JNIEnv.DeleteLocalRef(native_scopes);
                JNIEnv.DeleteLocalRef(native_otherScopes);
                global::System.GC.KeepAlive(scopes);
                global::System.GC.KeepAlive(otherScopes);
            }
        }
        public virtual unsafe global::System.Collections.Generic.ICollection <string> GetStringSet(string p0, string p1, global::System.Collections.Generic.ICollection <string> p2)
        {
            if (id_getStringSet_Ljava_lang_String_Ljava_lang_String_Ljava_util_Set_ == IntPtr.Zero)
            {
                id_getStringSet_Ljava_lang_String_Ljava_lang_String_Ljava_util_Set_ = JNIEnv.GetMethodID(class_ref, "getStringSet", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/Set;)Ljava/util/Set;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);
            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p2 = global::Android.Runtime.JavaSet <string> .ToLocalJniHandle(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(native_p2);

                global::System.Collections.Generic.ICollection <string> __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = global::Android.Runtime.JavaSet <string> .FromJniHandle(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getStringSet_Ljava_lang_String_Ljava_lang_String_Ljava_util_Set_, __args), JniHandleOwnership.TransferLocalRef);
                }
                else
                {
                    __ret = global::Android.Runtime.JavaSet <string> .FromJniHandle(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getStringSet", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/Set;)Ljava/util/Set;"), __args), JniHandleOwnership.TransferLocalRef);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
                JNIEnv.DeleteLocalRef(native_p1);
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
Esempio n. 12
0
        public static unsafe global::System.Collections.Generic.ICollection <object> Union(global::System.Collections.Generic.ICollection <object> p0, global::System.Collections.Generic.ICollection <object> p1)
        {
            if (id_union_Ljava_util_Set_Ljava_util_Set_ == IntPtr.Zero)
            {
                id_union_Ljava_util_Set_Ljava_util_Set_ = JNIEnv.GetStaticMethodID(class_ref, "union", "(Ljava/util/Set;Ljava/util/Set;)Ljava/util/Set;");
            }
            IntPtr native_p0 = global::Android.Runtime.JavaSet <object> .ToLocalJniHandle(p0);

            IntPtr native_p1 = global::Android.Runtime.JavaSet <object> .ToLocalJniHandle(p1);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(native_p1);
                global::System.Collections.Generic.ICollection <object> __ret = global::Android.Runtime.JavaSet <object> .FromJniHandle(JNIEnv.CallStaticObjectMethod(class_ref, id_union_Ljava_util_Set_Ljava_util_Set_, __args), JniHandleOwnership.TransferLocalRef);

                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
Esempio n. 13
0
        public unsafe global::System.Collections.Generic.IList <global::PSPDFKit.Annotations.Annotation> GetAnnotations(global::System.Collections.Generic.ICollection <global::Java.Lang.Integer> p0)
        {
            if (id_getAnnotations_LSystem_Collections_Generic_ICollection_1_ == IntPtr.Zero)
            {
                id_getAnnotations_LSystem_Collections_Generic_ICollection_1_ = JNIEnv.GetMethodID(class_ref, "getAnnotations", "(LSystem/Collections/Generic/ICollection;)Ljava/util/List;");
            }
            IntPtr native_p0 = global::Android.Runtime.JavaCollection <global::Java.Lang.Integer> .ToLocalJniHandle(p0);

            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(native_p0);
            global::System.Collections.Generic.IList <global::PSPDFKit.Annotations.Annotation> __ret = global::Android.Runtime.JavaList <global::PSPDFKit.Annotations.Annotation> .FromJniHandle(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getAnnotations_LSystem_Collections_Generic_ICollection_1_, __args), JniHandleOwnership.TransferLocalRef);

            JNIEnv.DeleteLocalRef(native_p0);
            return(__ret);
        }
Esempio n. 14
0
        /// <summary>
        /// Returns an IElementVisitorFilter that corresponds to the ClosureType.
        /// </summary>
        /// <param name="type">closure type</param>
        /// <param name="rootElements">collection of root elements</param>
        /// <returns>IElementVisitorFilter or null</returns>
        public override DslModeling::IElementVisitorFilter GetClosureFilter(DslModeling::ClosureType type, global::System.Collections.Generic.ICollection <DslModeling::ModelElement> rootElements)
        {
            switch (type)
            {
            case DslModeling::ClosureType.CopyClosure:
                return(FamilyTreeDSLDomainModel.CopyClosure);

            case DslModeling::ClosureType.DeleteClosure:
                return(FamilyTreeDSLDomainModel.DeleteClosure);
            }
            return(base.GetClosureFilter(type, rootElements));
        }
            public unsafe Update(global::Com.Facebook.Stetho.Inspector.Elements.ShadowDocument __self, global::System.Collections.Generic.IDictionary <global::Java.Lang.Object, global::Com.Facebook.Stetho.Inspector.Elements.ElementInfo> p0, global::System.Collections.Generic.ICollection <global::Java.Lang.Object> p1)
                : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
            {
                if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
                {
                    return;
                }

                IntPtr native_p0 = global::Android.Runtime.JavaDictionary <global::Java.Lang.Object, global::Com.Facebook.Stetho.Inspector.Elements.ElementInfo> .ToLocalJniHandle(p0);

                IntPtr native_p1 = global::Android.Runtime.JavaSet <global::Java.Lang.Object> .ToLocalJniHandle(p1);

                try {
                    JValue *__args = stackalloc JValue [3];
                    __args [0] = new JValue(__self);
                    __args [1] = new JValue(native_p0);
                    __args [2] = new JValue(native_p1);
                    if (GetType() != typeof(Update))
                    {
                        SetHandle(
                            global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Ljava/util/Map;Ljava/util/Set;)V", __args),
                            JniHandleOwnership.TransferLocalRef);
                        global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Ljava/util/Map;Ljava/util/Set;)V", __args);
                        return;
                    }

                    if (id_ctor_Lcom_facebook_stetho_inspector_elements_ShadowDocument_Ljava_util_Map_Ljava_util_Set_ == IntPtr.Zero)
                    {
                        id_ctor_Lcom_facebook_stetho_inspector_elements_ShadowDocument_Ljava_util_Map_Ljava_util_Set_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/facebook/stetho/inspector/elements/ShadowDocument;Ljava/util/Map;Ljava/util/Set;)V");
                    }
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_facebook_stetho_inspector_elements_ShadowDocument_Ljava_util_Map_Ljava_util_Set_, __args),
                        JniHandleOwnership.TransferLocalRef);
                    JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_facebook_stetho_inspector_elements_ShadowDocument_Ljava_util_Map_Ljava_util_Set_, __args);
                } finally {
                    JNIEnv.DeleteLocalRef(native_p0);
                    JNIEnv.DeleteLocalRef(native_p1);
                }
            }
Esempio n. 16
0
 public global::Microsoft.OData.Client.DataServiceQuerySingle <string> Foo6(global::System.Collections.Generic.ICollection <global::Namespace.Foo.TestType> p1, bool useEntityReference = false)
 {
     return(this.CreateFunctionQuerySingle <string>("", "foo6", false, new global::Microsoft.OData.Client.UriEntityOperationParameter("p1", p1, useEntityReference)));
 }
Esempio n. 17
0
        /// <summary>
        /// There are no comments for CheckOutMany in the schema.
        /// </summary>
        public static global::Microsoft.OData.Client.DataServiceActionQuery <global::ODataVerificationService.Models.Movie> CheckOutMany(this global::Microsoft.OData.Client.DataServiceQuery <global::ODataVerificationService.Models.Movie> source, global::System.Collections.Generic.ICollection <int> MovieIDs)
        {
            if (!source.IsComposable)
            {
                throw new global::System.NotSupportedException("The previous function is not composable.");
            }

            return(new global::Microsoft.OData.Client.DataServiceActionQuery <global::ODataVerificationService.Models.Movie>(source.Context, source.AppendRequestUri("ODataVerificationService.Models.CheckOutMany"), new global::Microsoft.OData.Client.BodyOperationParameter("MovieIDs", MovieIDs)));
        }