< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingImageSearch\src\Generated\ImageSearch\Models\PropertiesItem.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 an item.
 14    /// </summary>
 15    [Newtonsoft.Json.JsonObject("Properties/Item")]
 16    public partial class PropertiesItem
 17    {
 18        /// <summary>
 19        /// Initializes a new instance of the PropertiesItem class.
 20        /// </summary>
 021        public PropertiesItem()
 22        {
 23            CustomInit();
 024        }
 25
 26        /// <summary>
 27        /// Initializes a new instance of the PropertiesItem class.
 28        /// </summary>
 29        /// <param name="text">Text representation of an item.</param>
 030        public PropertiesItem(string text = default(string))
 31        {
 032            Text = text;
 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 text representation of an item.
 43        /// </summary>
 44        [JsonProperty(PropertyName = "text")]
 045        public string Text { get; private set; }
 46
 47    }
 48}

Methods/Properties

.ctor()
.ctor(...)
get_Text()