Extended .NET SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
DotNet
inc
CFxHistoryItem.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
11
namespace
PCAD_DOT_NET
{
12
13
using
System;
14
using
System.Runtime.InteropServices;
15
using
Teigha.Core
;
16
using
Teigha.TD
;
17
18
public
class
CFxHistoryItem
: global::System.IDisposable {
19
private
Object locker =
new
Object();
20
private
HandleRef swigCPtr;
21
protected
bool
swigCMemOwn
;
22
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23
public
CFxHistoryItem
(IntPtr cPtr,
bool
cMemoryOwn) {
24
swigCMemOwn
= cMemoryOwn;
25
swigCPtr =
new
HandleRef(
this
, cPtr);
26
}
27
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28
public
static
HandleRef
getCPtr
(
CFxHistoryItem
obj) {
29
return
(obj ==
null
) ?
new
HandleRef(
null
, IntPtr.Zero) : obj.swigCPtr;
30
}
31
32
~CFxHistoryItem
() {
33
Dispose
(
false
);
34
}
35
36
public
void
Dispose
() {
37
Dispose
(
true
);
38
global::System.GC.SuppressFinalize(
this
);
39
}
40
41
protected
virtual
void
Dispose
(
bool
disposing) {
42
lock(
this
) {
43
if
(swigCPtr.Handle != global::System.IntPtr.Zero) {
44
if
(
swigCMemOwn
) {
45
swigCMemOwn
=
false
;
46
PCADGlobalsPINVOKE
.
delete_CFxHistoryItem
(swigCPtr);
47
}
48
swigCPtr =
new
global::System.Runtime.InteropServices.HandleRef(
null
, global::System.IntPtr.Zero);
49
}
50
}
51
}
52
53
public
CFxHistoryItem
() : this(
PCADGlobalsPINVOKE
.new_CFxHistoryItem(), true) {
54
if
(
PCADGlobalsPINVOKE
.
SWIGPendingException
.
Pending
)
throw
PCADGlobalsPINVOKE
.
SWIGPendingException
.
Retrieve
();
55
}
56
57
}
58
59
}
PCAD_DOT_NET.CFxHistoryItem
Definition:
CFxHistoryItem.cs:18
PCAD_DOT_NET.CFxHistoryItem.Dispose
void Dispose()
Definition:
CFxHistoryItem.cs:36
PCAD_DOT_NET.CFxHistoryItem.swigCMemOwn
bool swigCMemOwn
Definition:
CFxHistoryItem.cs:21
PCAD_DOT_NET.CFxHistoryItem.Dispose
virtual void Dispose(bool disposing)
Definition:
CFxHistoryItem.cs:41
PCAD_DOT_NET.CFxHistoryItem.CFxHistoryItem
CFxHistoryItem()
Definition:
CFxHistoryItem.cs:53
PCAD_DOT_NET.CFxHistoryItem.CFxHistoryItem
CFxHistoryItem(IntPtr cPtr, bool cMemoryOwn)
Definition:
CFxHistoryItem.cs:23
PCAD_DOT_NET.CFxHistoryItem.getCPtr
static HandleRef getCPtr(CFxHistoryItem obj)
Definition:
CFxHistoryItem.cs:28
PCAD_DOT_NET.PCADGlobalsPINVOKE.SWIGPendingException
Definition:
PCADGlobalsPINVOKE.cs:132
PCAD_DOT_NET.PCADGlobalsPINVOKE.SWIGPendingException.Retrieve
static global::System.Exception Retrieve()
Definition:
PCADGlobalsPINVOKE.cs:157
PCAD_DOT_NET.PCADGlobalsPINVOKE.SWIGPendingException.Pending
static bool Pending
Definition:
PCADGlobalsPINVOKE.cs:138
PCAD_DOT_NET.PCADGlobalsPINVOKE
Definition:
PCADGlobalsPINVOKE.cs:18
PCAD_DOT_NET.PCADGlobalsPINVOKE.delete_CFxHistoryItem
static void delete_CFxHistoryItem(global::System.Runtime.InteropServices.HandleRef jarg1)
PCAD_DOT_NET
Definition:
CFxAPI.cs:11
Teigha.Core
Definition:
AcisDataType.cs:11
Teigha.TD
Definition:
_ArcData.cs:11
Generated on Wed Apr 5 2023 17:06:11