< Summary

Class:Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.QueryDTOContext
Assembly:Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Knowledge.QnAMaker\src\Generated\Models\QueryDTOContext.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:46
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Knowledge.QnAMaker\src\Generated\Models\QueryDTOContext.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.CognitiveServices.Knowledge.QnAMaker.Models
 12{
 13    using System.Linq;
 14
 15    /// <summary>
 16    /// Context object with previous QnA's information.
 17    /// </summary>
 18    public partial class QueryDTOContext : QueryContextDTO
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the QueryDTOContext class.
 22        /// </summary>
 023        public QueryDTOContext()
 24        {
 25            CustomInit();
 026        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the QueryDTOContext class.
 30        /// </summary>
 31        /// <param name="previousQnaId">Previous QnA Id - qnaId of the top
 32        /// result.</param>
 33        /// <param name="previousUserQuery">Previous user query.</param>
 34        public QueryDTOContext(string previousQnaId = default(string), string previousUserQuery = default(string))
 035            : base(previousQnaId, previousUserQuery)
 36        {
 37            CustomInit();
 038        }
 39
 40        /// <summary>
 41        /// An initialization method that performs custom operations like setting defaults
 42        /// </summary>
 43        partial void CustomInit();
 44
 45    }
 46}

Methods/Properties

.ctor()
.ctor(...)