Class RetrievalMethod
A retrieval method is a way of getting a copy of an Implementation.
Inheritance
RetrievalMethod
Inherited Members
Namespace: ZeroInstall.Model
Assembly: ZeroInstall.Model.dll
Syntax
public abstract class RetrievalMethod : FeedElement
Constructors
RetrievalMethod()
Declaration
protected RetrievalMethod()
Methods
Clone()
Creates a deep copy of this RetrievalMethod instance.
Declaration
public abstract RetrievalMethod Clone()
Returns
Type | Description |
---|---|
RetrievalMethod | The new copy of the RetrievalMethod. |
Normalize(FeedUri)
Sets missing default values and handles legacy elements.
Declaration
public virtual void Normalize(FeedUri feedUri = null)
Parameters
Type | Name | Description |
---|---|---|
FeedUri | feedUri | The feed the data was originally loaded from. |
Exceptions
Type | Condition |
---|---|
UriFormatException | Href is relative and |
InvalidDataException | A required property is not set or invalid. |