private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } if (_subFrames != null) { foreach (var subFrame in _subFrames) { subFrame.Dispose(); } _subFrames = null; } __EventCleanup(); NativeObjectCache.RemoveObject <AudioBeamFrame>(_pNative); Windows_Kinect_AudioBeamFrame_ReleaseObject(ref _pNative); if (disposing) { Windows_Kinect_AudioBeamFrame_Dispose(_pNative); } _pNative = RootSystem.IntPtr.Zero; }
// Token: 0x06002C97 RID: 11415 RVA: 0x000DDD04 File Offset: 0x000DC104 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } this.__EventCleanup(); NativeObjectCache.RemoveObject <FrameDescription>(this._pNative); FrameDescription.Windows_Kinect_FrameDescription_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
// Token: 0x06002AA9 RID: 10921 RVA: 0x000D8090 File Offset: 0x000D6490 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } this.__EventCleanup(); NativeObjectCache.RemoveObject <AudioSource>(this._pNative); AudioSource.Windows_Kinect_AudioSource_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
// Token: 0x06002A33 RID: 10803 RVA: 0x000D6D98 File Offset: 0x000D5198 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } this.__EventCleanup(); NativeObjectCache.RemoveObject <PropertyChangedEventArgs>(this._pNative); PropertyChangedEventArgs.Windows_Data_PropertyChangedEventArgs_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
// Token: 0x06002BDA RID: 11226 RVA: 0x000DBC18 File Offset: 0x000DA018 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } this.__EventCleanup(); NativeObjectCache.RemoveObject <ColorFrameReference>(this._pNative); ColorFrameReference.Windows_Kinect_ColorFrameReference_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
// Token: 0x06002D6B RID: 11627 RVA: 0x000DFF70 File Offset: 0x000DE370 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } this.__EventCleanup(); NativeObjectCache.RemoveObject <LongExposureInfraredFrameSource>(this._pNative); LongExposureInfraredFrameSource.Windows_Kinect_LongExposureInfraredFrameSource_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
// Token: 0x06002AD5 RID: 10965 RVA: 0x000D89F4 File Offset: 0x000D6DF4 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } this.__EventCleanup(); NativeObjectCache.RemoveObject <BodyFrameArrivedEventArgs>(this._pNative); BodyFrameArrivedEventArgs.Windows_Kinect_BodyFrameArrivedEventArgs_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
// Token: 0x06002C19 RID: 11289 RVA: 0x000DC70C File Offset: 0x000DAB0C private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } this.__EventCleanup(); NativeObjectCache.RemoveObject <CoordinateMappingChangedEventArgs>(this._pNative); CoordinateMappingChangedEventArgs.Windows_Kinect_CoordinateMappingChangedEventArgs_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } __EventCleanup(); NativeObjectCache.RemoveObject <DiscreteGestureResult>(_pNative); Microsoft_Kinect_VisualGestureBuilder_DiscreteGestureResult_ReleaseObject(ref _pNative); _pNative = RootSystem.IntPtr.Zero; }
// Token: 0x0600285F RID: 10335 RVA: 0x000D1A64 File Offset: 0x000CFE64 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } NativeObjectCache.RemoveObject <KinectBuffer>(this._pNative); if (disposing) { KinectBuffer.Windows_Storage_Streams_IBuffer_Dispose(this._pNative); } KinectBuffer.Windows_Storage_Streams_IBuffer_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } __EventCleanup(); NativeObjectCache.RemoveObject <Body>(_pNative); Windows_Kinect_Body_ReleaseObject(ref _pNative); _pNative = RootSystem.IntPtr.Zero; }
private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } __EventCleanup(); NativeObjectCache.RemoveObject <LongExposureInfraredFrameArrivedEventArgs>(_pNative); Windows_Kinect_LongExposureInfraredFrameArrivedEventArgs_ReleaseObject(ref _pNative); _pNative = RootSystem.IntPtr.Zero; }
private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } __EventCleanup(); NativeObjectCache.RemoveObject <PropertyChangedEventArgs>(_pNative); Windows_Data_PropertyChangedEventArgs_ReleaseObject(ref _pNative); _pNative = RootSystem.IntPtr.Zero; }
private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } __EventCleanup(); NativeObjectCache.RemoveObject <InfraredFrameReference>(_pNative); Windows_Kinect_InfraredFrameReference_ReleaseObject(ref _pNative); _pNative = RootSystem.IntPtr.Zero; }
private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } __EventCleanup(); NativeObjectCache.RemoveObject <CoordinateMappingChangedEventArgs>(_pNative); Windows_Kinect_CoordinateMappingChangedEventArgs_ReleaseObject(ref _pNative); _pNative = RootSystem.IntPtr.Zero; }
private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } __EventCleanup(); NativeObjectCache.RemoveObject <TrackingIdLostEventArgs>(_pNative); Microsoft_Kinect_VisualGestureBuilder_TrackingIdLostEventArgs_ReleaseObject(ref _pNative); _pNative = RootSystem.IntPtr.Zero; }
// Token: 0x0600291B RID: 10523 RVA: 0x000D3194 File Offset: 0x000D1594 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } this.__EventCleanup(); NativeObjectCache.RemoveObject <DepthFrame>(this._pNative); if (disposing) { DepthFrame.Windows_Kinect_DepthFrame_Dispose(this._pNative); } DepthFrame.Windows_Kinect_DepthFrame_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
// Token: 0x06002A65 RID: 10853 RVA: 0x000D74DC File Offset: 0x000D58DC private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } this.__EventCleanup(); NativeObjectCache.RemoveObject <AudioBeamFrameList>(this._pNative); if (disposing) { AudioBeamFrameList.Windows_Kinect_AudioBeamFrameList_Dispose(this._pNative); } AudioBeamFrameList.Windows_Kinect_AudioBeamFrameList_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
// Token: 0x06002ADF RID: 10975 RVA: 0x000D8B04 File Offset: 0x000D6F04 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } this.__EventCleanup(); NativeObjectCache.RemoveObject <BodyFrameReader>(this._pNative); if (disposing) { BodyFrameReader.Windows_Kinect_BodyFrameReader_Dispose(this._pNative); } BodyFrameReader.Windows_Kinect_BodyFrameReader_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
// Token: 0x0600295F RID: 10591 RVA: 0x000D3A28 File Offset: 0x000D1E28 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } if (this.IsOpen) { this.Close(); } this.__EventCleanup(); NativeObjectCache.RemoveObject <KinectSensor>(this._pNative); KinectSensor.Windows_Kinect_KinectSensor_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } NativeObjectCache.RemoveObject <KinectBuffer>(_pNative); if (disposing) { Windows_Storage_Streams_IBuffer_Dispose(_pNative); } Windows_Storage_Streams_IBuffer_ReleaseObject(ref _pNative); _pNative = RootSystem.IntPtr.Zero; }
private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } if (IsOpen) { Close(); } __EventCleanup(); NativeObjectCache.RemoveObject <KinectSensor>(_pNative); Windows_Kinect_KinectSensor_ReleaseObject(ref _pNative); _pNative = RootSystem.IntPtr.Zero; }
private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } __EventCleanup(); NativeObjectCache.RemoveObject <AudioBeamSubFrame>(_pNative); if (disposing) { Windows_Kinect_AudioBeamSubFrame_Dispose(_pNative); } Windows_Kinect_AudioBeamSubFrame_ReleaseObject(ref _pNative); _pNative = RootSystem.IntPtr.Zero; }
private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } __EventCleanup(); NativeObjectCache.RemoveObject <DepthFrameReader>(_pNative); if (disposing) { Windows_Kinect_DepthFrameReader_Dispose(_pNative); } Windows_Kinect_DepthFrameReader_ReleaseObject(ref _pNative); _pNative = RootSystem.IntPtr.Zero; }
private void Dispose(bool disposing) { if (_pNative == RootSystem.IntPtr.Zero) { return; } __EventCleanup(); NativeObjectCache.RemoveObject <VisualGestureBuilderFrameSource>(_pNative); if (disposing) { Microsoft_Kinect_VisualGestureBuilder_VisualGestureBuilderFrameSource_Dispose(_pNative); } Microsoft_Kinect_VisualGestureBuilder_VisualGestureBuilderFrameSource_ReleaseObject(ref _pNative); _pNative = RootSystem.IntPtr.Zero; }
// Token: 0x06002894 RID: 10388 RVA: 0x000D2074 File Offset: 0x000D0474 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } if (this._subFrames != null) { foreach (AudioBeamSubFrame audioBeamSubFrame in this._subFrames) { audioBeamSubFrame.Dispose(); } this._subFrames = null; } this.__EventCleanup(); NativeObjectCache.RemoveObject <AudioBeamFrame>(this._pNative); AudioBeamFrame.Windows_Kinect_AudioBeamFrame_ReleaseObject(ref this._pNative); if (disposing) { AudioBeamFrame.Windows_Kinect_AudioBeamFrame_Dispose(this._pNative); } this._pNative = IntPtr.Zero; }