C# Класс Sage.Test.ControllerFactoryTestExtension

Показать файл Открыть проект

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

Метод Описание
InitializeWithControllerTypes ( this factory ) : void

Replaces the cache field of a the DefaultControllerFactory's ControllerTypeCache. This ensures that only the specified controller types will be searched when instantiating a controller. As the ControllerTypeCache is internal, this uses some reflection hackery.

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

Метод Описание
ControllerFactoryTestExtension ( ) : System

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

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

Replaces the cache field of a the DefaultControllerFactory's ControllerTypeCache. This ensures that only the specified controller types will be searched when instantiating a controller. As the ControllerTypeCache is internal, this uses some reflection hackery.
public static InitializeWithControllerTypes ( this factory ) : void
factory this The factory.
Результат void