< Summary

Class:Azure.Data.Tables.Models.TableProperties
Assembly:Azure.Data.Tables
File(s):C:\Git\azure-sdk-for-net\sdk\tables\Azure.Data.Tables\src\Generated\Models\TableProperties.cs
C:\Git\azure-sdk-for-net\sdk\tables\Azure.Data.Tables\src\Generated\Models\TableProperties.Serialization.cs
Covered lines:9
Uncovered lines:0
Coverable lines:9
Total lines:47
Line coverage:100% (9 of 9)
Covered branches:2
Total branches:2
Branch coverage:100% (2 of 2)

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
get_TableName()-100%100%
Azure.Core.IUtf8JsonSerializable.Write(...)-100%100%

File(s)

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

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8namespace Azure.Data.Tables.Models
 9{
 10    /// <summary> The properties for creating a table. </summary>
 11    internal partial class TableProperties
 12    {
 13        /// <summary> Initializes a new instance of TableProperties. </summary>
 65614        public TableProperties()
 15        {
 65616        }
 17
 18        /// <summary> The name of the table to create. </summary>
 196819        public string TableName { get; set; }
 20    }
 21}

C:\Git\azure-sdk-for-net\sdk\tables\Azure.Data.Tables\src\Generated\Models\TableProperties.Serialization.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8using System.Text.Json;
 9using Azure.Core;
 10
 11namespace Azure.Data.Tables.Models
 12{
 13    internal partial class TableProperties : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 65617            writer.WriteStartObject();
 65618            if (Optional.IsDefined(TableName))
 19            {
 65620                writer.WritePropertyName("TableName");
 65621                writer.WriteStringValue(TableName);
 22            }
 65623            writer.WriteEndObject();
 65624        }
 25    }
 26}