Exemple #1
0
        protected override unsafe void LoadInterstitial(global::Android.Content.Context p0, global::com.mopub.mobileads.CustomEventInterstitial.ICustomEventInterstitialListener p1, global::System.Collections.Generic.IDictionary <string, global::Java.Lang.Object> p2, global::System.Collections.Generic.IDictionary <string, string> p3)
        {
            if (id_loadInterstitial_Landroid_content_Context_Lcom_mopub_mobileads_CustomEventInterstitial_CustomEventInterstitialListener_Ljava_util_Map_Ljava_util_Map_ == IntPtr.Zero)
            {
                id_loadInterstitial_Landroid_content_Context_Lcom_mopub_mobileads_CustomEventInterstitial_CustomEventInterstitialListener_Ljava_util_Map_Ljava_util_Map_ = JNIEnv.GetMethodID(class_ref, "loadInterstitial", "(Landroid/content/Context;Lcom/mopub/mobileads/CustomEventInterstitial$CustomEventInterstitialListener;Ljava/util/Map;Ljava/util/Map;)V");
            }
            IntPtr native_p2 = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .ToLocalJniHandle(p2);

            IntPtr native_p3 = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(p3);

            try {
                JValue *__args = stackalloc JValue [4];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                __args [3] = new JValue(native_p3);
                JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_loadInterstitial_Landroid_content_Context_Lcom_mopub_mobileads_CustomEventInterstitial_CustomEventInterstitialListener_Ljava_util_Map_Ljava_util_Map_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
                JNIEnv.DeleteLocalRef(native_p3);
            }
        }
Exemple #2
0
        protected override void GenerateTransformCode(string directiveName, global::System.Text.StringBuilder codeBuffer, global::System.CodeDom.Compiler.CodeDomProvider languageProvider, global::System.Collections.Generic.IDictionary <string, string> requiresArguments, global::System.Collections.Generic.IDictionary <string, string> providesArguments)
        {
            if ((global::System.StringComparer.OrdinalIgnoreCase.Compare(directiveName, supportedDirectiveName) == 0))
            {
                if (languageProvider != null)
                {
                    // Create a field to store the model once it is loaded
                    global::System.CodeDom.CodeMemberField rootElement = new global::System.CodeDom.CodeMemberField();
                    rootElement.Name       = providesArguments[providesModelParameter].ToLower(global::System.Globalization.CultureInfo.InvariantCulture) + "Value";
                    rootElement.Type       = new global::System.CodeDom.CodeTypeReference(typeof(global::EPAM.NHModelingLanguage.NHModel));
                    rootElement.Attributes = global::System.CodeDom.MemberAttributes.Private;

                    // Create a property for the Model that delay-loads the model
                    global::System.CodeDom.CodeMemberProperty rootElementProperty = new global::System.CodeDom.CodeMemberProperty();
                    rootElementProperty.Name       = providesArguments[providesModelParameter];
                    rootElementProperty.Type       = new global::System.CodeDom.CodeTypeReference(typeof(global::EPAM.NHModelingLanguage.NHModel));
                    rootElementProperty.Attributes = global::System.CodeDom.MemberAttributes.Private;
                    rootElementProperty.HasSet     = false;
                    rootElementProperty.HasGet     = true;
                    rootElementProperty.GetStatements.Add(new global::System.CodeDom.CodeMethodReturnStatement(new global::System.CodeDom.CodeFieldReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), rootElement.Name)));

                    // Create a helper method for resolving relative paths
                    global::System.CodeDom.CodeMemberMethod resolver = null;
                    if (!this.oneTimeCodeGenerated && global::System.IO.File.Exists(this.Host.TemplateFile))
                    {
                        resolver            = new global::System.CodeDom.CodeMemberMethod();
                        resolver.Name       = "Convert" + "NHModel" + "RelativePathToTemplateRelativePath";
                        resolver.ReturnType = new global::System.CodeDom.CodeTypeReference(typeof(string));
                        resolver.Parameters.Add(new global::System.CodeDom.CodeParameterDeclarationExpression(typeof(string), "path"));
                        resolver.Attributes = global::System.CodeDom.MemberAttributes.Public;
                        global::System.CodeDom.CodeVariableDeclarationStatement declaration = new global::System.CodeDom.CodeVariableDeclarationStatement(typeof(string), "modelPath", new global::System.CodeDom.CodePrimitiveExpression((string)(requiresArguments[requiresFileParameter])));
                        resolver.Statements.Add(declaration);
                        declaration = new global::System.CodeDom.CodeVariableDeclarationStatement(typeof(string), "templatePath", new global::System.CodeDom.CodePrimitiveExpression((string)(this.Host.TemplateFile)));
                        resolver.Statements.Add(declaration);
                        global::System.CodeDom.CodeMethodReturnStatement returnStatement = new global::System.CodeDom.CodeMethodReturnStatement(
                            new global::System.CodeDom.CodeMethodInvokeExpression(
                                new global::System.CodeDom.CodeMethodReferenceExpression(new global::System.CodeDom.CodeTypeReferenceExpression("Microsoft.VisualStudio.TextTemplating.VSHost.ModelingTextTransformation"), "ConvertModelRelativePathToTemplateRelativePath"),
                                new global::System.CodeDom.CodeVariableReferenceExpression("modelPath"),
                                new global::System.CodeDom.CodeVariableReferenceExpression("templatePath"),
                                new global::System.CodeDom.CodeVariableReferenceExpression("path")));
                        resolver.Statements.Add(returnStatement);
                    }

                    // Generate the actual code using the CodeDomProvider
                    global::System.CodeDom.Compiler.CodeGeneratorOptions options = new global::System.CodeDom.Compiler.CodeGeneratorOptions();
                    options.BlankLinesBetweenMembers = true;
                    options.IndentString             = "    ";
                    options.VerbatimOrder            = true;
                    options.BracingStyle             = "C";
                    using (global::System.IO.StringWriter writer = new global::System.IO.StringWriter(codeBuffer, global::System.Globalization.CultureInfo.InvariantCulture))
                    {
                        languageProvider.GenerateCodeFromMember(rootElement, writer, options);
                        languageProvider.GenerateCodeFromMember(rootElementProperty, writer, options);
                        if (resolver != null)
                        {
                            languageProvider.GenerateCodeFromMember(resolver, writer, options);
                        }
                    }
                    this.oneTimeCodeGenerated = true;
                }
            }
        }
