public new static vtkTextCodecFactory New() { vtkTextCodecFactory result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkTextCodecFactory.vtkTextCodecFactory_New(ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkTextCodecFactory)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public new static vtkTextCodecFactory SafeDownCast(vtkObjectBase o) { vtkTextCodecFactory vtkTextCodecFactory = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkTextCodecFactory.vtkTextCodecFactory_SafeDownCast_08((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkTextCodecFactory = (vtkTextCodecFactory)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkTextCodecFactory.Register(null); } } return(vtkTextCodecFactory); }