C# Class ICSharpCode.Core.AppDomainLaunchHelper

Because AddIn assemblies are loaded into the LoadFrom context, creating AppDomains in them that use an arbitrary ApplicationBase path does not work correctly. This class contains a static method that helps launching a static method on a type in a new AppDomain.
Inheritance: System.MarshalByRefObject
Mostrar archivo Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
LaunchInAppDomain ( AppDomain domain, Type type, string methodName ) : object
LaunchMethod ( string assemblyFile, string typeName, string methodName, object arguments ) : object

Method Details

LaunchInAppDomain() public static method

public static LaunchInAppDomain ( AppDomain domain, Type type, string methodName ) : object
domain System.AppDomain
type System.Type
methodName string
return object

LaunchMethod() public method

public LaunchMethod ( string assemblyFile, string typeName, string methodName, object arguments ) : object
assemblyFile string
typeName string
methodName string
arguments object
return object