Exemple #3
0
        protected override void GeneratePostInitializationCode(string directiveName, global::System.Text.StringBuilder codeBuffer, global::System.CodeDom.Compiler.CodeDomProvider languageProvider, global::System.Collections.Generic.IDictionary <string, string> requiresArguments, global::System.Collections.Generic.IDictionary <string, string> providesArguments)
        {
            if ((global::System.StringComparer.OrdinalIgnoreCase.Compare(directiveName, supportedDirectiveName) == 0))
            {
                // We check the encoding of the model file, and ask the host to use that
                // encoding to write the output. This is to make sure we use the correct encoding
                // if the model file contains international characters that could be used in
                // the template output.
                string fileName = requiresArguments[requiresFileParameter];
                if (!string.IsNullOrEmpty(fileName) && global::System.IO.File.Exists(fileName))
                {
                    Host.SetOutputEncoding(VSTextTemplating::EncodingHelper.GetEncoding(fileName), false);
                }

                if (languageProvider != null)
                {
                    global::System.CodeDom.CodeMethodInvokeExpression invokeLoad;
                    global::System.String transactionName = providesArguments[providesModelParameter].ToLower(global::System.Globalization.CultureInfo.InvariantCulture) + "Transaction";
                    global::System.CodeDom.CodeVariableDeclarationStatement transactionDeclaration = new global::System.CodeDom.CodeVariableDeclarationStatement(new global::System.CodeDom.CodeTypeReference(typeof(DslModeling::Transaction)), transactionName, new global::System.CodeDom.CodePrimitiveExpression(null));
                    global::System.CodeDom.CodeStatement finallyStatement = new global::System.CodeDom.CodeConditionStatement(new global::System.CodeDom.CodeBinaryOperatorExpression(new global::System.CodeDom.CodeVariableReferenceExpression(transactionName), global::System.CodeDom.CodeBinaryOperatorType.IdentityInequality, new global::System.CodeDom.CodePrimitiveExpression(null)), new global::System.CodeDom.CodeExpressionStatement(new global::System.CodeDom.CodeMethodInvokeExpression(new global::System.CodeDom.CodeVariableReferenceExpression(transactionName), "Dispose")));
                    global::System.Collections.Generic.List <global::System.CodeDom.CodeStatement> txTryStatements = new global::System.Collections.Generic.List <global::System.CodeDom.CodeStatement>();
                    global::System.CodeDom.CodeVariableDeclarationStatement serializationResultDeclaration         = new global::System.CodeDom.CodeVariableDeclarationStatement(new global::System.CodeDom.CodeTypeReference(typeof(DslModeling::SerializationResult)), "serializationResult", new global::System.CodeDom.CodeObjectCreateExpression(new global::System.CodeDom.CodeTypeReference(typeof(DslModeling::SerializationResult))));

                    global::System.CodeDom.CodeMethodInvokeExpression       invokeEnableDiagramRules = null;
                    global::System.CodeDom.CodeVariableDeclarationStatement diagramFileDeclaration   = null;
                    global::System.CodeDom.CodeAssignStatement diagramFileAssign = null;
                    if (LoadDiagramData)
                    {
                        // generate code to enable diagram fixup rules and load the diagram if required.
                        invokeEnableDiagramRules = new global::System.CodeDom.CodeMethodInvokeExpression(
                            new global::System.CodeDom.CodeMethodReferenceExpression(new global::System.CodeDom.CodeTypeReferenceExpression("NHModelingLanguageDomainModel"), "EnableDiagramRules"), new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "Store"));
                        diagramFileDeclaration = new global::System.CodeDom.CodeVariableDeclarationStatement(new global::System.CodeDom.CodeTypeReference("System.String"), "diagramFileName");
                        diagramFileAssign      = new global::System.CodeDom.CodeAssignStatement(new global::System.CodeDom.CodeVariableReferenceExpression("diagramFileName"), new global::System.CodeDom.CodeBinaryOperatorExpression(new global::System.CodeDom.CodePrimitiveExpression(requiresArguments[requiresFileParameter]), global::System.CodeDom.CodeBinaryOperatorType.Add, new global::System.CodeDom.CodePrimitiveExpression(".diagram")));
                        invokeLoad             = new global::System.CodeDom.CodeMethodInvokeExpression(
                            new global::System.CodeDom.CodeMethodReferenceExpression(new global::System.CodeDom.CodeFieldReferenceExpression(new global::System.CodeDom.CodeTypeReferenceExpression(typeof(NHModelingLanguageSerializationHelper)), "Instance"), "LoadModelAndDiagram"), new global::System.CodeDom.CodeVariableReferenceExpression("serializationResult"), new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "Store"), new global::System.CodeDom.CodePrimitiveExpression(requiresArguments[requiresFileParameter]), new global::System.CodeDom.CodeVariableReferenceExpression("diagramFileName"), new global::System.CodeDom.CodePrimitiveExpression(null), new global::System.CodeDom.CodePrimitiveExpression(null), new global::System.CodeDom.CodePrimitiveExpression(null));
                    }
                    else
                    {
                        invokeLoad = new global::System.CodeDom.CodeMethodInvokeExpression(
                            new global::System.CodeDom.CodeMethodReferenceExpression(new global::System.CodeDom.CodeFieldReferenceExpression(new global::System.CodeDom.CodeTypeReferenceExpression(typeof(NHModelingLanguageSerializationHelper)), "Instance"), "LoadModel"), new global::System.CodeDom.CodeVariableReferenceExpression("serializationResult"), new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "Store"), new global::System.CodeDom.CodePrimitiveExpression(requiresArguments[requiresFileParameter]), new global::System.CodeDom.CodePrimitiveExpression(null), new global::System.CodeDom.CodePrimitiveExpression(null), new global::System.CodeDom.CodePrimitiveExpression(null));
                    }

                    global::System.CodeDom.CodeAssignStatement loadAssign = new global::System.CodeDom.CodeAssignStatement(new global::System.CodeDom.CodeFieldReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), providesArguments[providesModelParameter].ToLower(global::System.Globalization.CultureInfo.InvariantCulture) + "Value"), invokeLoad);
                    txTryStatements.Add(serializationResultDeclaration);
                    txTryStatements.Add(new global::System.CodeDom.CodeAssignStatement(new global::System.CodeDom.CodeVariableReferenceExpression(transactionName), new global::System.CodeDom.CodeMethodInvokeExpression(new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "Store"), "TransactionManager"), "BeginTransaction", new global::System.CodeDom.CodePrimitiveExpression("Load"), new global::System.CodeDom.CodePrimitiveExpression(true))));
                    txTryStatements.Add(loadAssign);
                    global::System.CodeDom.CodeConditionStatement serializationResultCheck = new global::System.CodeDom.CodeConditionStatement(
                        new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodeVariableReferenceExpression("serializationResult"), "Failed"),
                        new global::System.CodeDom.CodeThrowExceptionStatement(new global::System.CodeDom.CodeObjectCreateExpression(new global::System.CodeDom.CodeTypeReference(typeof(DslModeling::SerializationException)), new global::System.CodeDom.CodeVariableReferenceExpression("serializationResult")))
                        );
                    txTryStatements.Add(serializationResultCheck);
                    txTryStatements.Add(new global::System.CodeDom.CodeExpressionStatement(new global::System.CodeDom.CodeMethodInvokeExpression(new global::System.CodeDom.CodeVariableReferenceExpression(transactionName), "Commit")));
                    global::System.CodeDom.CodeTryCatchFinallyStatement txTryStatement = new global::System.CodeDom.CodeTryCatchFinallyStatement(txTryStatements.ToArray(), new global::System.CodeDom.CodeCatchClause[] { }, new global::System.CodeDom.CodeStatement[] { finallyStatement });


                    // We check if the user has requested validation to be performed. If so, we call
                    // ValidateStore() on the base ModelingTextTransformation class.
                    string validationCategories = requiresArguments[requiresValidationParameter];
                    global::System.CodeDom.CodeMethodInvokeExpression validationInvoke = null;
                    if (!string.IsNullOrEmpty(validationCategories))
                    {
                        validationInvoke = new global::System.CodeDom.CodeMethodInvokeExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "ValidateStore", new global::System.CodeDom.CodePrimitiveExpression(validationCategories), new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "Errors"));
                    }

                    global::System.CodeDom.Compiler.CodeGeneratorOptions options = new global::System.CodeDom.Compiler.CodeGeneratorOptions();
                    options.BlankLinesBetweenMembers = true;
                    options.IndentString             = "    ";
                    options.VerbatimOrder            = true;
                    options.BracingStyle             = "C";
                    using (global::System.IO.StringWriter writer = new global::System.IO.StringWriter(codeBuffer, global::System.Globalization.CultureInfo.InvariantCulture))
                    {
                        if (invokeEnableDiagramRules != null)
                        {
                            languageProvider.GenerateCodeFromStatement(new global::System.CodeDom.CodeExpressionStatement(invokeEnableDiagramRules), writer, options);
                        }

                        if (diagramFileDeclaration != null)
                        {
                            languageProvider.GenerateCodeFromStatement(diagramFileDeclaration, writer, options);
                            languageProvider.GenerateCodeFromStatement(diagramFileAssign, writer, options);
                        }

                        languageProvider.GenerateCodeFromStatement(transactionDeclaration, writer, options);
                        languageProvider.GenerateCodeFromStatement(txTryStatement, writer, options);

                        if (validationInvoke != null)
                        {
                            languageProvider.GenerateCodeFromStatement(new global::System.CodeDom.CodeExpressionStatement(validationInvoke), writer, options);
                        }
                    }
                }
            }
        }
