C# 클래스 FakeHttpContext.FakeConfigMapPath

상속: IConfigMapPath
파일 보기 프로젝트 열기: vadimzozulya/FakeHttpContext

공개 메소드들

메소드 설명
GetAppPathForPath ( string siteID, string path ) : string

Gets the virtual-directory name associated with a specific site.

GetDefaultSiteNameAndID ( string &siteName, string &siteID ) : void

Populates the default site name and the site ID.

GetMachineConfigFilename ( ) : string

Gets the machine-configuration file name.

GetPathConfigFilename ( string siteID, string path, string &directory, string &baseName ) : void

Populates the directory and name of the configuration file based on the site ID and site path.

GetRootWebConfigFilename ( ) : string

Gets the name of the configuration file at the Web root.

MapPath ( string siteID, string path ) : string

Gets the physical directory path based on the site ID and URL associated with the site.

ResolveSiteArgument ( string siteArgument, string &siteName, string &siteID ) : void

Populates the site name and site ID based on a site argument value.

메소드 상세

GetAppPathForPath() 공개 메소드

Gets the virtual-directory name associated with a specific site.
public GetAppPathForPath ( string siteID, string path ) : string
siteID string A unique identifier for the site.
path string The URL associated with the site.
리턴 string

GetDefaultSiteNameAndID() 공개 메소드

Populates the default site name and the site ID.
public GetDefaultSiteNameAndID ( string &siteName, string &siteID ) : void
siteName string The default site name.
siteID string A unique identifier for the site.
리턴 void

GetMachineConfigFilename() 공개 메소드

Gets the machine-configuration file name.
public GetMachineConfigFilename ( ) : string
리턴 string

GetPathConfigFilename() 공개 메소드

Populates the directory and name of the configuration file based on the site ID and site path.
public GetPathConfigFilename ( string siteID, string path, string &directory, string &baseName ) : void
siteID string A unique identifier for the site.
path string The URL associated with the site.
directory string The physical directory of the configuration path.
baseName string The name of the configuration file.
리턴 void

GetRootWebConfigFilename() 공개 메소드

Gets the name of the configuration file at the Web root.
public GetRootWebConfigFilename ( ) : string
리턴 string

MapPath() 공개 메소드

Gets the physical directory path based on the site ID and URL associated with the site.
public MapPath ( string siteID, string path ) : string
siteID string A unique identifier for the site.
path string The URL associated with the site.
리턴 string

ResolveSiteArgument() 공개 메소드

Populates the site name and site ID based on a site argument value.
public ResolveSiteArgument ( string siteArgument, string &siteName, string &siteID ) : void
siteArgument string The site name or site identifier.
siteName string The default site name.
siteID string A unique identifier for the site.
리턴 void