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
RuntimeVersion
The version of the .NET Runtime required by the application.
[TypeConverter(typeof(StringConstructorConverter<ImplementationVersion>))]
public ImplementationVersion RuntimeVersion { get; set; }
Property Value
Methods
CreateCommand()
Creates a Command to launch this entry point.
public override Command CreateCommand()
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Equals(DotNetExe?)
protected bool Equals(DotNetExe? other)
Parameters
other
DotNetExe
Returns
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
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
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
Returns
- bool
true if the objects are not equal; otherwise, false.