예제 #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }

            if (safeHandle != null)
            {
                safeHandle.Dispose();
                safeHandle = null;
            }

            disposed = true;
        }
예제 #2
0
파일: Dictionary.cs 프로젝트: ycbxklk/godot
 internal Dictionary(IntPtr handle)
 {
     safeHandle = new DictionarySafeHandle(handle);
 }
예제 #3
0
파일: Dictionary.cs 프로젝트: ycbxklk/godot
 internal Dictionary(DictionarySafeHandle handle)
 {
     safeHandle = handle;
 }
예제 #4
0
파일: Dictionary.cs 프로젝트: ycbxklk/godot
 public Dictionary()
 {
     safeHandle = new DictionarySafeHandle(godot_icall_Dictionary_Ctor());
 }