Class StorageObject
Defines an “intersection type” for the S3Object defacto standard
and FileInfo
public record StorageObject : IEquatable<StorageObject>
- Inheritance
-
StorageObject
- Implements
- Inherited Members
- Extension Methods
Constructors
StorageObject(string, string?, string, DateTime, long, string?, string)
Defines an “intersection type” for the S3Object defacto standard
and FileInfo
public StorageObject(string BucketName, string? ETag, string Key, DateTime LastWriteTimeUtc, long Size, string? Extension, string Name)
Parameters
BucketNamestringmaps to DirectoryName
ETagstringrepresents
S3Object.ETagKeystringrepresents
S3Object.KeyLastWriteTimeUtcDateTimemaps to
S3Object.LastModifiedSizelongmaps to Length
Extensionstringrepresents Extension
Namestringrepresents Name
Properties
BucketName
maps to DirectoryName
public string BucketName { get; init; }
Property Value
ETag
represents S3Object.ETag
public string? ETag { get; init; }
Property Value
Extension
represents Extension
public string? Extension { get; init; }
Property Value
Key
represents S3Object.Key
public string Key { get; init; }
Property Value
LastWriteTimeUtc
maps to S3Object.LastModified
public DateTime LastWriteTimeUtc { get; init; }
Property Value
Name
represents Name
public string Name { get; init; }
Property Value
Size
maps to Length
public long Size { get; init; }