< Summary

Class:Microsoft.Azure.EventGrid.Models.IotHubDeviceTelemetryEventData
Assembly:Microsoft.Azure.EventGrid
File(s):C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\IotHubDeviceTelemetryEventData.cs
Covered lines:2
Uncovered lines:2
Coverable lines:4
Total lines:54
Line coverage:50% (2 of 4)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\IotHubDeviceTelemetryEventData.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.EventGrid.Models
 12{
 13    using System.Collections;
 14    using System.Collections.Generic;
 15    using System.Linq;
 16
 17    /// <summary>
 18    /// Event data for Microsoft.Devices.DeviceTelemetry event.
 19    /// </summary>
 20    public partial class IotHubDeviceTelemetryEventData : DeviceTelemetryEventProperties
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the IotHubDeviceTelemetryEventData
 24        /// class.
 25        /// </summary>
 126        public IotHubDeviceTelemetryEventData()
 27        {
 28            CustomInit();
 129        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the IotHubDeviceTelemetryEventData
 33        /// class.
 34        /// </summary>
 35        /// <param name="body">The content of the message from the
 36        /// device.</param>
 37        /// <param name="properties">Application properties are user-defined
 38        /// strings that can be added to the message. These fields are
 39        /// optional.</param>
 40        /// <param name="systemProperties">System properties help identify
 41        /// contents and source of the messages.</param>
 42        public IotHubDeviceTelemetryEventData(object body = default(object), IDictionary<string, string> properties = de
 043            : base(body, properties, systemProperties)
 44        {
 45            CustomInit();
 046        }
 47
 48        /// <summary>
 49        /// An initialization method that performs custom operations like setting defaults
 50        /// </summary>
 51        partial void CustomInit();
 52
 53    }
 54}

Methods/Properties

.ctor()
.ctor(...)