Show / Hide Table of Contents

Class ExecutableInPath

Make a chosen Implementation available as an executable in the search PATH.

Inheritance
Object
XmlUnknown
FeedElement
Binding
ExecutableInBinding
ExecutableInPath
Implements
IEquatable<XmlUnknown>
IEquatable<FeedElement>
ICloneable<Binding>
IEquatable<ExecutableInBinding>
IEquatable<ExecutableInPath>
Inherited Members
ExecutableInBinding.Equals(ExecutableInBinding)
ExecutableInBinding.Command
FeedElement.FilterMismatch<T>(T)
FeedElement.FilterMismatch(IRecipeStep)
FeedElement.Equals(FeedElement)
FeedElement.IfZeroInstallVersion
FeedElement.IfZeroInstallVersionString
XmlUnknown.UnknownAttributes
XmlUnknown.UnknownElements
XmlUnknown.EnsureAttribute(Object, String)
XmlUnknown.EnsureAttributeSafeID(String, String)
XmlUnknown.ToShortXml()
XmlUnknown.Equals(XmlUnknown)
Namespace: ZeroInstall.Model
Assembly: ZeroInstall.Model.dll
Syntax
public sealed class ExecutableInPath : ExecutableInBinding

Constructors

ExecutableInPath()

Declaration
public ExecutableInPath()

Properties

Name

The name of the executable (without file extensions).

Declaration
public string Name { get; set; }
Property Value
Type Description
String

Methods

Clone()

Creates a deep copy of this ExecutableInPath instance.

Declaration
public override Binding Clone()
Returns
Type Description
Binding

The new copy of the ExecutableInPath.

Overrides
Binding.Clone()

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
ExecutableInBinding.Equals(Object)

Equals(ExecutableInPath)

Declaration
public bool Equals(ExecutableInPath other)
Parameters
Type Name Description
ExecutableInPath other
Returns
Type Description
Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
ExecutableInBinding.GetHashCode()

Normalize()

Converts legacy elements, sets default values, etc..

Declaration
public override void Normalize()
Overrides
Binding.Normalize()
Exceptions
Type Condition
InvalidDataException

A required property is not set or invalid.

ToString()

Returns the binding in the form " Name = Command". Not safe for parsing!

Declaration
public override string ToString()
Returns
Type Description
String

Operators

Equality(ExecutableInPath, ExecutableInPath)

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

Declaration
public static bool operator ==(ExecutableInPath left, ExecutableInPath right)
Parameters
Type Name Description
ExecutableInPath left

The left object

ExecutableInPath right

The right object

Returns
Type Description
Boolean

true if the objects are equal; otherwise, false.

Inequality(ExecutableInPath, ExecutableInPath)

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

Declaration
public static bool operator !=(ExecutableInPath left, ExecutableInPath right)
Parameters
Type Name Description
ExecutableInPath left

The left object

ExecutableInPath right

The right object

Returns
Type Description
Boolean

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

Implements

System.IEquatable<T>
System.IEquatable<T>
ICloneable<T>
System.IEquatable<T>
System.IEquatable<T>
In This Article
Back to top Copyright Bastian Eicher et al