< Summary

Class:Azure.ResourceManager.Resources.Models.ResourceLinkFilter
Assembly:Azure.ResourceManager.Resources
File(s):C:\Git\azure-sdk-for-net\sdk\resources\Azure.ResourceManager.Resources\src\Generated\Models\ResourceLinkFilter.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:30
Line coverage:0% (0 of 6)
Covered branches:0
Total branches:2
Branch coverage:0% (0 of 2)

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\resources\Azure.ResourceManager.Resources\src\Generated\Models\ResourceLinkFilter.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8using System;
 9
 10namespace Azure.ResourceManager.Resources.Models
 11{
 12    /// <summary> Resource link filter. </summary>
 13    internal partial class ResourceLinkFilter
 14    {
 15        /// <summary> Initializes a new instance of ResourceLinkFilter. </summary>
 16        /// <param name="targetId"> The ID of the target resource. </param>
 017        internal ResourceLinkFilter(string targetId)
 18        {
 019            if (targetId == null)
 20            {
 021                throw new ArgumentNullException(nameof(targetId));
 22            }
 23
 024            TargetId = targetId;
 025        }
 26
 27        /// <summary> The ID of the target resource. </summary>
 028        public string TargetId { get; }
 29    }
 30}

Methods/Properties

.ctor(...)
get_TargetId()