C# Класс DotNetify.VMControllerFactory

Provides view model controllers.
Наследование: IVMControllerFactory
Показать файл Открыть проект

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

Метод Описание
GetInstance ( string key ) : VMController

Creates a view model controller and assigns it a key. On subsequent calls, use the same key to return the same object.

Remove ( string key ) : bool

Removes an existing view model controller.

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

Метод Описание
GetCacheItemPolicy ( ) : System.Runtime.Caching.CacheItemPolicy

Returns cached item policy for view model controllers.

TimeSpan ( ) : System

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

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

Creates a view model controller and assigns it a key. On subsequent calls, use the same key to return the same object.
public GetInstance ( string key ) : VMController
key string Identifies the object.
Результат VMController

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

Removes an existing view model controller.
public Remove ( string key ) : bool
key string Identifies the object.
Результат bool