C# Class Spring.TestSupport.VirtualEnvironmentMock

Test environment implementation.
Inheritance: IVirtualEnvironment, IDisposable
Exibir arquivo Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method 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 method

public CreateInstanceFromVirtualPath ( string virtualPath, Type requiredBaseType ) : object
virtualPath string
requiredBaseType System.Type
return object

Dispose() public method

public Dispose ( ) : void
return void

GetCompiledType() public method

public GetCompiledType ( string virtualPath ) : Type
virtualPath string
return System.Type

MapPath() public method

public MapPath ( string virtualPath ) : string
virtualPath string
return string

RewritePath() public method

public RewritePath ( string newVirtualPath, bool rebaseClientPath ) : IDisposable
newVirtualPath string
rebaseClientPath bool
return IDisposable

VirtualEnvironmentMock() public method

public VirtualEnvironmentMock ( string currentVirtualFilePath, string pathInfo, string queryText, string applicationVirtualPath, bool autoInitialize ) : System
currentVirtualFilePath string
pathInfo string
queryText string
applicationVirtualPath string
autoInitialize bool
return System