< Summary

Class:Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.InsightsTag
Assembly:Microsoft.Azure.CognitiveServices.Search.BingImageSearch
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingImageSearch\src\Generated\ImageSearch\Models\InsightsTag.cs
Covered lines:2
Uncovered lines:4
Coverable lines:6
Total lines:49
Line coverage:33.3% (2 of 6)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingImageSearch\src\Generated\ImageSearch\Models\InsightsTag.cs

#LineLine coverage
 1// <auto-generated>
 2// Code generated by Microsoft (R) AutoRest Code Generator.
 3// Changes may cause incorrect behavior and will be lost if the code is
 4// regenerated.
 5// </auto-generated>
 6
 7namespace Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models
 8{
 9    using Newtonsoft.Json;
 10    using System.Linq;
 11
 12    /// <summary>
 13    /// Defines a characteristic of the content found in the image.
 14    /// </summary>
 15    public partial class InsightsTag
 16    {
 17        /// <summary>
 18        /// Initializes a new instance of the InsightsTag class.
 19        /// </summary>
 2020        public InsightsTag()
 21        {
 22            CustomInit();
 2023        }
 24
 25        /// <summary>
 26        /// Initializes a new instance of the InsightsTag class.
 27        /// </summary>
 28        /// <param name="name">The name of the characteristic. For example,
 29        /// cat, kitty, calico cat.</param>
 030        public InsightsTag(string name = default(string))
 31        {
 032            Name = name;
 33            CustomInit();
 034        }
 35
 36        /// <summary>
 37        /// An initialization method that performs custom operations like setting defaults
 38        /// </summary>
 39        partial void CustomInit();
 40
 41        /// <summary>
 42        /// Gets the name of the characteristic. For example, cat, kitty,
 43        /// calico cat.
 44        /// </summary>
 45        [JsonProperty(PropertyName = "name")]
 046        public string Name { get; private set; }
 47
 48    }
 49}

Methods/Properties

.ctor()
.ctor(...)
get_Name()