< Summary

Class:Azure.Core.Page
Assembly:Azure.ResourceManager.Resources
File(s):C:\Git\azure-sdk-for-net\sdk\core\Azure.Core\src\Shared\AutoRest\Page.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:16
Line coverage:100% (1 of 1)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\core\Azure.Core\src\Shared\AutoRest\Page.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4#nullable enable
 5
 6using System.Collections.Generic;
 7using System.Linq;
 8
 9namespace Azure.Core
 10{
 11    internal static class Page
 12    {
 13        public static Page<T> FromValues<T>(IEnumerable<T> values, string continuationToken, Response response) =>
 28414            Page<T>.FromValues(values.ToList(), continuationToken, response);
 15    }
 16}

Methods/Properties

FromValues(...)