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
Implements
Inherited Members
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
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
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
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
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. |