Table of Contents

Class DotNetFrameworkExe

Namespace
ZeroInstall.Publish.EntryPoints
Assembly
ZeroInstall.Publish.dll

A .NET/Mono executable.

[Equatable]
public sealed class DotNetFrameworkExe : WindowsExe, IEquatable<Candidate>, IIconContainer, IEquatable<DotNetFrameworkExe>
Inheritance
DotNetFrameworkExe
Implements
Inherited Members

Properties

ExternalDependencies

Does this application have external dependencies that need to be injected by Zero Install? Only enable if you are sure!

public bool ExternalDependencies { get; set; }

Property Value

bool

MinimumRuntimeVersion

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

[TypeConverter(typeof(DotNetVersionConverter))]
public ImplementationVersion? MinimumRuntimeVersion { get; set; }

Property Value

ImplementationVersion

RuntimeType

The types of .NET Runtime supported by the application.

public DotNetRuntimeType RuntimeType { get; set; }

Property Value

DotNetRuntimeType

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.

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 ==(DotNetFrameworkExe?, DotNetFrameworkExe?)

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

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

Parameters

left DotNetFrameworkExe

The left object

right DotNetFrameworkExe

The right object

Returns

bool

true if the objects are equal; otherwise, false.

operator !=(DotNetFrameworkExe?, DotNetFrameworkExe?)

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

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

Parameters

left DotNetFrameworkExe

The left object

right DotNetFrameworkExe

The right object

Returns

bool

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