Zero Install .NET API 2.20.0
ZeroInstall.Model.FeedElement Class Reference

Abstract base class for XML serializable classes that are part of the Zero Install feed model. More...

Inheritance diagram for ZeroInstall.Model.FeedElement:
ZeroInstall.Model.XmlUnknown ZeroInstall.Model.ArgBase ZeroInstall.Model.Binding ZeroInstall.Model.Category ZeroInstall.Model.Command ZeroInstall.Model.Constraint ZeroInstall.Model.CopyFromStep ZeroInstall.Model.EntryPoint ZeroInstall.Model.Icon ZeroInstall.Model.InterfaceReference ZeroInstall.Model.RemoveStep ZeroInstall.Model.RenameStep ZeroInstall.Model.Restriction ZeroInstall.Model.RetrievalMethod ZeroInstall.Model.TargetBase ZeroInstall.Model.WorkingDir

Public Member Functions

override int GetHashCode ()
 
- Public Member Functions inherited from ZeroInstall.Model.XmlUnknown
string ToShortXml ()
 Returns a shortened XML representation (with attributes but without child elements). More...
 
override int GetHashCode ()
 

Protected Member Functions

bool Equals (FeedElement? other)
 
- Protected Member Functions inherited from ZeroInstall.Model.XmlUnknown
void EnsureAttribute (object? value, string attributeName)
 Ensures that a value deserialized from an XML attribute is set (not null). More...
 
void EnsureAttributeSafeID (string? value, string attributeName)
 Ensures that a value deserialized from an XML attribute is set (not null) and only contains alphanumeric characters, spaces ( ), dots (.), underscores (_), hyphens (-) and plus signs (+). More...
 
bool Equals (XmlUnknown? other)
 

Static Protected Member Functions

static bool FilterMismatch (IRecipeStep step)
 Checks whether an element passes the specified IfZeroInstallVersion restriction, if any.
 

Static Package Functions

static bool FilterMismatch< T > (T element)
 Checks whether an element passes the specified IfZeroInstallVersion restriction, if any. More...
 

Properties

VersionRangeIfZeroInstallVersion [getset]
 Only process this element if the current Zero Install version matches the range.
 
string??? IfZeroInstallVersionString [getset]
 Used for XML serialization. More...
 

Additional Inherited Members

- Public Attributes inherited from ZeroInstall.Model.XmlUnknown
XmlAttribute?[] UnknownAttributes
 Contains any unknown additional XML attributes.
 
XmlElement?[] UnknownElements
 Contains any unknown additional XML elements.
 

Detailed Description

Abstract base class for XML serializable classes that are part of the Zero Install feed model.

Does not include ZeroInstall.Model.Capabilities.

Member Function Documentation

◆ FilterMismatch< T >()

static bool ZeroInstall.Model.FeedElement.FilterMismatch< T > ( element)
inlinestaticpackage

Checks whether an element passes the specified IfZeroInstallVersion restriction, if any.

Type Constraints
T :FeedElement 

Property Documentation

◆ IfZeroInstallVersionString

string??? ZeroInstall.Model.FeedElement.IfZeroInstallVersionString
getset

Used for XML serialization.

See also
IfZeroInstallVersion

The documentation for this class was generated from the following file: