C# Class ZeroInstall.Store.Model.RetrievalMethod

Inheritance: FeedElement, ICloneable
Mostrar archivo Open project: 0install/0install-win Class Usage Examples

Public Methods

Method Description
Clone ( ) : RetrievalMethod

Creates a deep copy of this RetrievalMethod instance.

Normalize ( [ feedUri ) : void

Sets missing default values and handles legacy elements.

This method should be called to prepare a Feed for solver processing. Do not call it if you plan on serializing the feed again since it may loose some of its structure.

Private Methods

Method Description
ICloneable ( ) : object

Method Details

Clone() public abstract method

Creates a deep copy of this RetrievalMethod instance.
public abstract Clone ( ) : RetrievalMethod
return RetrievalMethod

Normalize() public method

Sets missing default values and handles legacy elements.
This method should be called to prepare a Feed for solver processing. Do not call it if you plan on serializing the feed again since it may loose some of its structure.
is relative and is a remote URI.
public Normalize ( [ feedUri ) : void
feedUri [ The feed the data was originally loaded from.
return void