Table of Contents

Class ExecutableInBinding

Namespace
ZeroInstall.Model
Assembly
ZeroInstall.Model.dll

Make a chosen Implementation available as an executable at runtime.

[Equatable]
public abstract class ExecutableInBinding : Binding, IEquatable<XmlUnknown>, IEquatable<FeedElement>, ICloneable<Binding>, IEquatable<ExecutableInBinding>
Inheritance
ExecutableInBinding
Implements
Derived
Inherited Members

Properties

Command

The name of the Command in the Implementation to launch; leave null for NameRun.

[TypeConverter(typeof(CommandNameConverter))]
public string? Command { get; set; }

Property Value

string

Methods

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(ExecutableInBinding?)

protected bool Equals(ExecutableInBinding? other)

Parameters

other ExecutableInBinding

Returns

bool

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Operators

operator ==(ExecutableInBinding?, ExecutableInBinding?)

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

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

Parameters

left ExecutableInBinding

The left object

right ExecutableInBinding

The right object

Returns

bool

true if the objects are equal; otherwise, false.

operator !=(ExecutableInBinding?, ExecutableInBinding?)

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

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

Parameters

left ExecutableInBinding

The left object

right ExecutableInBinding

The right object

Returns

bool

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