Exemple #4
0
 // uint Size { get }
 public static uint get_Size <K, V>(
     global::System.Collections.Generic.IDictionary <K, V> _this
     )
 {
     return((uint)_this.Count);
 }
Exemple #5
0
 // void Clear()
 public static void Clear <K, V>(
     global::System.Collections.Generic.IDictionary <K, V> _this
     )
 {
     _this.Clear();
 }
Exemple #6
0
        public static unsafe global::Com.Alibaba.Mtl.Appmonitor.Model.UTDimensionValueSet Create(global::System.Collections.Generic.IDictionary <string, string> rawMsg)
        {
            if (id_create_Ljava_util_Map_ == IntPtr.Zero)
            {
                id_create_Ljava_util_Map_ = JNIEnv.GetStaticMethodID(class_ref, "create", "(Ljava/util/Map;)Lcom/alibaba/mtl/appmonitor/model/UTDimensionValueSet;");
            }
            IntPtr native_rawMsg = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(rawMsg);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_rawMsg);
                global::Com.Alibaba.Mtl.Appmonitor.Model.UTDimensionValueSet __ret = global::Java.Lang.Object.GetObject <global::Com.Alibaba.Mtl.Appmonitor.Model.UTDimensionValueSet> (JNIEnv.CallStaticObjectMethod(class_ref, id_create_Ljava_util_Map_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_rawMsg);
            }
        }
 /// <summary>Creates an instance of the HttpPipeline for each call.</summary>
 /// <param name="invocationInfo">The <see cref="System.Management.Automation.InvocationInfo" /> from the cmdlet</param>
 /// <param name="correlationId">the cmdlet's correlation id.</param>
 /// <param name="processRecordId">the cmdlet's process record correlation id.</param>
 /// <param name="parameterSetName">the cmdlet's parameterset name.</param>
 /// <param name="extensibleParameters">a dict for extensible parameters</param>
 /// <returns>An instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Runtime.HttpPipeline for the remote call.</returns>
 public Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Runtime.HttpPipeline CreatePipeline(global::System.Management.Automation.InvocationInfo invocationInfo, string correlationId, string processRecordId, string parameterSetName = null, global::System.Collections.Generic.IDictionary <string, object> extensibleParameters = null)
 {
     Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Runtime.HttpPipeline pipeline = null;
     BeforeCreatePipeline(invocationInfo, ref pipeline);
     pipeline = (pipeline ?? (_useProxy ? _pipelineWithProxy : _pipeline)).Clone();
     AfterCreatePipeline(invocationInfo, ref pipeline);
     pipeline.Append(new Runtime.CmdInfoHandler(processRecordId, invocationInfo, parameterSetName).SendAsync);
     OnNewRequest?.Invoke(invocationInfo, correlationId, processRecordId, (step) => { pipeline.Prepend(step); }, (step) => { pipeline.Append(step); });
     return(pipeline);
 }
        protected override unsafe global::System.Collections.Generic.IDictionary <string, global::Java.Lang.Object> FilterFriendshipInfo(int action, global::System.Collections.Generic.IDictionary <string, global::Java.Lang.Object> res)
        {
            const string __id       = "filterFriendshipInfo.(ILjava/util/HashMap;)Ljava/util/HashMap;";
            IntPtr       native_res = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .ToLocalJniHandle(res);

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue(action);
                __args [1] = new JniArgumentValue(native_res);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .FromJniHandle(__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
                JNIEnv.DeleteLocalRef(native_res);
            }
        }
 public CarouselSlide(global::System.Collections.Generic.IDictionary <string, string> searchFields) :
     base(searchFields)
 {
 }
        public unsafe global::System.Collections.Generic.IList <global::Android.Util.Pair> Adapt(global::System.Collections.Generic.IDictionary <string, string> p0)
        {
            if (id_adapt_Ljava_util_Map_ == IntPtr.Zero)
            {
                id_adapt_Ljava_util_Map_ = JNIEnv.GetMethodID(class_ref, "adapt", "(Ljava/util/Map;)Ljava/util/List;");
            }
            IntPtr native_p0 = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(p0);

            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(native_p0);
            var __ret = global::Android.Runtime.JavaList <global::Android.Util.Pair> .FromJniHandle(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_adapt_Ljava_util_Map_, __args), JniHandleOwnership.TransferLocalRef);

            JNIEnv.DeleteLocalRef(native_p0);
            return(__ret);
        }
        protected override unsafe void DoCustomerProtocol(string url, string method, int customerAction, global::System.Collections.Generic.IDictionary <string, global::Java.Lang.Object> values, global::System.Collections.Generic.IDictionary <string, string> filePathes)
        {
            const string __id          = "doCustomerProtocol.(Ljava/lang/String;Ljava/lang/String;ILjava/util/HashMap;Ljava/util/HashMap;)V";
            IntPtr       native_url    = JNIEnv.NewString(url);
            IntPtr       native_method = JNIEnv.NewString(method);
            IntPtr       native_values = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .ToLocalJniHandle(values);

            IntPtr native_filePathes = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(filePathes);

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [5];
                __args [0] = new JniArgumentValue(native_url);
                __args [1] = new JniArgumentValue(native_method);
                __args [2] = new JniArgumentValue(customerAction);
                __args [3] = new JniArgumentValue(native_values);
                __args [4] = new JniArgumentValue(native_filePathes);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_url);
                JNIEnv.DeleteLocalRef(native_method);
                JNIEnv.DeleteLocalRef(native_values);
                JNIEnv.DeleteLocalRef(native_filePathes);
            }
        }
