Skip to main content

ZipPackageFile class

Namespace: Velopack.NuGet

public class ZipPackageFile : IEquatable<ZipPackageFile>

Implements: IEquatable<ZipPackageFile>

Constructors​

ConstructorSummary
ZipPackageFile

ZipPackageFile(relpath)​

public ZipPackageFile(Uri relpath)

Parameters

NameTypeDescription
relpathUri

Properties​

PropertySummary
Key
EffectivePath
TargetFramework
Path

Key​

public Uri Key { get; }

EffectivePath​

public string EffectivePath { get; }

TargetFramework​

public string TargetFramework { get; }

Path​

public string Path { get; }

Methods​

MethodSummary
IsLibFile
IsContentFile
IsFileInTopDirectory
ToString
GetHashCode
Equals
Equals

IsLibFile()​

public bool IsLibFile()

Returns bool

IsContentFile()​

public bool IsContentFile()

Returns bool

IsFileInTopDirectory(directory)​

public bool IsFileInTopDirectory(string directory)

Parameters

NameTypeDescription
directorystring

Returns bool

ToString()​

public override string ToString()

Returns string

GetHashCode()​

public override int GetHashCode()

Returns int

Equals(obj)​

public override bool Equals(object? obj)

Parameters

NameTypeDescription
objobject

Returns bool

Equals(other)​

public bool Equals(ZipPackageFile? other)

Parameters

NameTypeDescription
otherZipPackageFile

Returns bool


Generated from Velopack 1.2.0