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

Can act as the default provider for a well-known service such web-browser, e-mail client. More...

Inheritance diagram for ZeroInstall.Model.Capabilities.DefaultProgram:
ZeroInstall.Model.Capabilities.VerbCapability ZeroInstall.Model.Capabilities.IconCapability ZeroInstall.Model.Capabilities.DefaultCapability ZeroInstall.Model.IIconContainer ZeroInstall.Model.IDescriptionContainer ZeroInstall.Model.Capabilities.Capability ZeroInstall.Model.XmlUnknown NanoByte.Common.ICloneable< Capability >

Static Public Attributes

const string ServiceInternet = "StartMenuInternet"
 Canonical Service for web browsers.
 
const string ServiceMail = "Mail"
 Canonical Service for mail clients.
 
const string ServiceMedia = "Media"
 Canonical Service for media players.
 
const string ServiceMessenger = "IM"
 Canonical Service for instant messengers.
 
const string ServiceJava = "JVM"
 Canonical Service for Java Virtual Machines.
 
const string ServiceCalender = "Calender"
 Canonical Service for calender tools.
 
const string ServiceContacts = "Contacts"
 Canonical Service for address books.
 
const string ServiceInternetCall = "Internet Call"
 Canonical Service for internet call tools.
 

Properties

override bool WindowsMachineWideOnly [get]
 
string Service = default! [getset]
 The name of the service the application provides. Well-known values on Windows are: Mail, Media, IM, JVM, Calender, Contacts, Internet Call
 
InstallCommands InstallCommands [getset]
 Lists the commands the application registers for use by Windows' "Set Program Access and Defaults". Will be transparently replaced with Zero Install commands at runtime. More...
 
- Properties inherited from ZeroInstall.Model.Capabilities.VerbCapability
List< VerbVerbs = new() [get]
 A list of all available operations for the element.
 
- Properties inherited from ZeroInstall.Model.Capabilities.IconCapability
LocalizableStringCollection Descriptions = new() [get]
 
List< IconIcons = new() [get]
 Zero or more icons to represent the capability. Used for things like file icons.
 
- Properties inherited from ZeroInstall.Model.Capabilities.DefaultCapability
bool ExplicitOnly [getset]
 When set to true this capability is not applied as a default handler without explicit confirmation from the user. More...
 
- 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...
 
- Properties inherited from ZeroInstall.Model.IIconContainer
List< IconIcons [get]
 Zero or more icons.
 
- Properties inherited from ZeroInstall.Model.IDescriptionContainer
LocalizableStringCollection Descriptions [get]
 Full descriptions for different languages, which can be several paragraphs long.
 

Additional Inherited Members

- Public Member Functions inherited from ZeroInstall.Model.Capabilities.VerbCapability
override void Normalize ()
 Converts legacy elements, sets default values, etc.. More...
 
override int GetHashCode ()
 
- Public Member Functions inherited from ZeroInstall.Model.Capabilities.IconCapability
IconGetIcon (string mimeType)
 Returns the first icon with a specific MIME type. More...
 
override int GetHashCode ()
 
- Public Member Functions inherited from ZeroInstall.Model.Capabilities.DefaultCapability
override int GetHashCode ()
 
- Public Member Functions inherited from ZeroInstall.Model.Capabilities.Capability
abstract Capability Clone ()
 Creates a deep copy of this Capability instance. More...
 
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 ()
 
- 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.VerbCapability
bool Equals (VerbCapability? other)
 
- Protected Member Functions inherited from ZeroInstall.Model.Capabilities.IconCapability
bool Equals (IconCapability? other)
 
- Protected Member Functions inherited from ZeroInstall.Model.Capabilities.DefaultCapability
bool Equals (DefaultCapability? other)
 
- 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

Can act as the default provider for a well-known service such web-browser, e-mail client.

Property Documentation

◆ InstallCommands

InstallCommands ZeroInstall.Model.Capabilities.DefaultProgram.InstallCommands
getset

Lists the commands the application registers for use by Windows' "Set Program Access and Defaults". Will be transparently replaced with Zero Install commands at runtime.

These strings are used for registry filtering. They are never actually executed.


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