NuGetFileEntry
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Represents a file entry within a NuGet package (.nupkg).
public sealed record NuGetFileEntry : IEquatable<NuGetFileEntry>Inheritance
Section titled “Inheritance”Object → NuGetFileEntry
Implements
Section titled “Implements”Constructors
Section titled “Constructors”NuGetFileEntry(string, string, string, long, long, bool)
Section titled “NuGetFileEntry(string, string, string, long, long, bool)”Represents a file entry within a NuGet package (.nupkg).
Parameters:
Name(String): File name without directory path.FullPath(String): Full path of the entry within the package archive.Directory(String): Directory portion of the entry path.CompressedSize(Int64): Compressed size in bytes inside the .nupkg.UncompressedSize(Int64): Uncompressed size in bytes.IsDll(Boolean): Whether the entry is a .NET assembly (.dll).
public NuGetFileEntry(string Name, string FullPath, string Directory, long CompressedSize, long UncompressedSize, bool IsDll)Properties
Section titled “Properties”CompressedSize
Section titled “CompressedSize”Compressed size in bytes inside the .nupkg.
Returns: Int64
public long CompressedSize { get; init; }Directory
Section titled “Directory”Directory portion of the entry path.
Returns: String
public string Directory { get; init; }FullPath
Section titled “FullPath”Full path of the entry within the package archive.
Returns: String
public string FullPath { get; init; }Whether the entry is a .NET assembly (.dll).
Returns: Boolean
public bool IsDll { get; init; }File name without directory path.
Returns: String
public string Name { get; init; }UncompressedSize
Section titled “UncompressedSize”Uncompressed size in bytes.
Returns: Int64
public long UncompressedSize { get; init; }