PluginsManager.TryLoadMetadata Method
Checks whether the specified file is a plug-in assembly file and if so then loads its metadata.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
public static bool TryLoadMetadata(
string filePath,
Guid declaredGuid,
out IPluginInitialMeta meta
)
Public Shared Function TryLoadMetadata (
filePath As String,
declaredGuid As Guid,
<OutAttribute> ByRef meta As IPluginInitialMeta
) As Boolean
public:
static bool TryLoadMetadata(
String^ filePath,
Guid declaredGuid,
[OutAttribute] IPluginInitialMeta^% meta
)
static member TryLoadMetadata :
filePath : string *
declaredGuid : Guid *
meta : IPluginInitialMeta byref -> bool
- 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.
Booleantrue if the specified file is recognized as plug-in assembly.