< Summary

Class:Microsoft.Azure.Batch.TransportObjectProviderExtensions
Assembly:Microsoft.Azure.Batch
File(s):C:\Git\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Batch\src\ITransportObjectProvider.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:18
Line coverage:100% (1 of 1)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
GetTransportObject(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Batch\src\ITransportObjectProvider.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License. See License.txt in the project root for license information.
 3
 4namespace Microsoft.Azure.Batch
 5{
 6    internal interface ITransportObjectProvider<out T>
 7    {
 8        T GetTransportObject();
 9    }
 10
 11    internal static class TransportObjectProviderExtensions
 12    {
 13        internal static T GetTransportObject<T>(this ITransportObjectProvider<T> objectProvider)
 14        {
 1419015            return objectProvider.GetTransportObject();
 16        }
 17    }
 18}

Methods/Properties

GetTransportObject(...)