Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdTfPostponeMergeHandler.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdTfPostponeMergeHandler(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdTfPostponeMergeHandler_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdTfPostponeMergeHandler obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
43 public class Conflict : global::System.IDisposable {
44 private Object locker = new Object();
45 private HandleRef swigCPtr;
46 protected bool swigCMemOwn;
47 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
48 public Conflict(IntPtr cPtr, bool cMemoryOwn) {
49 swigCMemOwn = cMemoryOwn;
50 swigCPtr = new HandleRef(this, cPtr);
51 }
52 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
53 public static HandleRef getCPtr(Conflict obj) {
54 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
55 }
56
57 ~Conflict() {
58 Dispose(false);
59 }
60
61 public void Dispose() {
62 Dispose(true);
63 global::System.GC.SuppressFinalize(this);
64 }
65
66 protected virtual void Dispose(bool disposing) {
67 lock(this) {
68 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
69 if (swigCMemOwn) {
70 swigCMemOwn = false;
71 TD_DbPINVOKE.delete_OdTfPostponeMergeHandler_Conflict(swigCPtr); // NESTED_DTOR_CSHARP
72 }
73 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
74 }
75 }
76 }
77
79 set {
82 }
83 get {
84 global::System.IntPtr cPtr = TD_DbPINVOKE.OdTfPostponeMergeHandler_Conflict_handle_get(swigCPtr);
85 OdDbHandle ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbHandle(cPtr, false);
87 return ret;
88 }
89 }
90
92 set {
95 }
96 get {
99 return ret;
100 }
101 }
102
104 set {
107 }
108 get {
111 return ret;
112 }
113 }
114
115 public Conflict(OdDbHandle handle, ChangeType myChange, ChangeType theirChange) : this(TD_DbPINVOKE.new_OdTfPostponeMergeHandler_Conflict(OdDbHandle.getCPtr(handle), (int)myChange, (int)theirChange), true) {
117 }
118
119 }
120
124 return ret;
125 }
126
127 public OdTfPostponeMergeHandler() : this(TD_DbPINVOKE.new_OdTfPostponeMergeHandler(), true) {
129 }
130
131}
132
133}
static HandleRef getCPtr(OdDbHandle obj)
Definition: OdDbHandle.cs:26
Conflict(OdDbHandle handle, ChangeType myChange, ChangeType theirChange)
static HandleRef getCPtr(OdTfPostponeMergeHandler obj)
override void Dispose(bool disposing)
OdTfPostponeMergeHandler(IntPtr cPtr, bool cMemoryOwn)
SWIGTYPE_p_OdArrayT_OdTfPostponeMergeHandler__Conflict_t conflicts()
static global::System.Exception Retrieve()
static void OdTfPostponeMergeHandler_Conflict_theirChange_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void delete_OdTfPostponeMergeHandler(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdTfPostponeMergeHandler_Conflict_handle_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTfPostponeMergeHandler_Conflict_handle_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdTfPostponeMergeHandler_conflicts__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTfPostponeMergeHandler_Conflict_myChange_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void delete_OdTfPostponeMergeHandler_Conflict(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdTfPostponeMergeHandler_Conflict_myChange_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdTfPostponeMergeHandler_Conflict_theirChange_get(global::System.Runtime.InteropServices.HandleRef jarg1)