Ejemplo n.º 1
0
 protected override void DestroyNativeList()
 {
     if (ownsNativeObject_)
     {
         OutputListNative.kth_chain_output_list_destruct(NativeInstance);
     }
 }
Ejemplo n.º 2
0
 protected override void AddElement(Output element)
 {
     OutputListNative.kth_chain_output_list_push_back(NativeInstance, element.NativeInstance);
 }
Ejemplo n.º 3
0
 protected override Output GetNthNativeElement(UInt64 n)
 {
     return(new Output(OutputListNative.kth_chain_output_list_nth(NativeInstance, n), false));
 }
Ejemplo n.º 4
0
 protected override UInt64 GetCount()
 {
     return(OutputListNative.kth_chain_output_list_count(NativeInstance));
 }
Ejemplo n.º 5
0
 protected override IntPtr CreateNativeList()
 {
     ownsNativeObject_ = true;
     return(OutputListNative.kth_chain_output_list_construct_default());
 }