public ATObjectDefinition(Foundation.ATObjectDefinition _0) { _Instance = Marshal.AllocHGlobal(sizeof(Foundation.ATObjectDefinition._Internal)); _ownsNativeInstance = true; NativeToManagedMap[_Instance] = this; *((Foundation.ATObjectDefinition._Internal *)_Instance) = *((Foundation.ATObjectDefinition._Internal *)_0._Instance); }
public static void ATBaseRegisterSubclass(Foundation.ATObjectType type, Foundation.ATObjectDefinition definition) { var _arg1 = ReferenceEquals(definition, null) ? IntPtr.Zero : definition._Instance; _Internal.ATBaseRegisterSubclass(type, _arg1); }