Table of Contents

Class DotNetExe

Namespace
ZeroInstall.Publish.EntryPoints
Assembly
ZeroInstall.Publish.dll
[Equatable]
public class DotNetExe : WindowsExe, IEquatable<Candidate>, IIconContainer, IEquatable<DotNetExe>
Inheritance
DotNetExe
Implements
Derived
Inherited Members

Properties

NeedsAspNetCore

Indicates whether the app needs the ASP.NET Core Runtime.

public bool NeedsAspNetCore { get; set; }

Property Value

bool

RuntimeVersion

The version of the .NET Runtime required by the application.

[TypeConverter(typeof(StringConstructorConverter<ImplementationVersion>))]
public ImplementationVersion RuntimeVersion { get; set; }

Property Value

ImplementationVersion

Methods

CreateCommand()

Creates a Command to launch this entry point.

public override Command CreateCommand()

Returns

Command

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(DotNetExe?)

protected bool Equals(DotNetExe? other)

Parameters

other DotNetExe

Returns

bool

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Parse(PEHeader)

protected override bool Parse(PEHeader peHeader)

Parameters

peHeader PEHeader

Returns

bool

Operators

operator ==(DotNetExe?, DotNetExe?)

Indicates whether the object on the left is equal to the object on the right.

public static bool operator ==(DotNetExe? left, DotNetExe? right)

Parameters

left DotNetExe

The left object

right DotNetExe

The right object

Returns

bool

true if the objects are equal; otherwise, false.

operator !=(DotNetExe?, DotNetExe?)

Indicates whether the object on the left is not equal to the object on the right.

public static bool operator !=(DotNetExe? left, DotNetExe? right)

Parameters

left DotNetExe

The left object

right DotNetExe

The right object

Returns

bool

true if the objects are not equal; otherwise, false.