Exemple #12
0
        public void SpdyOnStreamResponse(global::Org.Android.Spdy.SpdySession p0, long p1, global::System.Collections.Generic.IDictionary <string, global::System.Collections.Generic.IList <string> > p2, global::Java.Lang.Object p3)
        {
            if (id_spdyOnStreamResponse_Lorg_android_spdy_SpdySession_JLjava_util_Map_Ljava_lang_Object_ == IntPtr.Zero)
            {
                id_spdyOnStreamResponse_Lorg_android_spdy_SpdySession_JLjava_util_Map_Ljava_lang_Object_ = JNIEnv.GetMethodID(class_ref, "spdyOnStreamResponse", "(Lorg/android/spdy/SpdySession;JLjava/util/Map;Ljava/lang/Object;)V");
            }
            IntPtr native_p2 = global::Android.Runtime.JavaDictionary <string, global::System.Collections.Generic.IList <string> > .ToLocalJniHandle(p2);

            JNIEnv.CallVoidMethod(Handle, id_spdyOnStreamResponse_Lorg_android_spdy_SpdySession_JLjava_util_Map_Ljava_lang_Object_, new JValue(p0), new JValue(p1), new JValue(native_p2), new JValue(p3));
            JNIEnv.DeleteLocalRef(native_p2);
        }
