Method Load
Load(IFileInfo)
Tries to load the class library from the given Microsoft.Extensions.FileProviders.IFileInfo instance.
Declaration
protected virtual Assembly Load(IFileInfo path)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.FileProviders.IFileInfo | path | The Microsoft.Extensions.FileProviders.IFileInfo instance of a class library to load. |
Returns
| Type | Description |
|---|---|
| Assembly | An Assembly instance on success, otherwise null. |