< Summary

Class:Microsoft.Azure.ContainerRegistry.V2SupportOperationsExtensions
Assembly:Microsoft.Azure.ContainerRegistry
File(s):C:\Git\azure-sdk-for-net\sdk\containerregistry\Microsoft.Azure.ContainerRegistry\src\Generated\V2SupportOperationsExtensions.cs
Covered lines:0
Uncovered lines:2
Coverable lines:2
Total lines:40
Line coverage:0% (0 of 2)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
CheckAsync()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\containerregistry\Microsoft.Azure.ContainerRegistry\src\Generated\V2SupportOperationsExtensions.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.ContainerRegistry
 12{
 13    using Microsoft.Rest;
 14    using Microsoft.Rest.Azure;
 15    using Models;
 16    using System.Threading;
 17    using System.Threading.Tasks;
 18
 19    /// <summary>
 20    /// Extension methods for V2SupportOperations.
 21    /// </summary>
 22    public static partial class V2SupportOperationsExtensions
 23    {
 24            /// <summary>
 25            /// Tells whether this Docker Registry instance supports Docker Registry HTTP
 26            /// API v2
 27            /// </summary>
 28            /// <param name='operations'>
 29            /// The operations group for this extension method.
 30            /// </param>
 31            /// <param name='cancellationToken'>
 32            /// The cancellation token.
 33            /// </param>
 34            public static async Task CheckAsync(this IV2SupportOperations operations, CancellationToken cancellationToke
 35            {
 036                (await operations.CheckWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)).Dispose();
 037            }
 38
 39    }
 40}

Methods/Properties

CheckAsync()