C# Класс AppDomainToolkit.DisposableAppDomain

This is a thin wrapper around the .NET AppDomain class that enables safe disposal. Use these objects where you would normally grab an AppDomain object. Note that if the current application domain is passed to this class, a call to Dispose will do nothing. We will never unload the current application domain.
Наследование: AppDomainToolkit.IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DisposableAppDomain ( AppDomain domain ) : System

Initializes a new instance of the DisposableAppDomain class.

Dispose ( ) : void

Приватные методы

Метод Описание
OnDispose ( bool disposing ) : void

Should be called when the object is being disposed.

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

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

Initializes a new instance of the DisposableAppDomain class.
public DisposableAppDomain ( AppDomain domain ) : System
domain System.AppDomain /// The domain to wrap. ///
Результат System

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

public Dispose ( ) : void
Результат void