< Summary

Class:Microsoft.Azure.ServiceBus.Amqp.Framing.AmqpEmptyRuleActionCodec
Assembly:Microsoft.Azure.ServiceBus
File(s):C:\Git\azure-sdk-for-net\sdk\servicebus\Microsoft.Azure.ServiceBus\src\Amqp\Framing\AmqpEmptyRuleActionCodec.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:31
Line coverage:0% (0 of 6)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.cctor()-0%100%
.ctor()-0%100%
get_FieldCount()-0%100%
OnEncode(...)-0%100%
OnDecode(...)-0%100%
OnValueSize()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\servicebus\Microsoft.Azure.ServiceBus\src\Amqp\Framing\AmqpEmptyRuleActionCodec.cs

#LineLine coverage
 1// Copyright (c) Microsoft. All rights reserved.
 2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
 3
 4namespace Microsoft.Azure.ServiceBus.Amqp.Framing
 5{
 6    using Azure.Amqp;
 7
 8    sealed class AmqpEmptyRuleActionCodec : AmqpRuleActionCodec
 9    {
 010        public static readonly string Name = AmqpConstants.Vendor + ":empty-rule-action:list";
 11        public const ulong Code = 0x0000013700000005;
 12        const int Fields = 0;
 13
 014        public AmqpEmptyRuleActionCodec() : base(Name, Code) { }
 15
 016        protected override int FieldCount => Fields;
 17
 18        protected override void OnEncode(ByteBuffer buffer)
 19        {
 020        }
 21
 22        protected override void OnDecode(ByteBuffer buffer, int count)
 23        {
 024        }
 25
 26        protected override int OnValueSize()
 27        {
 028            return 0;
 29        }
 30    }
 31}