public void Dispose() { if (disposed) { return; } if (safeHandle != null) { safeHandle.Dispose(); safeHandle = null; } disposed = true; }
/// <summary> /// Disposes of this <see cref="Dictionary"/>. /// </summary> public void Dispose() { if (_disposed) { return; } if (_safeHandle != null) { _safeHandle.Dispose(); _safeHandle = null; } _disposed = true; }
internal Dictionary(IntPtr handle) { safeHandle = new DictionarySafeHandle(handle); }
internal Dictionary(DictionarySafeHandle handle) { safeHandle = handle; }
public Dictionary() { safeHandle = new DictionarySafeHandle(godot_icall_Dictionary_Ctor()); }