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
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
objectThe object to compare with the current object.
Returns
Equals(Implementation?)
protected bool Equals(Implementation? other)
Parameters
other
Implementation
Returns
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
FeedUriThe 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
ImplementationThe left object
right
ImplementationThe 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
ImplementationThe left object
right
ImplementationThe right object
Returns
- bool
true if the objects are not equal; otherwise, false.