< Summary

Class:Azure.Data.Tables.TablesModelFactory
Assembly:Azure.Data.Tables
File(s):C:\Git\azure-sdk-for-net\sdk\tables\Azure.Data.Tables\src\TablesModelFactory.cs
Covered lines:0
Uncovered lines:1
Coverable lines:1
Total lines:21
Line coverage:0% (0 of 1)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
TableItem(...)-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\tables\Azure.Data.Tables\src\TablesModelFactory.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using Azure.Data.Tables.Models;
 5
 6namespace Azure.Data.Tables
 7{
 8    /// <summary>
 9    /// A factory class which constructs model classes for mocking purposes.
 10    /// </summary>
 11    public static class TablesModelFactory
 12    {
 13        /// <summary> Initializes a new instance of TableItem. </summary>
 14        /// <param name="tableName"> The name of the table. </param>
 15        /// <param name="odataType"> The odata type of the table. </param>
 16        /// <param name="odataId"> The id of the table. </param>
 17        /// <param name="odataEditLink"> The edit link of the table. </param>
 18        public static TableItem TableItem(string tableName, string odataType, string odataId, string odataEditLink) =>
 019            new TableItem(tableName, odataType, odataId, odataEditLink);
 20    }
 21}

Methods/Properties

TableItem(...)