< Summary

Class:Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1
Assembly:Microsoft.Azure.ApplicationInsights.Query
File(s):C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Customized\Models\EventsResults.cs
Covered lines:2
Uncovered lines:0
Coverable lines:2
Total lines:17
Line coverage:100% (2 of 2)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_Value()-100%100%
set_Value(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Customized\Models\EventsResults.cs

#LineLine coverage
 1using System.Collections.Generic;
 2using System.Linq;
 3
 4namespace Microsoft.Azure.ApplicationInsights.Query.Models
 5{
 6    public class EventsResults<T> : EventsResults where T : EventsResultData
 7    {
 8        /// <summary>
 9        /// Typed version of parent's Value.
 10        /// </summary>
 11        public new IList<T> Value
 12        {
 20013            get { return base.Value.OfType<T>().ToList(); }
 8014            internal set { base.Value = value.OfType<EventsResultData>().ToList(); }
 15        }
 16    }
 17}

Methods/Properties

get_Value()
set_Value(...)