Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
LastWriteTime
DateTimeOffset
System.IO.Compression.ZipArchiveEntry.LastWriteTime
get
set
Definition at line
323
of file
ZipArchiveEntry.cs
.
324
{
325
get
326
{
327
return
_lastModified
;
328
}
329
set
330
{
331
ThrowIfInvalidArchive
();
332
if
(
_archive
.
Mode
== ZipArchiveMode.Read)
333
{
334
throw
new
NotSupportedException(
System
.
SR
.
ReadOnlyArchive
);
335
}
336
if
(
_archive
.
Mode
== ZipArchiveMode.Create &&
_everOpenedForWrite
)
337
{
338
throw
new
IOException(
System
.
SR
.
FrozenAfterWrite
);
339
}
340
if
(
value
.DateTime.Year < 1980 ||
value
.DateTime.Year > 2107)
341
{
342
throw
new
ArgumentOutOfRangeException(
"value"
,
System
.
SR
.
DateTimeOutOfRange
);
343
}
344
_lastModified
=
value
;
345
}
346
}
System.IO.Compression.ZipArchiveEntry._lastModified
DateTimeOffset _lastModified
Definition
ZipArchiveEntry.cs:224
System.IO.Compression.ZipArchiveEntry.ThrowIfInvalidArchive
void ThrowIfInvalidArchive()
Definition
ZipArchiveEntry.cs:1011
System.IO.Compression.ZipArchiveEntry._everOpenedForWrite
bool _everOpenedForWrite
Definition
ZipArchiveEntry.cs:242
System.IO.Compression.ZipArchiveEntry._archive
ZipArchive _archive
Definition
ZipArchiveEntry.cs:208
System.IO.Compression.ZipArchive.Mode
ZipArchiveMode Mode
Definition
ZipArchive.cs:55
System.SR.FrozenAfterWrite
static string FrozenAfterWrite
Definition
SR.cs:98
System.SR.ReadOnlyArchive
static string ReadOnlyArchive
Definition
SR.cs:112
System.SR.DateTimeOutOfRange
static string DateTimeOutOfRange
Definition
SR.cs:66
System.SR
Definition
SR.cs:7
System.ExceptionArgument.value
@ value
System
Definition
BlockingCollection.cs:8
System
IO
Compression
ZipArchiveEntry
Generated by
1.10.0