< Summary

Class:Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Answer
Assembly:Microsoft.Azure.CognitiveServices.Search.BingImageSearch
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingImageSearch\src\Generated\ImageSearch\Models\Answer.cs
Covered lines:2
Uncovered lines:2
Coverable lines:4
Total lines:43
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\cognitiveservices\Search.BingImageSearch\src\Generated\ImageSearch\Models\Answer.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 System.Linq;
 10
 11    /// <summary>
 12    /// Defines an answer.
 13    /// </summary>
 14    public partial class Answer : Response
 15    {
 16        /// <summary>
 17        /// Initializes a new instance of the Answer class.
 18        /// </summary>
 219        public Answer()
 20        {
 21            CustomInit();
 222        }
 23
 24        /// <summary>
 25        /// Initializes a new instance of the Answer class.
 26        /// </summary>
 27        /// <param name="id">A String identifier.</param>
 28        /// <param name="readLink">The URL that returns this resource.</param>
 29        /// <param name="webSearchUrl">The URL To Bing's search result for this
 30        /// item.</param>
 31        public Answer(string id = default(string), string readLink = default(string), string webSearchUrl = default(stri
 032            : base(id, readLink, webSearchUrl)
 33        {
 34            CustomInit();
 035        }
 36
 37        /// <summary>
 38        /// An initialization method that performs custom operations like setting defaults
 39        /// </summary>
 40        partial void CustomInit();
 41
 42    }
 43}

Methods/Properties

.ctor()
.ctor(...)