< Summary

Class:Microsoft.Azure.Search.Models.DefaultCognitiveServices
Assembly:Microsoft.Azure.Search.Service
File(s):C:\Git\azure-sdk-for-net\sdk\search\Microsoft.Azure.Search.Service\src\Generated\Models\DefaultCognitiveServices.cs
Covered lines:2
Uncovered lines:2
Coverable lines:4
Total lines:46
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\search\Microsoft.Azure.Search.Service\src\Generated\Models\DefaultCognitiveServices.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.Search.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    /// <summary>
 17    /// An empty object that represents the default cognitive service resource
 18    /// for a skillset.
 19    /// </summary>
 20    [Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.DefaultCognitiveServices")]
 21    public partial class DefaultCognitiveServices : CognitiveServices
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the DefaultCognitiveServices class.
 25        /// </summary>
 426        public DefaultCognitiveServices()
 27        {
 28            CustomInit();
 429        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the DefaultCognitiveServices class.
 33        /// </summary>
 34        public DefaultCognitiveServices(string description = default(string))
 035            : base(description)
 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(...)