Property | Type | Description | |
---|---|---|---|
CheckAddinDependencies | bool | ||
EnsureAssembliesLoaded | void | ||
GetAllAssemblies | IEnumerable |
||
GetAllDependencies | IEnumerable |
||
GetAllResourceManagers | IEnumerable |
||
GetDepAddins | Mono.Addins.RuntimeAddin[] | ||
GetModule | |||
GetResourceManagers | System.Resources.ResourceManager[] | ||
Load | |||
LoadModule | void | ||
RuntimeAddin | System | ||
RuntimeAddin | System | ||
UnloadExtensions | void |
Method | Description | |
---|---|---|
CreateInstance ( string typeName ) : object |
Creates an instance of a type defined in the add-in The type will be looked up in the assemblies that implement the add-in, and recursivelly in all add-ins on which it depends. This method throws an InvalidOperationException if the type can't be found. The specified type must have a default constructor. |
|
CreateInstance ( string typeName, bool throwIfNotFound ) : object |
Creates an instance of a type defined in the add-in The type will be looked up in the assemblies that implement the add-in, and recursivelly in all add-ins on which it depends. If the type can't be found, this method throw a InvalidOperationException if 'throwIfNotFound' is 'true', or 'null' otherwise. The specified type must have a default constructor. |
|
GetFilePath ( ) : string |
Gets the path of an add-in file This method can be used to get the full path of a data file deployed together with the add-in. |
|
GetFilePath ( string fileName ) : string |
Gets the path of an add-in file This method can be used to get the full path of a data file deployed together with the add-in. |
|
GetResource ( string resourceName ) : Stream |
Gets the content of a resource The add-in engine will look for resources in the main add-in assembly and in all included add-in assemblies. |
|
GetResource ( string resourceName, bool throwIfNotFound ) : Stream |
Gets the content of a resource The add-in engine will look for resources in the main add-in assembly and in all included add-in assemblies. |
|
GetResourceObject ( string name ) : object |
Gets a resource object The add-in engine will look for resources in the main add-in assembly and in all included add-in assemblies. |
|
GetResourceObject ( string name, bool throwIfNotFound ) : object |
Gets a resource object The add-in engine will look for resources in the main add-in assembly and in all included add-in assemblies. |
|
GetResourceObject ( string name, bool throwIfNotFound, |
Gets a resource object The add-in engine will look for resources in the main add-in assembly and in all included add-in assemblies. |
|
GetResourceString ( string name ) : string |
Gets a resource string The add-in engine will look for resources in the main add-in assembly and in all included add-in assemblies. |
|
GetResourceString ( string name, bool throwIfNotFound ) : string |
Gets a resource string The add-in engine will look for resources in the main add-in assembly and in all included add-in assemblies. |
|
GetResourceString ( string name, bool throwIfNotFound, |
Gets a resource string The add-in engine will look for resources in the main add-in assembly and in all included add-in assemblies. |
|
GetType ( string typeName ) : |
Gets a type defined in the add-in The type will be looked up in the assemblies that implement the add-in, and recursivelly in all add-ins on which it depends. This method throws an InvalidOperationException if the type can't be found. |
|
GetType ( string typeName, bool throwIfNotFound ) : |
Gets a type defined in the add-in The type will be looked up in the assemblies that implement the add-in, and recursivelly in all add-ins on which it depends. If the type can't be found, this method throw a InvalidOperationException if 'throwIfNotFound' is 'true', or 'null' otherwise. |
|
ToString ( ) : string |
Method | Description | |
---|---|---|
CheckAddinDependencies ( |
||
EnsureAssembliesLoaded ( ) : void | ||
GetAllAssemblies ( ) : IEnumerable |
||
GetAllDependencies ( ) : IEnumerable |
||
GetAllResourceManagers ( ) : IEnumerable |
||
GetDepAddins ( ) : Mono.Addins.RuntimeAddin[] | ||
GetModule ( |
||
GetResourceManagers ( ) : System.Resources.ResourceManager[] | ||
Load ( |
||
LoadModule ( |
||
RuntimeAddin ( |
||
RuntimeAddin ( |
||
UnloadExtensions ( ) : void |
public CreateInstance ( string typeName ) : object | ||
typeName | string | /// Name of the type. /// |
return | object |
public CreateInstance ( string typeName, bool throwIfNotFound ) : object | ||
typeName | string | /// Name of the type. /// |
throwIfNotFound | bool | /// Indicates whether the method should throw an exception if the type can't be found. /// |
return | object |
public GetFilePath ( string fileName ) : string | ||
fileName | string | /// Relative path of the file /// |
return | string |
public GetResource ( string resourceName ) : Stream | ||
resourceName | string | /// Name of the resource /// |
return | Stream |
public GetResource ( string resourceName, bool throwIfNotFound ) : Stream | ||
resourceName | string | /// Name of the resource /// |
throwIfNotFound | bool | /// When set to true, an exception will be thrown if the resource is not found. /// |
return | Stream |
public GetResourceObject ( string name ) : object | ||
name | string | /// Name of the resource /// |
return | object |
public GetResourceObject ( string name, bool throwIfNotFound ) : object | ||
name | string | /// Name of the resource /// |
throwIfNotFound | bool | /// When set to true, an exception will be thrown if the resource is not found. /// |
return | object |
public GetResourceObject ( string name, bool throwIfNotFound, |
||
name | string | /// Name of the resource /// |
throwIfNotFound | bool | /// When set to true, an exception will be thrown if the resource is not found. /// |
culture | /// Culture of the resource /// | |
return | object |
public GetResourceString ( string name ) : string | ||
name | string | /// Name of the resource /// |
return | string |
public GetResourceString ( string name, bool throwIfNotFound ) : string | ||
name | string | /// Name of the resource /// |
throwIfNotFound | bool | /// When set to true, an exception will be thrown if the resource is not found. /// |
return | string |
public GetResourceString ( string name, bool throwIfNotFound, |
||
name | string | /// Name of the resource /// |
throwIfNotFound | bool | /// When set to true, an exception will be thrown if the resource is not found. /// |
culture | /// Culture of the resource /// | |
return | string |
public GetType ( string typeName ) : |
||
typeName | string | /// Full name of the type /// |
return |
public GetType ( string typeName, bool throwIfNotFound ) : |
||
typeName | string | /// Full name of the type /// |
throwIfNotFound | bool | /// Indicates whether the method should throw an exception if the type can't be found. /// |
return |