Zero Install .NET API 2.20.0
ZeroInstall.Model.Capabilities.AppRegistration Class Reference

Indicates that an application should be listed in the "Set your Default Programs" UI (Windows Vista and later). More...

Inheritance diagram for ZeroInstall.Model.Capabilities.AppRegistration:
ZeroInstall.Model.Capabilities.Capability ZeroInstall.Model.XmlUnknown NanoByte.Common.ICloneable< Capability >

Public Member Functions

override void Normalize ()
 Converts legacy elements, sets default values, etc.. More...
 
override string ToString ()
 Returns the capability in the form "CapabilityRegPath". Not safe for parsing!
 
override Capability Clone ()
 Creates a deep copy of this Capability instance. More...
 
bool Equals (AppRegistration? other)
 
override bool Equals (object? obj)
 
override int GetHashCode ()
 
- Public Member Functions inherited from ZeroInstall.Model.Capabilities.Capability
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 ()
 
- Public Member Functions inherited from NanoByte.Common.ICloneable< Capability >
Capability Clone ()
 

Properties

override bool WindowsMachineWideOnly [get]
 
string CapabilityRegPath = default! [getset]
 The registry path relative to HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE which should be used to store the application's capability registration information.
 
override IEnumerable< string > ConflictIDs [get]
 
- Properties inherited from ZeroInstall.Model.Capabilities.Capability
virtual bool WindowsMachineWideOnly [get]
 Indicates whether this capability can be registered only machine-wide and not per-user on Windows systems.
 
string ID = default! [getset]
 An ID that differentiates this capability from other capabilities of the same type within the feed. May only contain alphanumeric characters, spaces ( ), dots (.), underscores (_), hyphens (-) and plus signs (+). More...
 
abstract IEnumerable< string > ConflictIDs [get]
 Identifiers from a namespace global to all Capabilitys. Collisions in this namespace indicate that the concerned Capabilitys are in conflict cannot be registered on a single system at the same time. 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.
 
- Protected Member Functions inherited from ZeroInstall.Model.Capabilities.Capability
bool Equals (Capability? 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)
 

Detailed Description

Indicates that an application should be listed in the "Set your Default Programs" UI (Windows Vista and later).

The actual integration information is pulled from the other Capabilitys.

Member Function Documentation

◆ Clone()

override Capability ZeroInstall.Model.Capabilities.AppRegistration.Clone ( )
virtual

Creates a deep copy of this Capability instance.

Implements ZeroInstall.Model.Capabilities.Capability.

◆ Normalize()

override void ZeroInstall.Model.Capabilities.AppRegistration.Normalize ( )
inlinevirtual

Converts legacy elements, sets default values, etc..

Reimplemented from ZeroInstall.Model.Capabilities.Capability.


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