C# Класс Microsoft.Practices.Unity.LifetimeManager

Base class for Lifetime managers - classes that control how and when instances are created by the Unity container.
Наследование: ILifetimePolicy
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

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

Метод Описание
GetValue ( ) : object

Retrieve a value from the backing store associated with this Lifetime policy.

RemoveValue ( ) : void

Remove the given object from backing store.

SetValue ( object newValue ) : void

Stores the given value into backing store for retrieval later.

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

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

Retrieve a value from the backing store associated with this Lifetime policy.
public abstract GetValue ( ) : object
Результат object

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

Remove the given object from backing store.
public abstract RemoveValue ( ) : void
Результат void

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

Stores the given value into backing store for retrieval later.
public abstract SetValue ( object newValue ) : void
newValue object The object being stored.
Результат void