Class FeedElement
Abstract base class for XML serializable classes that are part of the Zero Install feed model.
Assembly: ZeroInstall.Model.dll
Syntax
public abstract class FeedElement : XmlUnknown
Constructors
FeedElement()
Declaration
Properties
IfZeroInstallVersion
Only process this element if the current Zero Install version matches the range.
Declaration
public VersionRange IfZeroInstallVersion { get; set; }
Property Value
IfZeroInstallVersionString
Used for XML serialization.
Declaration
public string IfZeroInstallVersionString { get; set; }
Property Value
See Also
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Equals(FeedElement)
Declaration
public bool Equals(FeedElement other)
Parameters
Returns
FilterMismatch(IRecipeStep)
Declaration
protected static bool FilterMismatch(IRecipeStep step)
Parameters
Returns
FilterMismatch<T>(T)
Declaration
protected static bool FilterMismatch<T>(T element)
where T : FeedElement
Parameters
Type |
Name |
Description |
T |
element |
|
Returns
Type Parameters
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
Equality(FeedElement, FeedElement)
Indicates whether the object on the left is equal to the object on the right.
Declaration
public static bool operator ==(FeedElement left, FeedElement right)
Parameters
Returns
Type |
Description |
Boolean |
true if the objects are equal; otherwise, false.
|
Inequality(FeedElement, FeedElement)
Indicates whether the object on the left is not equal to the object on the right.
Declaration
public static bool operator !=(FeedElement left, FeedElement right)
Parameters
Returns
Type |
Description |
Boolean |
true if the objects are not equal; otherwise, false.
|
Implements