Class PlugInInfo
Last update: 19.06.2026Namespace: Phoenix.PlugIns
Assembly: Phoenix.PlugIns.dll
A class that represents the JSON metadata.phxplugin file that is stored with plug-ins to define what they contain.
public class PlugInInfo
Inheritance
Inherited Members
object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()
Constructors
Constructor
Fields
The standard name of the metadata file.
Properties
Who authored this plug-in
Attempt to retrieve the appropriate display name.
A longer description of the component
A map of language to a human readible display name for the plug-in. Entries may be of the form languageCode2-countryCode2, languageCode2, or an empty string. The languageCode2 must be an ISO 639-1 two-letter country code. The countryCode2 must be an ISO 3166 two-letter subculture code (usually a country identifier). When choosing which name to display, the system will first try to match the user's languageCode2-countryCode2 combination, then just the languageCode2, then it will try to use the entry with an empty key, then it will try to use 'en', lastly falling back on the name of the implementing class. Tests are always case insensitive.
A URL that provides help for the component
A path, usually relative to the metadata file, that points to an icon or bitmap file for the component.
The UUID for the plug-in
The full class name that implements the plug-in, in dotted notation.
The main file that contains the implementing class. Must be a .dll for DotNet and a .jar for Java. May be relative to the 'metadata.phxplugin' file.
What framework is used to implement this plug-in?
An arbitrary string/value map of options. Refer to your SDK documentation for available options that can be set.
A list of unique string identifiers that define what types of plug-in this class implements. The plug-in framework is generic to allow for future types. The currently implemented types are 'Phoenix::IHarnessRunner' and 'Phoenix::IHarnessBuilderUI'.
The version of this plug-in
Methods
GetMetadataForAssembly(Assembly)
Creates a list of PlugInInfo objects from the attributes on an Assembly.
Get the Type object for the plug-in
Determine if the plug-in implements an interface
Determine if the plug-in implements an interface.
Instantiate<T>(IServiceProvider, string)
Instantiates a new instance of the plug-in
Reads a JSON string into an array of PlugInInfo objects
Reads a list of PlugInInfo objects from a stream
WriteJson(IEnumerable<PlugInInfo>)
Writes a list of PlugInInfo objects into a JSON string. Defaults to human readable (indented)
WriteJson(IEnumerable<PlugInInfo>, Formatting)
Writes a list of PlugInInfo objects into a JSON string.
WriteMetadataForDLLs(params string[])
Write plug-in metadata for a given set of DLLs.
A single metadata file with the name Phoenix.PlugIns.PlugInInfo.METADATA_FILENAME will be written in each directory
which contains the targeted DLLs. The file will contain metadata for all the targeted DLLs in that directory.