< Summary

Class:Azure.AI.TextAnalytics.LinkedEntityCollection
Assembly:Azure.AI.TextAnalytics
File(s):C:\Git\azure-sdk-for-net\sdk\textanalytics\Azure.AI.TextAnalytics\src\LinkedEntityCollection.cs
Covered lines:3
Uncovered lines:1
Coverable lines:4
Total lines:25
Line coverage:75% (3 of 4)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\textanalytics\Azure.AI.TextAnalytics\src\LinkedEntityCollection.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System.Collections.Generic;
 5using System.Collections.ObjectModel;
 6
 7namespace Azure.AI.TextAnalytics
 8{
 9    /// <summary>
 10    /// Collection of <see cref="LinkedEntity"/> objects in a document.
 11    /// </summary>
 12    public class LinkedEntityCollection : ReadOnlyCollection<LinkedEntity>
 13    {
 14        internal LinkedEntityCollection(IList<LinkedEntity> entities, IList<TextAnalyticsWarning> warnings)
 4815       : base(entities)
 16        {
 4817            Warnings = new ReadOnlyCollection<TextAnalyticsWarning>(warnings);
 4818        }
 19
 20        /// <summary>
 21        /// Gets the warnings encountered while processing the document.
 22        /// </summary>
 023        public IReadOnlyCollection<TextAnalyticsWarning> Warnings { get; }
 24    }
 25}

Methods/Properties

.ctor(...)
get_Warnings()