Method Read
Read(string)
Reads a manifest from a plugin.json file, without loading any code.
public static CadPluginManifest Read(string path)
Parameters
pathstringThe path of the plugin.json.
Returns
- CadPluginManifest
The manifest.
Exceptions
- ArgumentNullException
Thrown when the path is null.
- FileNotFoundException
Thrown when there is no such file.
- FormatException
Thrown when the manifest cannot be read (see Parse(string)).