C# Class DotNetify.VMControllerFactory

Provides view model controllers.
Inheritance: IVMControllerFactory
Afficher le fichier Open project: dsuryd/dotNetify

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
GetCacheItemPolicy ( ) : System.Runtime.Caching.CacheItemPolicy

Returns cached item policy for view model controllers.

TimeSpan ( ) : System

Method Details

GetInstance() public méthode

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.
Résultat VMController

Remove() public méthode

Removes an existing view model controller.
public Remove ( string key ) : bool
key string Identifies the object.
Résultat bool