C# Class Cassette.CassetteApplicationContainer

Inheritance: ICassetteApplicationContainer
Exibir arquivo Open project: Zocdoc/cassette Class Usage Examples

Public Methods

Method Description
SetApplicationAccessor ( Func getApplication ) : void

Sets the function used to access the current Cassette application object. Unit tests can use this method to assign a stub application for testing purposes.

Private Methods

Method Description
TriggerShutdown ( ) : void

Method Details

SetApplicationAccessor() public static method

Sets the function used to access the current Cassette application object. Unit tests can use this method to assign a stub application for testing purposes.
public static SetApplicationAccessor ( Func getApplication ) : void
getApplication Func
return void