< Summary

Class:Microsoft.Azure.EventGrid.Models.MapsGeofenceResultEventData
Assembly:Microsoft.Azure.EventGrid
File(s):C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\MapsGeofenceResultEventData.cs
Covered lines:2
Uncovered lines:2
Coverable lines:4
Total lines:60
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\MapsGeofenceResultEventData.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    /// Schema of the Data property of an EventGridEvent for a
 19    /// Microsoft.Maps.GeofenceResult event.
 20    /// </summary>
 21    public partial class MapsGeofenceResultEventData : MapsGeofenceEventProperties
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the MapsGeofenceResultEventData
 25        /// class.
 26        /// </summary>
 127        public MapsGeofenceResultEventData()
 28        {
 29            CustomInit();
 130        }
 31
 32        /// <summary>
 33        /// Initializes a new instance of the MapsGeofenceResultEventData
 34        /// class.
 35        /// </summary>
 36        /// <param name="expiredGeofenceGeometryId">Lists of the geometry ID of
 37        /// the geofence which is expired relative to the user time in the
 38        /// request.</param>
 39        /// <param name="geometries">Lists the fence geometries that either
 40        /// fully contain the coordinate position or have an overlap with the
 41        /// searchBuffer around the fence.</param>
 42        /// <param name="invalidPeriodGeofenceGeometryId">Lists of the geometry
 43        /// ID of the geofence which is in invalid period relative to the user
 44        /// time in the request.</param>
 45        /// <param name="isEventPublished">True if at least one event is
 46        /// published to the Azure Maps event subscriber, false if no event is
 47        /// published to the Azure Maps event subscriber.</param>
 48        public MapsGeofenceResultEventData(IList<string> expiredGeofenceGeometryId = default(IList<string>), IList<MapsG
 049            : base(expiredGeofenceGeometryId, geometries, invalidPeriodGeofenceGeometryId, isEventPublished)
 50        {
 51            CustomInit();
 052        }
 53
 54        /// <summary>
 55        /// An initialization method that performs custom operations like setting defaults
 56        /// </summary>
 57        partial void CustomInit();
 58
 59    }
 60}

Methods/Properties

.ctor()
.ctor(...)