< Summary

Class:Azure.Analytics.Synapse.Artifacts.Models.DataFlowSourceSetting
Assembly:Azure.Analytics.Synapse.Artifacts
File(s):C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\DataFlowSourceSetting.cs
C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\DataFlowSourceSetting.Serialization.cs
Covered lines:0
Uncovered lines:35
Coverable lines:35
Total lines:101
Line coverage:0% (0 of 35)
Covered branches:0
Total branches:6
Branch coverage:0% (0 of 6)

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
get_SourceName()-0%100%
get_RowLimit()-0%100%
get_AdditionalProperties()-0%100%
GetEnumerator()-0%100%
System.Collections.IEnumerable.GetEnumerator()-0%100%
TryGetValue(...)-0%100%
ContainsKey(...)-0%100%
get_Keys()-0%100%
get_Values()-0%100%
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.get_Count()-0%100%
Add(...)-0%100%
Remove(...)-0%100%
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.get_IsReadOnly()-0%100%
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Add(...)-0%100%
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove(...)-0%100%
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains(...)-0%100%
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.CopyTo(...)-0%100%
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Clear()-0%100%
get_Item(...)-0%100%
set_Item(...)-0%100%
Azure.Core.IUtf8JsonSerializable.Write(...)-0%0%

File(s)

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\DataFlowSourceSetting.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.Collections;
 9using System.Collections.Generic;
 10using Azure.Core;
 11
 12namespace Azure.Analytics.Synapse.Artifacts.Models
 13{
 14    /// <summary> Definition of data flow source setting for debug. </summary>
 15    public partial class DataFlowSourceSetting : IDictionary<string, object>
 16    {
 17        /// <summary> Initializes a new instance of DataFlowSourceSetting. </summary>
 018        public DataFlowSourceSetting()
 19        {
 020            AdditionalProperties = new ChangeTrackingDictionary<string, object>();
 021        }
 22
 23        /// <summary> The data flow source name. </summary>
 024        public string SourceName { get; set; }
 25        /// <summary> Defines the row limit of data flow source in debug. </summary>
 026        public int? RowLimit { get; set; }
 027        internal IDictionary<string, object> AdditionalProperties { get; }
 28        /// <inheritdoc />
 029        public IEnumerator<KeyValuePair<string, object>> GetEnumerator() => AdditionalProperties.GetEnumerator();
 30        /// <inheritdoc />
 031        IEnumerator IEnumerable.GetEnumerator() => AdditionalProperties.GetEnumerator();
 32        /// <inheritdoc />
 033        public bool TryGetValue(string key, out object value) => AdditionalProperties.TryGetValue(key, out value);
 34        /// <inheritdoc />
 035        public bool ContainsKey(string key) => AdditionalProperties.ContainsKey(key);
 36        /// <inheritdoc />
 037        public ICollection<string> Keys => AdditionalProperties.Keys;
 38        /// <inheritdoc />
 039        public ICollection<object> Values => AdditionalProperties.Values;
 40        /// <inheritdoc />
 041        int ICollection<KeyValuePair<string, object>>.Count => AdditionalProperties.Count;
 42        /// <inheritdoc />
 043        public void Add(string key, object value) => AdditionalProperties.Add(key, value);
 44        /// <inheritdoc />
 045        public bool Remove(string key) => AdditionalProperties.Remove(key);
 46        /// <inheritdoc />
 047        bool ICollection<KeyValuePair<string, object>>.IsReadOnly => AdditionalProperties.IsReadOnly;
 48        /// <inheritdoc />
 049        void ICollection<KeyValuePair<string, object>>.Add(KeyValuePair<string, object> value) => AdditionalProperties.A
 50        /// <inheritdoc />
 051        bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> value) => AdditionalPropertie
 52        /// <inheritdoc />
 053        bool ICollection<KeyValuePair<string, object>>.Contains(KeyValuePair<string, object> value) => AdditionalPropert
 54        /// <inheritdoc />
 055        void ICollection<KeyValuePair<string, object>>.CopyTo(KeyValuePair<string, object>[] destination, int offset) =>
 56        /// <inheritdoc />
 057        void ICollection<KeyValuePair<string, object>>.Clear() => AdditionalProperties.Clear();
 58        /// <inheritdoc />
 59        public object this[string key]
 60        {
 061            get => AdditionalProperties[key];
 062            set => AdditionalProperties[key] = value;
 63        }
 64    }
 65}

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\DataFlowSourceSetting.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.Analytics.Synapse.Artifacts.Models
 12{
 13    public partial class DataFlowSourceSetting : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            if (Optional.IsDefined(SourceName))
 19            {
 020                writer.WritePropertyName("sourceName");
 021                writer.WriteStringValue(SourceName);
 22            }
 023            if (Optional.IsDefined(RowLimit))
 24            {
 025                writer.WritePropertyName("rowLimit");
 026                writer.WriteNumberValue(RowLimit.Value);
 27            }
 028            foreach (var item in AdditionalProperties)
 29            {
 030                writer.WritePropertyName(item.Key);
 031                writer.WriteObjectValue(item.Value);
 32            }
 033            writer.WriteEndObject();
 034        }
 35    }
 36}