C# Class Spring.TestSupport.VirtualEnvironmentMock

Test environment implementation.
Inheritance: IVirtualEnvironment, IDisposable
Afficher le fichier Open project: spring-projects/spring-net Class Usage Examples

Méthodes publiques

Méthode Description
CreateInstanceFromVirtualPath ( string virtualPath, Type requiredBaseType ) : object
Dispose ( ) : void
GetCompiledType ( string virtualPath ) : Type
MapPath ( string virtualPath ) : string
RewritePath ( string newVirtualPath, bool rebaseClientPath ) : IDisposable
VirtualEnvironmentMock ( string currentVirtualFilePath, string pathInfo, string queryText, string applicationVirtualPath, bool autoInitialize ) : System

Method Details

CreateInstanceFromVirtualPath() public méthode

public CreateInstanceFromVirtualPath ( string virtualPath, Type requiredBaseType ) : object
virtualPath string
requiredBaseType System.Type
Résultat object

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetCompiledType() public méthode

public GetCompiledType ( string virtualPath ) : Type
virtualPath string
Résultat System.Type

MapPath() public méthode

public MapPath ( string virtualPath ) : string
virtualPath string
Résultat string

RewritePath() public méthode

public RewritePath ( string newVirtualPath, bool rebaseClientPath ) : IDisposable
newVirtualPath string
rebaseClientPath bool
Résultat IDisposable

VirtualEnvironmentMock() public méthode

public VirtualEnvironmentMock ( string currentVirtualFilePath, string pathInfo, string queryText, string applicationVirtualPath, bool autoInitialize ) : System
currentVirtualFilePath string
pathInfo string
queryText string
applicationVirtualPath string
autoInitialize bool
Résultat System