Class Binding
- Namespace
- ZeroInstall.Model
- Assembly
- ZeroInstall.Model.dll
Bindings specify how the chosen implementation is made known to the running program.
public abstract class Binding : FeedElement, IEquatable<FeedElement>, ICloneable<Binding>
- Inheritance
-
objectBinding
- Implements
- Derived
- Inherited Members
Remarks
Bindings can appear in Dependencys, in which case they tell a component how to find its dependency, or in Element, where they tell a component how to find itself.
Methods
Clone()
Creates a deep copy of this instance.
public abstract Binding Clone()
Returns
CloneFromTo(Binding, Binding)
Copies all members declared by Binding from one instance to another.
protected static void CloneFromTo(Binding from, Binding to)
Parameters
Normalize()
Converts legacy elements, sets default values, etc..
public virtual void Normalize()
Exceptions
- InvalidDataException
A required property is not set or invalid.