C# Класс 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.
Наследование: System.MarshalByRefObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
LaunchInAppDomain ( AppDomain domain, Type type, string methodName ) : object
LaunchMethod ( string assemblyFile, string typeName, string methodName, object arguments ) : object

Описание методов

LaunchInAppDomain() публичный статический Метод

public static LaunchInAppDomain ( AppDomain domain, Type type, string methodName ) : object
domain System.AppDomain
type System.Type
methodName string
Результат object

LaunchMethod() публичный Метод

public LaunchMethod ( string assemblyFile, string typeName, string methodName, object arguments ) : object
assemblyFile string
typeName string
methodName string
arguments object
Результат object