public Stream12(Stream12 A_0, string A_1, STGM A_2, bool A_3) { int num = 0x13; this.long_0 = -1L; this.list_0 = new List <string>(); this.list_1 = new List <string>(); if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("䨸伺刼䴾⁀⑂⁄", num)); } if (A_0.interface40_0 == null) { throw new ArgumentException(BookmarkStart.b("倸唺䴼䨾㕀捂㙄㍆♈㥊ⱌ⡎㑐獒㡔≖⩘⽚絜㵞Ѡ䍢ᝦ౨ժ୮", num)); } if (A_1 == null) { throw new ArgumentNullException(BookmarkStart.b("䨸伺似娾⁀⹂ୄ♆⑈⹊", num)); } IntPtr iUnknownForObject = Marshal.GetIUnknownForObject(A_0.interface40_0); this.interface40_0 = (Interface40)Marshal.GetObjectForIUnknown(iUnknownForObject); Marshal.Release(iUnknownForObject); this.stgm_5 = A_0.stgm_5; this.list_1.AddRange(A_0.list_1); this.list_0.AddRange(A_0.list_0); if (A_3) { this.method_16(A_1, A_2); } else { this.method_10(A_1, A_2); } }
public FilePackageHelper2(string string_1, int int_1, Interface40 interface40_0, IStreamContractHelper interface9_1) { this.string_0 = string_1; this.int_0 = int_1; this.FnbMxAwygf = interface40_0; this.interface9_0 = interface9_1; }
public static int smethod_1(Interface40 A_0, uint A_1, out Interface44 A_2) { if (IntPtr.Size == 8) { return(StgCreatePropSetStg(A_0, A_1, out A_2)); } return(StgCreatePropSetStg_1(A_0, A_1, out A_2)); }
void IDisposable.Dispose() { if (this.interface40_0 != null) { Marshal.FinalReleaseComObject(this.interface40_0); GC.SuppressFinalize(this.interface40_0); this.interface40_0 = null; } }
public Class990( Stream stream, Interface40 mainWriter, Interface40 stringWriter, Interface40 handleWriter) { this.stream_0 = stream; this.interface40_0 = mainWriter; this.interface40_1 = stringWriter; this.interface40_2 = handleWriter; }
public Class1005(Interface40 A_0, string A_1) { int num = 8; this.list_0 = new List <string>(); this.list_1 = new List <string>(); if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("尭弯崱䀳", num)); } if ((A_1 != null) && (A_1.Length != 0)) { this.string_1 = A_1; } this.interface40_0 = A_0; this.method_1(); }
public void Dispose() { if (!this.bool_0) { this.bool_0 = true; this.Close(); if (this.interface40_0 != null) { Marshal.ReleaseComObject(this.interface40_0); this.interface40_0 = null; } if (this.interface65_0 != null) { Marshal.FinalReleaseComObject(this.interface65_0); GC.SuppressFinalize(this.interface65_0); this.interface65_0 = null; } this.string_2 = null; this.bool_0 = true; this.list_1 = null; this.list_0 = null; } }
public Class1005(Interface40 A_0) : this(A_0, BookmarkStart.b("椵樷唹医䨽", 0x10)) { }
private void method_18(DxfReader r, Class259 objectBuilder) { this.bool_2 = true; DxfVersion version = r.ModelBuilder.Version; this.dwgVersion_0 = Class885.smethod_3(version); if (this.stream_0 == null) { this.stream_0 = (Stream) new PagedMemoryStream(1024L, 1024); } if (this.dwgVersion_0 > DwgVersion.Dwg1018 && this.stream_1 == null) { this.stream_1 = (Stream) new PagedMemoryStream(1024L, 1024); } r.method_85(); Encoding encoding = Encodings.GetEncoding((int)r.Model.Header.DrawingCodePage); Interface40 nterface40 = (Interface40) new Class725(this.stream_0, encoding, version); DxfProxyEntity.Class361 class361 = new DxfProxyEntity.Class361((Interface29) new Class990((Stream)null, nterface40, this.dwgVersion_0 > DwgVersion.Dwg1018 ? (Interface40) new Class728(this.stream_1, encoding, version) : nterface40, nterface40)); while (r.CurrentGroup.Code != 0) { switch (Class820.smethod_2(r.CurrentGroup.Code)) { case Enum5.const_8: case Enum5.const_9: case Enum5.const_14: case Enum5.const_15: ulong handle = (ulong)r.CurrentGroup.Value; DxfHandledObject dxfHandledObject = new DxfHandledObject(); dxfHandledObject.SetHandle(handle); DxfObjectReference dxfObjectReference = new DxfObjectReference((IDxfHandledObject)dxfHandledObject); Struct18 group1 = new Struct18(r.CurrentGroup.Code, (object)dxfObjectReference); class361.imethod_0(group1); r.method_85(); continue; case Enum5.const_13: int code = r.CurrentGroup.Code; WW.Math.Point3D point3D = new WW.Math.Point3D((double)r.CurrentGroup.Value, 0.0, 0.0); r.method_85(); if (r.CurrentGroup.Code == code + 10) { point3D.Y = (double)r.CurrentGroup.Value; r.method_85(); if (r.CurrentGroup.Code == code + 20) { point3D.Z = (double)r.CurrentGroup.Value; r.method_85(); } } Struct18 group2 = new Struct18(code, (object)point3D); class361.imethod_0(group2); continue; default: class361.imethod_0(r.CurrentGroup); r.method_85(); continue; } } }
public static extern int StgOpenStorageOnILockBytes(Interface65 A_0, Interface40 A_1, STGM A_2, int A_3, int A_4, out Interface40 A_5);
public static extern int StgOpenStorageEx([MarshalAs(UnmanagedType.LPWStr)] string A_0, STGM A_1, STGFMT A_2, uint A_3, IntPtr A_4, IntPtr A_5, ref Guid A_6, out Interface40 A_7);
public static extern int StgOpenStorage([MarshalAs(UnmanagedType.LPWStr)] string A_0, IntPtr A_1, STGM A_2, IntPtr A_3, uint A_4, out Interface40 A_5);
private static extern int StgCreatePropSetStg_1(Interface40 A_0, uint A_1, out Interface44 A_2);
public static extern int StgCreateDocfileOnILockBytes(Interface65 A_0, STGM A_1, int A_2, out Interface40 A_3);
public static extern int StgCreateDocfile([MarshalAs(UnmanagedType.LPWStr)] string A_0, STGM A_1, uint A_2, out Interface40 A_3);
public Class440(Stream stream, Interface40 mainWriter, Interface40 handleWriter) { this.stream_0 = stream; this.interface40_0 = mainWriter; this.interface40_1 = handleWriter; }
public void method_5(Interface40 interface40_1) { this.interface40_0 = interface40_1; }
internal static extern int StgCreateStorageEx([MarshalAs(UnmanagedType.LPWStr)] string A_0, STGM A_1, STGFMT A_2, int A_3, IntPtr A_4, IntPtr A_5, [In] ref Guid A_6, out Interface40 A_7);