Exemple #13
0
        public void Connect(global::Java.Lang.Object p0, global::Android.Content.Context p1, string p2, global::System.Collections.Generic.IDictionary <string, string> p3, long p4, global::Org.Android.Agoo.Net.Channel.IPushHandler p5, global::Com.Umeng.Message.Proguard.AT p6, string p7)
        {
            if (id_connect_Ljava_lang_Object_Landroid_content_Context_Ljava_lang_String_Ljava_util_Map_JLorg_android_agoo_net_channel_IPushHandler_Lcom_umeng_message_proguard_aT_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_connect_Ljava_lang_Object_Landroid_content_Context_Ljava_lang_String_Ljava_util_Map_JLorg_android_agoo_net_channel_IPushHandler_Lcom_umeng_message_proguard_aT_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "connect", "(Ljava/lang/Object;Landroid/content/Context;Ljava/lang/String;Ljava/util/Map;JLorg/android/agoo/net/channel/IPushHandler;Lcom/umeng/message/proguard/aT;Ljava/lang/String;)V");
            }
            IntPtr native_p2 = JNIEnv.NewString(p2);
            IntPtr native_p3 = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(p3);

            IntPtr native_p7 = JNIEnv.NewString(p7);

            JNIEnv.CallVoidMethod(Handle, id_connect_Ljava_lang_Object_Landroid_content_Context_Ljava_lang_String_Ljava_util_Map_JLorg_android_agoo_net_channel_IPushHandler_Lcom_umeng_message_proguard_aT_Ljava_lang_String_, new JValue(p0), new JValue(p1), new JValue(native_p2), new JValue(native_p3), new JValue(p4), new JValue(p5), new JValue(p6), new JValue(native_p7));
            JNIEnv.DeleteLocalRef(native_p2);
            JNIEnv.DeleteLocalRef(native_p3);
            JNIEnv.DeleteLocalRef(native_p7);
        }
        public static unsafe global::com.mopub.mobileads.CustomEventBannerAdapter Create(global::com.mopub.mobileads.MoPubView p0, string p1, global::System.Collections.Generic.IDictionary <string, string> p2, long p3, global::com.mopub.common.AdReport p4)
        {
            if (id_create_Lcom_mopub_mobileads_MoPubView_Ljava_lang_String_Ljava_util_Map_JLcom_mopub_common_AdReport_ == IntPtr.Zero)
            {
                id_create_Lcom_mopub_mobileads_MoPubView_Ljava_lang_String_Ljava_util_Map_JLcom_mopub_common_AdReport_ = JNIEnv.GetStaticMethodID(class_ref, "create", "(Lcom/mopub/mobileads/MoPubView;Ljava/lang/String;Ljava/util/Map;JLcom/mopub/common/AdReport;)Lcom/mopub/mobileads/CustomEventBannerAdapter;");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p2 = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(p2);

            try {
                JValue *__args = stackalloc JValue [5];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(native_p2);
                __args [3] = new JValue(p3);
                __args [4] = new JValue(p4);
                global::com.mopub.mobileads.CustomEventBannerAdapter __ret = global::Java.Lang.Object.GetObject <global::com.mopub.mobileads.CustomEventBannerAdapter> (JNIEnv.CallStaticObjectMethod(class_ref, id_create_Lcom_mopub_mobileads_MoPubView_Ljava_lang_String_Ljava_util_Map_JLcom_mopub_common_AdReport_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
        protected override unsafe void loadNativeAd(global::Android.App.Activity p0, global::Com.Mopub.Nativeads.CustomEventNative.ICustomEventNativeListener p1, global::System.Collections.Generic.IDictionary <string, global::Java.Lang.Object> p2, global::System.Collections.Generic.IDictionary <string, string> p3)
        {
            if (id_loadNativeAd_Landroid_app_Activity_Lcom_mopub_nativeads_CustomEventNative_CustomEventNativeListener_Ljava_util_Map_Ljava_util_Map_ == IntPtr.Zero)
            {
                id_loadNativeAd_Landroid_app_Activity_Lcom_mopub_nativeads_CustomEventNative_CustomEventNativeListener_Ljava_util_Map_Ljava_util_Map_ = JNIEnv.GetMethodID(class_ref, "loadNativeAd", "(Landroid/app/Activity;Lcom/mopub/nativeads/CustomEventNative$CustomEventNativeListener;Ljava/util/Map;Ljava/util/Map;)V");
            }
            IntPtr native_p2 = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .ToLocalJniHandle(p2);

            IntPtr native_p3 = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(p3);

            try {
                JValue *__args = stackalloc JValue [4];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                __args [3] = new JValue(native_p3);
                JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_loadNativeAd_Landroid_app_Activity_Lcom_mopub_nativeads_CustomEventNative_CustomEventNativeListener_Ljava_util_Map_Ljava_util_Map_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
                JNIEnv.DeleteLocalRef(native_p3);
            }
        }
 public ItemListingSettings(global::System.Collections.Generic.IDictionary <string, string> searchFields) :
     base(searchFields)
 {
 }
Exemple #17
0
 /// <summary>
 /// Get an entity of type global::Namespace.Foo.DSC.SingleType as global::Namespace.Foo.DSC.SingleTypeSingle specified by key from an entity set
 /// </summary>
 /// <param name="_source">source entity set</param>
 /// <param name="_keys">dictionary with the names and values of keys</param>
 public static global::Namespace.Foo.DSC.SingleTypeSingle ByKey(this global::Microsoft.OData.Client.DataServiceQuery <global::Namespace.Foo.DSC.SingleType> _source, global::System.Collections.Generic.IDictionary <string, object> _keys)
 {
     return(new global::Namespace.Foo.DSC.SingleTypeSingle(_source.Context, _source.GetKeyPath(global::Microsoft.OData.Client.Serializer.GetKeyString(_source.Context, _keys))));
 }
 public Synthesis.IStandardTemplateItem CreateInstanceFromSearch(global::System.Collections.Generic.IDictionary <string, string> searchFields)
 {
     return(new ItemListingSettings(searchFields));
 }
Exemple #19
0
        public unsafe ApiFrontOfficeQPResponse(string p0, long p1, string p2, string p3, string p4, string p5, string p6, string p7, string p8, string p9, global::System.Collections.Generic.IDictionary <string, string> p10)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p0  = JNIEnv.NewString(p0);
            IntPtr native_p2  = JNIEnv.NewString(p2);
            IntPtr native_p3  = JNIEnv.NewString(p3);
            IntPtr native_p4  = JNIEnv.NewString(p4);
            IntPtr native_p5  = JNIEnv.NewString(p5);
            IntPtr native_p6  = JNIEnv.NewString(p6);
            IntPtr native_p7  = JNIEnv.NewString(p7);
            IntPtr native_p8  = JNIEnv.NewString(p8);
            IntPtr native_p9  = JNIEnv.NewString(p9);
            IntPtr native_p10 = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(p10);

            try {
                JValue *__args = stackalloc JValue [11];
                __args [0]  = new JValue(native_p0);
                __args [1]  = new JValue(p1);
                __args [2]  = new JValue(native_p2);
                __args [3]  = new JValue(native_p3);
                __args [4]  = new JValue(native_p4);
                __args [5]  = new JValue(native_p5);
                __args [6]  = new JValue(native_p6);
                __args [7]  = new JValue(native_p7);
                __args [8]  = new JValue(native_p8);
                __args [9]  = new JValue(native_p9);
                __args [10] = new JValue(native_p10);
                if (((object)this).GetType() != typeof(ApiFrontOfficeQPResponse))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/HashMap;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/HashMap;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_lang_String_JLjava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_util_HashMap_ == IntPtr.Zero)
                {
                    id_ctor_Ljava_lang_String_JLjava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_util_HashMap_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/HashMap;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_JLjava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_util_HashMap_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_JLjava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_util_HashMap_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
                JNIEnv.DeleteLocalRef(native_p2);
                JNIEnv.DeleteLocalRef(native_p3);
                JNIEnv.DeleteLocalRef(native_p4);
                JNIEnv.DeleteLocalRef(native_p5);
                JNIEnv.DeleteLocalRef(native_p6);
                JNIEnv.DeleteLocalRef(native_p7);
                JNIEnv.DeleteLocalRef(native_p8);
                JNIEnv.DeleteLocalRef(native_p9);
                JNIEnv.DeleteLocalRef(native_p10);
            }
        }
        public static global::Com.Adobe.Mobile.TargetLocationRequest CreateRequest(string p0, string p1, global::System.Collections.Generic.IDictionary <string, global::Java.Lang.Object> p2)
        {
            if (id_createRequest_Ljava_lang_String_Ljava_lang_String_Ljava_util_Map_ == IntPtr.Zero)
            {
                id_createRequest_Ljava_lang_String_Ljava_lang_String_Ljava_util_Map_ = JNIEnv.GetStaticMethodID(class_ref, "createRequest", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Lcom/adobe/mobile/TargetLocationRequest;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);
            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p2 = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .ToLocalJniHandle(p2);

            global::Com.Adobe.Mobile.TargetLocationRequest __ret = global::Java.Lang.Object.GetObject <global::Com.Adobe.Mobile.TargetLocationRequest> (JNIEnv.CallStaticObjectMethod(class_ref, id_createRequest_Ljava_lang_String_Ljava_lang_String_Ljava_util_Map_, new JValue(native_p0), new JValue(native_p1), new JValue(native_p2)), JniHandleOwnership.TransferLocalRef);
            JNIEnv.DeleteLocalRef(native_p0);
            JNIEnv.DeleteLocalRef(native_p1);
            JNIEnv.DeleteLocalRef(native_p2);
            return(__ret);
        }
Exemple #21
0
        public unsafe void CreateCloudChannel(global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Data.PalDeviceInfo p0, global::System.Collections.Generic.IDictionary <string, global::Java.Lang.Object> p1, global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Cloud.ICloudChannelFactoryFactoryListener p2)
        {
            if (id_createCloudChannel_Lcom_aliyun_alink_linksdk_alcs_lpbs_data_PalDeviceInfo_Ljava_util_Map_Lcom_aliyun_alink_linksdk_alcs_lpbs_component_cloud_ICloudChannelFactory_FactoryListener_ == IntPtr.Zero)
            {
                id_createCloudChannel_Lcom_aliyun_alink_linksdk_alcs_lpbs_data_PalDeviceInfo_Ljava_util_Map_Lcom_aliyun_alink_linksdk_alcs_lpbs_component_cloud_ICloudChannelFactory_FactoryListener_ = JNIEnv.GetMethodID(class_ref, "createCloudChannel", "(Lcom/aliyun/alink/linksdk/alcs/lpbs/data/PalDeviceInfo;Ljava/util/Map;Lcom/aliyun/alink/linksdk/alcs/lpbs/component/cloud/ICloudChannelFactory$FactoryListener;)V");
            }
            IntPtr native_p1 = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .ToLocalJniHandle(p1);

            JValue *__args = stackalloc JValue [3];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            __args [1] = new JValue(native_p1);
            __args [2] = new JValue((p2 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p2).Handle);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_createCloudChannel_Lcom_aliyun_alink_linksdk_alcs_lpbs_data_PalDeviceInfo_Ljava_util_Map_Lcom_aliyun_alink_linksdk_alcs_lpbs_component_cloud_ICloudChannelFactory_FactoryListener_, __args);
            JNIEnv.DeleteLocalRef(native_p1);
        }
        public unsafe UTOriginalCustomHitBuilder(string aPage, int aEventId, string aArg1, string aArg2, string aArg3, global::System.Collections.Generic.IDictionary <string, string> aHitMap)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_aPage   = JNIEnv.NewString(aPage);
            IntPtr native_aArg1   = JNIEnv.NewString(aArg1);
            IntPtr native_aArg2   = JNIEnv.NewString(aArg2);
            IntPtr native_aArg3   = JNIEnv.NewString(aArg3);
            IntPtr native_aHitMap = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(aHitMap);

            try {
                JValue *__args = stackalloc JValue [6];
                __args [0] = new JValue(native_aPage);
                __args [1] = new JValue(aEventId);
                __args [2] = new JValue(native_aArg1);
                __args [3] = new JValue(native_aArg2);
                __args [4] = new JValue(native_aArg3);
                __args [5] = new JValue(native_aHitMap);
                if (((object)this).GetType() != typeof(UTOriginalCustomHitBuilder))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_util_Map_ == IntPtr.Zero)
                {
                    id_ctor_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_util_Map_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_util_Map_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_util_Map_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_aPage);
                JNIEnv.DeleteLocalRef(native_aArg1);
                JNIEnv.DeleteLocalRef(native_aArg2);
                JNIEnv.DeleteLocalRef(native_aArg3);
                JNIEnv.DeleteLocalRef(native_aHitMap);
            }
        }
Exemple #23
0
 // bool HasKey(K key)
 public static bool HasKey <K, V>(
     global::System.Collections.Generic.IDictionary <K, V> _this,
     K key)
 {
     return(_this.ContainsKey(key));
 }
Exemple #24
0
 /// <summary>
 /// Get an entity of type global::HelloOpenData.Models.Reader as global::HelloOpenData.Models.ReaderSingle specified by key from an entity set
 /// </summary>
 /// <param name="source">source entity set</param>
 /// <param name="keys">dictionary with the names and values of keys</param>
 public static global::HelloOpenData.Models.ReaderSingle ByKey(this global::Microsoft.OData.Client.DataServiceQuery <global::HelloOpenData.Models.Reader> source, global::System.Collections.Generic.IDictionary <string, object> keys)
 {
     return(new global::HelloOpenData.Models.ReaderSingle(source.Context, source.GetKeyPath(global::Microsoft.OData.Client.Serializer.GetKeyString(source.Context, keys))));
 }
Exemple #25
0
 /// <summary>
 /// Get an entity of type global::DupNames.DupWithTypeName1 as global::DupNames.DupWithTypeName1Single specified by key from an entity set
 /// </summary>
 /// <param name="source">source entity set</param>
 /// <param name="keys">dictionary with the names and values of keys</param>
 public static global::DupNames.DupWithTypeName1Single ByKey(this global::Microsoft.OData.Client.DataServiceQuery <global::DupNames.DupWithTypeName1> source, global::System.Collections.Generic.IDictionary <string, object> keys)
 {
     return(new global::DupNames.DupWithTypeName1Single(source.Context, source.GetKeyPath(global::Microsoft.OData.Client.Serializer.GetKeyString(source.Context, keys))));
 }
Exemple #26
0
        public static unsafe global::System.Collections.Generic.IDictionary <string, global::Org.Neuroph.Contrib.Imgrec.FractionRgbData> GetFractionRgbDataForImages(global::System.Collections.Generic.IDictionary <string, global::Org.Neuroph.Contrib.Imgrec.Image.IImage> p0)
        {
            if (id_getFractionRgbDataForImages_Ljava_util_HashMap_ == IntPtr.Zero)
            {
                id_getFractionRgbDataForImages_Ljava_util_HashMap_ = JNIEnv.GetStaticMethodID(class_ref, "getFractionRgbDataForImages", "(Ljava/util/HashMap;)Ljava/util/Map;");
            }
            IntPtr native_p0 = global::Android.Runtime.JavaDictionary <string, global::Org.Neuroph.Contrib.Imgrec.Image.IImage> .ToLocalJniHandle(p0);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_p0);
                global::System.Collections.Generic.IDictionary <string, global::Org.Neuroph.Contrib.Imgrec.FractionRgbData> __ret = global::Android.Runtime.JavaDictionary <string, global::Org.Neuroph.Contrib.Imgrec.FractionRgbData> .FromJniHandle(JNIEnv.CallStaticObjectMethod(class_ref, id_getFractionRgbDataForImages_Ljava_util_HashMap_, __args), JniHandleOwnership.TransferLocalRef);

                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Exemple #27
0
        /// <summary>
        /// Contribute additively to initialization code for the TextTransformation generated class.
        /// </summary>
        /// <remarks>
        /// This code will be added before the call to the base class.
        /// </remarks>
        /// <param name="directiveName"></param>
        /// <param name="codeBuffer"></param>
        /// <param name="languageProvider"></param>
        /// <param name="requiresArguments"></param>
        /// <param name="providesArguments"></param>
        protected override void GeneratePreInitializationCode(string directiveName, global::System.Text.StringBuilder codeBuffer, global::System.CodeDom.Compiler.CodeDomProvider languageProvider, global::System.Collections.Generic.IDictionary <string, string> requiresArguments, global::System.Collections.Generic.IDictionary <string, string> providesArguments)
        {
            if ((global::System.StringComparer.OrdinalIgnoreCase.Compare(directiveName, supportedDirectiveName) == 0))
            {
                if (languageProvider != null)
                {
                    string[] domainModels =
                    {
                        "EPAM.NHModelingLanguage.NHModelingLanguageDomainModel",
                    };

                    global::System.CodeDom.Compiler.CodeGeneratorOptions options = new global::System.CodeDom.Compiler.CodeGeneratorOptions();
                    options.BlankLinesBetweenMembers = true;
                    options.IndentString             = "    ";
                    options.VerbatimOrder            = true;
                    options.BracingStyle             = "C";
                    using (global::System.IO.StringWriter writer = new global::System.IO.StringWriter(codeBuffer, global::System.Globalization.CultureInfo.InvariantCulture))
                    {
                        foreach (string domainModel in domainModels)
                        {
                            global::System.CodeDom.CodeExpressionStatement addModel = new global::System.CodeDom.CodeExpressionStatement(new global::System.CodeDom.CodeMethodInvokeExpression(new global::System.CodeDom.CodeMethodReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "AddDomainModel"), new global::System.CodeDom.CodeTypeOfExpression(domainModel)));
                            languageProvider.GenerateCodeFromStatement(addModel, writer, options);
                        }
                    }
                }
            }
        }
 protected abstract void loadNativeAd(global::Android.App.Activity p0, global::Com.Mopub.Nativeads.CustomEventNative.ICustomEventNativeListener p1, global::System.Collections.Generic.IDictionary <string, global::Java.Lang.Object> p2, global::System.Collections.Generic.IDictionary <string, string> p3);
Exemple #29
0
 /// <summary>
 /// Process arguments
 /// </summary>
 /// <param name="directiveName"></param>
 /// <param name="requiresArguments"></param>
 /// <param name="providesArguments"></param>
 protected override void PostProcessArguments(string directiveName, global::System.Collections.Generic.IDictionary <string, string> requiresArguments, global::System.Collections.Generic.IDictionary <string, string> providesArguments)
 {
     if ((global::System.StringComparer.OrdinalIgnoreCase.Compare(directiveName, supportedDirectiveName) == 0))
     {
         // Give the host a chance to resolve the fileName
         requiresArguments[requiresFileParameter] = this.Host.ResolvePath(requiresArguments[requiresFileParameter]);
     }
 }
Exemple #30
0
 protected abstract void LoadInterstitial(global::Android.Content.Context p0, global::com.mopub.mobileads.CustomEventInterstitial.ICustomEventInterstitialListener p1, global::System.Collections.Generic.IDictionary <string, global::Java.Lang.Object> p2, global::System.Collections.Generic.IDictionary <string, string> p3);