Esempio n. 1
0
        /// <summary>Snippet for MethodMapSignatureAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task MethodMapSignatureAsync()
        {
            // Create client
            SnippetsClient snippetsClient = await SnippetsClient.CreateAsync();

            // Initialize request argument(s)
            IDictionary <int, string> mapIntString = new Dictionary <int, string> {
                { 0, "" },
            };
            // Make the request
            Response response = await snippetsClient.MethodMapSignatureAsync(mapIntString);
        }
Esempio n. 2
0
        /// <summary>Snippet for MethodMapSignatureAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task MethodMapSignatureRequestObjectAsync()
        {
            // Create client
            SnippetsClient snippetsClient = await SnippetsClient.CreateAsync();

            // Initialize request argument(s)
            SignatureRequest request = new SignatureRequest
            {
                AString      = "",
                AnInt        = 0,
                ABool        = false,
                MapIntString = { { 0, "" }, },
            };
            // Make the request
            Response response = await snippetsClient.MethodMapSignatureAsync(request);
        }