CSharp: fix LDKStr array decoding
[ldk-java] / c_sharp / src / org / ldk / structs / LockedChannelMonitor.cs
1 using org.ldk.impl;
2 using org.ldk.enums;
3 using org.ldk.util;
4 using System;
5
6 namespace org { namespace ldk { namespace structs {
7
8
9 /**
10  * A read-only reference to a current ChannelMonitor.
11  * 
12  * Note that this holds a mutex in [`ChainMonitor`] and may block other events until it is
13  * released.
14  */
15 public class LockedChannelMonitor : CommonBase, IDisposable {
16         internal LockedChannelMonitor(object _dummy, long ptr) : base(ptr) { }
17         public void Dispose() {
18                 if (ptr != 0) { bindings.LockedChannelMonitor_free(ptr); }
19         }
20
21 }
22 } } }