< Summary

Class:Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.Answer
Assembly:Microsoft.Azure.CognitiveServices.Search.BingEntitySearch
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingEntitySearch\src\Generated\EntitySearch\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.BingEntitySearch\src\Generated\EntitySearch\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.EntitySearch.Models
 8{
 9    using System.Collections;
 10    using System.Collections.Generic;
 11    using System.Linq;
 12
 13    public partial class Answer : Response
 14    {
 15        /// <summary>
 16        /// Initializes a new instance of the Answer class.
 17        /// </summary>
 218        public Answer()
 19        {
 20            CustomInit();
 221        }
 22
 23        /// <summary>
 24        /// Initializes a new instance of the Answer class.
 25        /// </summary>
 26        /// <param name="id">A String identifier.</param>
 27        /// <param name="contractualRules">A list of rules that you must adhere
 28        /// to if you display the item.</param>
 29        /// <param name="webSearchUrl">The URL To Bing's search result for this
 30        /// item.</param>
 31        public Answer(string id = default(string), IList<ContractualRulesContractualRule> contractualRules = default(ILi
 032            : base(id, contractualRules, 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(...)