Exemplo n.º 1
0
        /// <summary>Snippet for MethodOneSignatureAsync</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 MethodOneSignatureAsync()
        {
            // Create client
            SnippetsClient snippetsClient = await SnippetsClient.CreateAsync();

            // Initialize request argument(s)
            string aString = "";
            int    anInt   = 0;
            bool   aBool   = false;
            // Make the request
            Response response = await snippetsClient.MethodOneSignatureAsync(aString, anInt, aBool);
        }
        /// <summary>Snippet for MethodOneSignatureAsync</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 MethodOneSignatureRequestObjectAsync()
        {
            // 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.MethodOneSignatureAsync(request);
        }