PluginsManager.TryLoadMetadata Method

Checks whether the specified file is a plug-in assembly file and if so then loads its metadata.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public static bool TryLoadMetadata(
	string filePath,
	Guid declaredGuid,
	out IPluginInitialMeta meta
)

Parameters

filePath  String
Full path to the plug-in assembly file.
declaredGuid  Guid
GUID of the plug-in declared outside. Pass Empty if any plug-in GUID is allowed.
meta  IPluginInitialMeta
Receives the plug-in metadata if the method result is true.

Return Value

Boolean
true if the specified file is recognized as plug-in assembly.

See Also