C# Class ZeroInstall.Store.Model.ImplementationBase

Inheritance: Element
Show file Open project: 0install/0install-win Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetHashCode ( ) : int
Normalize ( FeedUri 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.

ToString ( ) : string

Returns the implementation in the form "Comma-seperated list of set values". Not safe for parsing!

Protected Methods

Method Description
CloneFromTo ( [ from, [ to ) : void

Copies all known values from one instance to another. Helper method for instance cloning.

Equals ( ImplementationBase other ) : bool

Method Details

CloneFromTo() protected static method

Copies all known values from one instance to another. Helper method for instance cloning.
protected static CloneFromTo ( [ from, [ to ) : void
from [
to [
return void

Equals() protected method

protected Equals ( ImplementationBase other ) : bool
other ImplementationBase
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

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.
public Normalize ( FeedUri feedUri ) : void
feedUri FeedUri The feed the data was originally loaded from.
return void

ToString() public method

Returns the implementation in the form "Comma-seperated list of set values". Not safe for parsing!
public ToString ( ) : string
return string