Table of Contents

Class RoutingInfoCollection

Namespace
NLightning.Bolts.BOLT11.Types
Assembly
NLightning.Bolts.dll

A collection of routing information

public sealed class RoutingInfoCollection : ObservableCollection<RoutingInfo>, IList<RoutingInfo>, ICollection<RoutingInfo>, IReadOnlyList<RoutingInfo>, IReadOnlyCollection<RoutingInfo>, IEnumerable<RoutingInfo>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Inheritance
RoutingInfoCollection
Implements
Inherited Members

Methods

Add(RoutingInfo)

Adds a routing information to the collection

public void Add(RoutingInfo routingInfo)

Parameters

routingInfo RoutingInfo

The routing information to add

Remarks

The maximum capacity of the collection is 12

Exceptions

InvalidOperationException

Thrown when the maximum capacity has been reached