Class RetrievalMethod
- Namespace
- ZeroInstall.Model
- Assembly
- ZeroInstall.Model.dll
A retrieval method is a way of getting a copy of an Implementation.
public abstract class RetrievalMethod : FeedElement, IEquatable<XmlUnknown>, IEquatable<FeedElement>, ICloneable<RetrievalMethod>
- Inheritance
-
RetrievalMethod
- Implements
- Derived
- Inherited Members
Methods
Clone()
Creates a deep copy of this RetrievalMethod instance.
public abstract RetrievalMethod Clone()
Returns
- RetrievalMethod
The new copy of the RetrievalMethod.
Normalize(FeedUri?)
Sets missing default values and handles legacy elements.
public virtual void Normalize(FeedUri? feedUri = null)
Parameters
feedUri
FeedUriThe feed the data was originally loaded from.
Exceptions
- UriFormatException
Href is relative and
feedUri
is a remote URI.- InvalidDataException
A required property is not set or invalid.