Table of Contents

Class Implementation

Namespace
ZeroInstall.Model
Assembly
ZeroInstall.Model.dll

An implementation is a specific version of an application that can be downloaded and executed (e.g. Firefox 3.6 for Windows).

[Serializable]
[Equatable]
public class Implementation : ImplementationBase, IEquatable<XmlUnknown>, IEquatable<FeedElement>, IEquatable<TargetBase>, IBindingContainer, IDependencyContainer, ICloneable<Element>, IEquatable<Element>, IEquatable<ImplementationBase>, IEquatable<Implementation>
Inheritance
Implementation
Implements
Derived
Inherited Members
Extension Methods

Properties

RetrievalMethods

A list of RetrievalMethods for downloading the implementation.

[Browsable(false)]
[OrderedEquality]
public List<RetrievalMethod> RetrievalMethods { get; }

Property Value

List<RetrievalMethod>

Methods

Clone()

Creates a deep copy of this Implementation instance.

public override Element Clone()

Returns

Element

The new copy of the Implementation.

CloneImplementation()

Creates a deep copy of this Implementation instance.

public Implementation CloneImplementation()

Returns

Implementation

The new copy of the Implementation.

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

protected bool Equals(Implementation? other)

Parameters

other Implementation

Returns

bool

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Normalize(FeedUri?)

Flattens inheritance structures, Converts legacy elements, sets default values, etc..

public override void Normalize(FeedUri? feedUri = null)

Parameters

feedUri FeedUri

The feed the data was originally loaded from.

Exceptions

InvalidDataException

A required property is not set or invalid.

Operators

operator ==(Implementation?, Implementation?)

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

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

Parameters

left Implementation

The left object

right Implementation

The right object

Returns

bool

true if the objects are equal; otherwise, false.

operator !=(Implementation?, Implementation?)

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

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

Parameters

left Implementation

The left object

right Implementation

The right object

Returns

bool

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

See Also