|
static readonly BindingFlags | Bind = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic |
|
static readonly Type | ZipFileInfoType = MyZipArchiveReflection.ZipAssembly.GetType("MS.Internal.IO.Zip.ZipFileInfo") |
|
static readonly PropertyInfo | CompressionMethodProperty = ZipFileInfoType.GetProperty("CompressionMethod", Bind) |
|
static readonly PropertyInfo | DeflateOptionProperty = ZipFileInfoType.GetProperty("DeflateOption", Bind) |
|
static readonly PropertyInfo | FolderFlagProperty = ZipFileInfoType.GetProperty("FolderFlag", Bind) |
|
static readonly PropertyInfo | LastModFileDateTimeProperty = ZipFileInfoType.GetProperty("LastModFileDateTime", Bind) |
|
static readonly PropertyInfo | NameProperty = ZipFileInfoType.GetProperty("Name", Bind) |
|
static readonly PropertyInfo | VolumeLabelFlagProperty = ZipFileInfoType.GetProperty("VolumeLabelFlag", Bind) |
|
static readonly MethodInfo | GetStreamMethod = ZipFileInfoType.GetMethod("GetStream", Bind) |
|
static readonly Func< object, ushort > | CompressionMethod = CompressionMethodProperty.CreateGetter<object, ushort>() |
|
static readonly Func< object, byte > | DeflateOption = DeflateOptionProperty.CreateGetter<object, byte>() |
|
static readonly Func< object, bool > | FolderFlag = FolderFlagProperty.CreateGetter<object, bool>() |
|
static readonly Func< object, DateTime > | LastModFileDateTime = LastModFileDateTimeProperty.CreateGetter<object, DateTime>() |
|
static readonly Func< object, string > | Name = NameProperty.CreateGetter<object, string>() |
|
static readonly Func< object, bool > | VolumeLabelFlag = VolumeLabelFlagProperty.CreateGetter<object, bool>() |
|
static readonly Func< object, FileMode, FileAccess, Stream > | GetStream = GetStreamMethod.InstanceCall<Func<object, FileMode, FileAccess, Stream>>() |
|
Definition at line 134 of file MyZipArchiveReflection.cs.