Show / Hide Table of Contents

Class RetrievalMethod

A retrieval method is a way of getting a copy of an Implementation.

Inheritance
Object
XmlUnknown
FeedElement
RetrievalMethod
DownloadRetrievalMethod
Recipe
ExternalRetrievalMethod
Implements
IEquatable<XmlUnknown>
IEquatable<FeedElement>
ICloneable<RetrievalMethod>
Inherited Members
FeedElement.FilterMismatch<T>(T)
FeedElement.FilterMismatch(IRecipeStep)
FeedElement.Equals(Object)
FeedElement.Equals(FeedElement)
FeedElement.GetHashCode()
FeedElement.IfZeroInstallVersion
FeedElement.IfZeroInstallVersionString
XmlUnknown.UnknownAttributes
XmlUnknown.UnknownElements
XmlUnknown.EnsureAttribute(Object, String)
XmlUnknown.EnsureAttributeSafeID(String, String)
XmlUnknown.ToShortXml()
XmlUnknown.Equals(XmlUnknown)
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 feedUri is a remote URI.

InvalidDataException

A required property is not set or invalid.

Implements

System.IEquatable<T>
System.IEquatable<T>
ICloneable<T>

Extension Methods

RetrievalMethodExtensions.CalculateDigest(RetrievalMethod, ICommandExecutor, ITaskHandler, ManifestFormat)
In This Article
Back to top Copyright Bastian Eicher et al