Show / Hide Table of Contents

Class Implementation

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

Inheritance
Object
XmlUnknown
FeedElement
TargetBase
Element
ImplementationBase
Implementation
ExternalImplementation
Implements
IEquatable<XmlUnknown>
IEquatable<FeedElement>
IEquatable<TargetBase>
IBindingContainer
IDependencyContainer
ICloneable<Element>
IEquatable<Element>
IEquatable<ImplementationBase>
IEquatable<Implementation>
Inherited Members
ImplementationBase.CloneFromTo(ImplementationBase, ImplementationBase)
ImplementationBase.ToString()
ImplementationBase.Equals(ImplementationBase)
ImplementationBase.ID
ImplementationBase.LocalPath
ImplementationBase.Version
ImplementationBase.ManifestDigest
Element.ReleaseDateFormat
Element.ReleasedVerbatim
Element.ContainsCommand(String)
Element.GetCommand(String)
Element.EnsureAttributes()
Element.CloneFromTo(Element, Element)
Element.Equals(Element)
Element.VersionString
Element.VersionModifier
Element.Released
Element.ReleasedString
Element.Stability
Element.RolloutPercentage
Element.License
Element.Main
Element.SelfTest
Element.DocDir
Element.Dependencies
Element.Restrictions
Element.Bindings
Element.Commands
Element.Item[String]
TargetBase.CloneFromTo(TargetBase, TargetBase)
TargetBase.Equals(TargetBase)
TargetBase.Languages
TargetBase.Architecture
TargetBase.LanguagesString
TargetBase.ArchitectureString
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 class Implementation : ImplementationBase, IBindingContainer, IDependencyContainer

Constructors

Implementation()

Declaration
public Implementation()

Properties

RetrievalMethods

A list of RetrievalMethods for downloading the implementation.

Declaration
public List<RetrievalMethod> RetrievalMethods { get; }
Property Value
Type Description
List<RetrievalMethod>

Methods

Clone()

Creates a deep copy of this Implementation instance.

Declaration
public override Element Clone()
Returns
Type Description
Element

The new copy of the Implementation.

Overrides
Element.Clone()

CloneImplementation()

Creates a deep copy of this Implementation instance.

Declaration
public Implementation CloneImplementation()
Returns
Type Description
Implementation

The new copy of the Implementation.

Equals(Object)

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

Equals(Implementation)

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

GetHashCode()

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

Normalize(FeedUri)

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

Declaration
public override void Normalize(FeedUri feedUri = null)
Parameters
Type Name Description
FeedUri feedUri

The feed the data was originally loaded from.

Overrides
ImplementationBase.Normalize(FeedUri)
Exceptions
Type Condition
InvalidDataException

A required property is not set or invalid.

Operators

Equality(Implementation, Implementation)

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

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

The left object

Implementation right

The right object

Returns
Type Description
Boolean

true if the objects are equal; otherwise, false.

Inequality(Implementation, Implementation)

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

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

The left object

Implementation right

The right object

Returns
Type Description
Boolean

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

Implements

System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
IBindingContainer
IDependencyContainer
ICloneable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>

Extension Methods

ImplementationExtensions.SetMissing(Implementation, ICommandExecutor, ITaskHandler)

See Also

Elements
In This Article
Back to top Copyright Bastian Eicher et al