< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.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\Azure.Messaging.ServiceBus\src\Amqp\Framing\AmqpEmptyRuleActionCodec.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using Microsoft.Azure.Amqp;
 5
 6namespace Azure.Messaging.ServiceBus.Amqp.Framing
 7{
 8    internal sealed class AmqpEmptyRuleActionCodec : AmqpRuleActionCodec
 9    {
 10        public const string Name = AmqpConstants.Vendor + ":empty-rule-action:list";
 11        public const ulong Code = 0x0000013700000005;
 12        private 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}