Compilation\BuildManager.cs (69)
123private List<VirtualPath> _excludedCompilationPaths;
128private VirtualPath _scriptVirtualDir;
129private VirtualPath _globalAsaxVirtualPath;
130internal static VirtualPath ScriptVirtualDir { get { return _theBuildManager._scriptVirtualDir; } }
131internal static VirtualPath GlobalAsaxVirtualPath { get { return _theBuildManager._globalAsaxVirtualPath; } }
987private Assembly CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType,
1058VirtualPath virtualDir = HttpRuntime.ResourcesDirectoryVirtualPath;
1093VirtualPath virtualDir = HttpRuntime.CodeDirectoryVirtualPath;
1108VirtualPath virtualSubDir = virtualDir.SimpleCombineWithDir(entry.DirectoryName);
1282private static string GetGeneratedAssemblyBaseName(VirtualPath virtualPath) {
1383internal static BuildProvider CreateBuildProvider(VirtualPath virtualPath,
1391internal static BuildProvider CreateBuildProvider(VirtualPath virtualPath,
1413internal static void AddFolderLevelBuildProviders(BuildProviderSet buildProviders, VirtualPath virtualPath,
1436internal static void ValidateCodeFileVirtualPath(VirtualPath virtualPath) {
1440private void ValidateVirtualPathInternal(VirtualPath virtualPath, bool allowCrossApp, bool codeFile) {
1490BuildResult result = GetVPathBuildResult(context, VirtualPath.Create(virtualPath),
1503internal static BuildResult GetVPathBuildResult(VirtualPath virtualPath) {
1509internal static BuildResult GetVPathBuildResult(HttpContext context, VirtualPath virtualPath) {
1514internal static BuildResult GetVPathBuildResult(HttpContext context, VirtualPath virtualPath,
1524internal static BuildResult GetVPathBuildResult(HttpContext context, VirtualPath virtualPath,
1540HttpContext context, VirtualPath virtualPath, bool noBuild, bool allowCrossApp, bool allowBuildInPrecompile) {
1549HttpContext context, VirtualPath virtualPath, bool noBuild, bool allowCrossApp, bool allowBuildInPrecompile, bool throwIfNotFound, bool ensureIsUpToDate = true) {
1555HttpContext context, VirtualPath virtualPath, bool noBuild, bool allowCrossApp, bool allowBuildInPrecompile) {
1560HttpContext context, VirtualPath virtualPath, bool noBuild, bool allowCrossApp, bool allowBuildInPrecompile, bool throwIfNotFound, bool ensureIsUpToDate = true) {
1570private BuildResult GetVPathBuildResultInternal(VirtualPath virtualPath, bool noBuild, bool allowCrossApp, bool allowBuildInPrecompile, bool throwIfNotFound, bool ensureIsUpToDate = true) {
1662private BuildResult CompileWebFile(VirtualPath virtualPath) {
1669VirtualPath parentPath = virtualPath.Parent;
1770private void EnsureFirstTimeDirectoryInit(VirtualPath virtualDir) {
1791VirtualPath localResDir = virtualDir.SimpleCombineWithDir(HttpRuntime.LocalResourcesDirectoryName);
1850VirtualPath dependencyPath = VirtualPath.Create(dependency);
1851VirtualPath dir = dependencyPath.Parent;
1858internal static Assembly GetLocalResourcesAssembly(VirtualPath virtualDir) {
1862internal static string GetLocalResourcesAssemblyName(VirtualPath virtualDir) {
1886private bool IsBatchEnabledForDirectory(VirtualPath virtualDir) {
1911private bool BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, bool ignoreErrors) {
2001VirtualPath virtualDir = HttpRuntime.CodeDirectoryVirtualPath;
2021VirtualPath virtualSubDir = virtualDir.SimpleCombineWithDir(entry.DirectoryName);
2032internal void GetCodeDirectoryInformation(VirtualPath virtualCodeDir,
2049private void GetCodeDirectoryInformationInternal(VirtualPath virtualCodeDir,
2145BuildProvider buildProvider = CreateBuildProvider(VirtualPath.Create(virtualPath), compConfig,
2199internal static string GetCacheKeyFromVirtualPath(VirtualPath virtualPath) {
2209private static string GetCacheKeyFromVirtualPath(VirtualPath virtualPath, out bool keyFromVPP) {
2244private static string GetCacheKeyFromVirtualPathInternal(VirtualPath virtualPath) {
2275internal static BuildResult GetVPathBuildResultFromCache(VirtualPath virtualPath) {
2280private BuildResult GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, bool ensureIsUpToDate = true) {
2291internal static BuildResult GetBuildResultFromCache(string cacheKey, VirtualPath virtualPath) {
2297VirtualPath virtualPath, long hashCode, bool ensureIsUpToDate = true) {
2344VirtualPath virtualDir = virtualPath.Parent;
2370private BuildResult PostProcessFoundBuildResult(BuildResult result, bool keyFromVPP, VirtualPath virtualPath) {
2400internal static bool CacheVPathBuildResult(VirtualPath virtualPath,
2406private bool CacheVPathBuildResultInternal(VirtualPath virtualPath,
2556private void PrecompileApp(VirtualPath startingVirtualDir, IEnumerable<string> excludedVirtualPaths) {
2576private void PrecompileAppInternal(VirtualPath startingVirtualDir, IEnumerable<string> excludedVirtualPaths) {
2582_excludedCompilationPaths = excludedVirtualPaths.Select(path => VirtualPath.Create(UrlPath.Combine("~", path))).ToList();
2752internal static TextWriter GetUpdatableDeploymentTargetWriter(VirtualPath virtualPath, Encoding fileEncoding) {
3057internal static void ReportDirectoryCompilationProgress(VirtualPath virtualDir) {
3088return GetCompiledType(VirtualPath.Create(virtualPath));
3092internal static Type GetCompiledType(VirtualPath virtualPath, ClientBuildManagerCallback callback) {
3117internal static Type GetCompiledType(VirtualPath virtualPath) {
3131VirtualPath virtualPathObject = VirtualPath.CreateNonRelative(virtualPath);
3140internal static object CreateInstanceFromVirtualPath(VirtualPath virtualPath,
3161ITypedWebObjectFactory factory = GetVirtualPathObjectFactory(VirtualPath.Create(virtualPath),
3166private static ITypedWebObjectFactory GetVirtualPathObjectFactory(VirtualPath virtualPath,
3176private static ITypedWebObjectFactory GetVirtualPathObjectFactory(VirtualPath virtualPath,
3222BuildResult result = GetVPathBuildResult(VirtualPath.Create(virtualPath));
3240BuildResult result = GetVPathBuildResult(VirtualPath.Create(virtualPath));
3261BuildResult result = GetVPathBuildResult(context, VirtualPath.Create(virtualPath),
Compilation\BuildManagerHost.cs (11)
210internal void GetCodeDirectoryInformation(VirtualPath virtualCodeDir,
233internal void GetCompilerParams(VirtualPath virtualPath, out Type codeDomProviderType,
258internal string[] GetCompiledTypeAndAssemblyName(VirtualPath virtualPath, ClientBuildManagerCallback callback) {
279internal string GetGeneratedSourceFile(VirtualPath virtualPath) {
330internal String[] GetTopLevelAssemblyReferences(VirtualPath virtualPath) {
362VirtualPath virtualPath, string virtualFileString, out IDictionary linePragmasTable) {
395VirtualPath virtualPath, string virtualFileString, out Type codeDomProviderType,
486private void FixupReferencedAssemblies(VirtualPath virtualPath, CompilerParameters compilerParameters) {
493private BuildProvider GetCompilerParamsAndBuildProvider(VirtualPath virtualPath,
686internal void RegisterVirtualFile(VirtualPath virtualPath, String virtualFileString) {
690internal void RevertVirtualFile(VirtualPath virtualPath) {
Compilation\ClientBuildManager.cs (11)
109private VirtualPath _virtualPath;
233Initialize(VirtualPath.CreateNonRelative(appVirtualDir), appPhysicalSourceDir);
323return _host.GetGeneratedSourceFile(VirtualPath.CreateTrailingSlash(virtualPath));
366return _host.GetTopLevelAssemblyReferences(VirtualPath.Create(virtualPath));
386_host.GetCodeDirectoryInformation(VirtualPath.CreateTrailingSlash(virtualCodeDir),
407_host.GetCompilerParams(VirtualPath.Create(virtualPath), out codeDomProviderType, out compilerParameters);
435return _host.GenerateCodeCompileUnit(VirtualPath.Create(virtualPath), virtualFileString,
449return _host.GenerateCode(VirtualPath.Create(virtualPath), virtualFileString, out linePragmasTable);
465string[] typeAndAsemblyName = _host.GetCompiledTypeAndAssemblyName(VirtualPath.Create(virtualPath), null);
490_host.GetCompiledTypeAndAssemblyName(VirtualPath.Create(virtualPath), callback);
609internal void Initialize(VirtualPath virtualPath, string physicalPath) {
Configuration\ExpressServerConfig.cs (19)
94string IServerConfig.MapPath(IApplicationHost appHost, VirtualPath path) {
103string[] IServerConfig.GetVirtualSubdirs(VirtualPath path, bool inApp) {
192bool IServerConfig.GetUncUser(IApplicationHost appHost, VirtualPath path, out string username, out string password) {
250private void GetPathConfigFilenameWorker(string siteID, VirtualPath path, out string directory, out string baseName) {
262GetPathConfigFilenameWorker(siteID, VirtualPath.Create(path), out directory, out baseName);
268VirtualPath path,
322private string MapPathWorker(string siteID, VirtualPath path) {
327string IConfigMapPath2.MapPath(string siteID, VirtualPath path) {
332return MapPathWorker(siteID, VirtualPath.Create(path));
336VirtualPath resolved = GetAppPathForPathWorker(siteID, VirtualPath.Create(path));
341VirtualPath IConfigMapPath2.GetAppPathForPath(string siteID, VirtualPath path) {
345VirtualPath GetAppPathForPathWorker(string siteID, VirtualPath path) {
348return VirtualPath.RootVirtualPath;
364return (appPath != null) ? VirtualPath.Create(appPath) : VirtualPath.RootVirtualPath;
367private string MapPathCaching(string siteID, VirtualPath path) {
Configuration\MetabaseServerConfig.cs (23)
66string IServerConfig.MapPath(IApplicationHost appHost, VirtualPath path) {
71string[] IServerConfig.GetVirtualSubdirs(VirtualPath path, bool inApp) {
76bool IServerConfig.GetUncUser(IApplicationHost appHost, VirtualPath path, out string username, out string password) {
93private void GetPathConfigFilenameWorker(string siteID, VirtualPath path, out string directory, out string baseName) {
109GetPathConfigFilenameWorker(siteID, VirtualPath.Create(path), out directory, out baseName);
113string siteID, VirtualPath path, out string directory, out string baseName) {
157return MapPathCaching(siteID, VirtualPath.Create(vpath));
161string IConfigMapPath2.MapPath(string siteID, VirtualPath vpath) {
165VirtualPath GetAppPathForPathWorker(string siteID, VirtualPath vpath) {
169return VirtualPath.RootVirtualPath;
173return VirtualPath.RootVirtualPath;
177return VirtualPath.CreateAbsolute(appPath);
181VirtualPath resolved = GetAppPathForPathWorker(siteID, VirtualPath.Create(vpath));
186VirtualPath IConfigMapPath2.GetAppPathForPath(string siteID, VirtualPath vpath) {
190private string MatchResult(VirtualPath path, string result) {
213private string MapPathCaching(string siteID, VirtualPath path) {
220VirtualPath originalPath = path;
252VirtualPath vParent = path.Parent;
256vParent = VirtualPath.Create(parentPath.Substring(0, parentPath.Length - 1));
320private string MapPathActual(string siteID, VirtualPath path) {
Configuration\MTConfigUtil.cs (20)
15private static readonly ConcurrentDictionary<Tuple<Type, VirtualPath>, ConfigurationSection> s_sections =
16new ConcurrentDictionary<Tuple<Type, VirtualPath>, ConfigurationSection>();
18private static readonly ConcurrentDictionary<VirtualPath, Configuration> s_configurations =
19new ConcurrentDictionary<VirtualPath, Configuration>();
22private static VirtualPath s_appVirtualPath;
70static internal PagesSection GetPagesConfig(VirtualPath vpath) {
110static internal CompilationSection GetCompilationConfig(VirtualPath vpath) {
138return GetConfig<S>((VirtualPath) null);
148return GetConfig<S>(VirtualPath.CreateNonRelativeAllowNull(vpath));
152static private S GetConfig<S>(VirtualPath vpath) where S : ConfigurationSection {
153Tuple<Type, VirtualPath> key = new Tuple<Type, VirtualPath>(typeof(S), vpath);
163static private S GetConfigHelper<S>(VirtualPath vpath) where S : ConfigurationSection{
207static private Configuration GetConfiguration(VirtualPath vpath, string physicalPath) {
216static private Configuration GetConfigurationHelper(VirtualPath vpath, string physicalPath) {
222VirtualPath currentVPath = vpath;
237static private bool IsAppRoot(VirtualPath path) {
239s_appVirtualPath = VirtualPath.Create(HttpRuntime.AppDomainAppVirtualPathObject.VirtualPathStringNoTrailingSlash);
242var vpath = VirtualPath.Create(path.VirtualPathStringNoTrailingSlash);
Configuration\ProcessHostMapPath.cs (20)
82private void GetPathConfigFilenameWorker(string siteID, VirtualPath path, out string directory, out string baseName) {
97GetPathConfigFilenameWorker(siteID, VirtualPath.Create(path), out directory, out baseName);
103VirtualPath path,
163private string MapPathWorker(string siteID, VirtualPath path) {
169string IConfigMapPath2.MapPath(string siteID, VirtualPath path) {
174return MapPathWorker(siteID, VirtualPath.Create(path));
178VirtualPath resolved = GetAppPathForPathWorker(siteID, VirtualPath.Create(path));
183VirtualPath IConfigMapPath2.GetAppPathForPath(string siteID, VirtualPath path) {
187VirtualPath GetAppPathForPathWorker(string siteID, VirtualPath path) {
192return VirtualPath.RootVirtualPath;
208return (appPath != null) ? VirtualPath.Create(appPath) : VirtualPath.RootVirtualPath;
211private string MapPathCaching(string siteID, VirtualPath path) {
218VirtualPath originalPath = path;
249VirtualPath vParent = path.Parent;
253vParent = VirtualPath.Create(parentPath.Substring(0, parentPath.Length - 1));
319private string MatchResult(VirtualPath path, string result) {
Configuration\UserMapPath.cs (9)
93VirtualDirectoryMapping GetPathMapping(VirtualPath path, bool onlyApps) {
161GetPathConfigFilename(siteID, VirtualPath.Create(path), out directory, out baseName);
165string siteID, VirtualPath path, out string directory, out string baseName) {
201return MapPath(siteID, VirtualPath.Create(path));
204private string MapPath(string siteID, VirtualPath path) {
211VirtualPath resolved = GetAppPathForPath(siteID, VirtualPath.Create(path));
219private VirtualPath GetAppPathForPath(string siteID, VirtualPath path) {
Configuration\WebConfigurationHost.cs (29)
53private VirtualPath _appPath; // the application's path
85static internal void GetConfigPaths(IConfigMapPath configMapPath, WebLevel webLevel, VirtualPath virtualPath, string site, string locationSubPath,
86out VirtualPath appPath, out string appSiteName, out string appSiteID, out string configPath, out string locationConfigPath) {
137VirtualPath locationVPath = null;
178appPath = VirtualPath.Create(appPathString);
226_appPath = VirtualPath.CreateAbsoluteAllowNull(appPath);
245VirtualPath path = VirtualPath.CreateAbsoluteAllowNull((string)hostInitConfigurationParams[2]);
268VirtualPath finalPath;
344VirtualPath virtualPath;
346vpath = VirtualPath.GetVirtualPathString(virtualPath);
349static internal void GetSiteIDAndVPathFromConfigPath(string configPath, out string siteID, out VirtualPath vpath) {
368vpath = VirtualPath.RootVirtualPath;
371vpath = VirtualPath.CreateAbsolute(configPath.Substring(indexVPath));
378siteID, VirtualPath.CreateAbsoluteAllowNull(vpath));
381static internal string GetConfigPathFromSiteIDAndVPath(string siteID, VirtualPath vpath) {
419VirtualPath path;
452VirtualPath path;
625VirtualPath path;
688VirtualPath virtualPath;
692virtualPath = VirtualPath.RootVirtualPath;
696virtualPath = VirtualPath.CreateAbsolute(locationSubPath.Substring(firstSlash));
788VirtualPath.GetVirtualPathString(_appPath), // AppPath
810VirtualPath appPath;
812VirtualPath vpath;
822appPath = VirtualPath.CreateAllowNull(_configMapPath.GetAppPathForPath(siteID, vpath.VirtualPathString));
844WebLevel webLevel, ConfigurationFileMap fileMap, VirtualPath path, string site, string locationSubPath,
865webLevel, null, VirtualPath.GetVirtualPathString(path), site, locationSubPath, server, userName, password, tokenHandle);
891webLevel, fileMap, VirtualPath.GetVirtualPathString(path), site, locationSubPath );
Hosting\ApplicationManager.cs (14)
207private string CreateSimpleAppID(VirtualPath virtualPath, string physicalPath, string siteName) {
243SimpleApplicationHost appHost = new SimpleApplicationHost(VirtualPath.CreateAbsolute(virtualPath), physicalPath);
303VirtualPath.CreateNonRelative(virtualPath), type, out appId, out appHost);
308VirtualPath virtualPath,
328VirtualPath virtualPath,
348virtualPath = VirtualPath.Create(appHost.GetVirtualPath());
434return CreateSimpleAppID(VirtualPath.Create(appHost.GetVirtualPath()),
827VirtualPath virtualPath,
897VirtualPath virtualPath = VirtualPath.Create(appHost.GetVirtualPath());
1380CompilationSection compilationSection, string physicalPath, VirtualPath virtualPath, bool isDevEnvironment) {
1451VirtualPath.GetVirtualPathStringNoTrailingSlash(virtualPath), isDevEnvironment);
1668String appPath, VirtualPath appVPath,
1759private static Configuration GetAppConfigGeneric(IApplicationHost appHost, string siteID, string appSegment, VirtualPath virtualPath, string physicalPath) {
HttpApplication.cs (3)
1244private HttpHandlerAction GetHandlerMapping(HttpContext context, String requestType, VirtualPath path, bool useAppConfig) {
1282internal IHttpHandler MapIntegratedHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, bool useAppConfig, bool convertNativeStaticFileModule) {
1356internal IHttpHandler MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, bool useAppConfig) {
HttpContext.cs (14)
86private VirtualPath _configurationPath;
514Request.InternalRewritePath(VirtualPath.Create(originalUrl), null, true);
1429internal VirtualPath ConfigurationPath {
1465internal CachedPathData GetPathData(VirtualPath path) {
1519internal RuntimeConfig GetRuntimeConfig(VirtualPath path) {
1547VirtualPath virtualPath = VirtualPath.Create(path);
1565RewritePath(VirtualPath.CreateAllowNull(filePath), VirtualPath.CreateAllowNull(pathInfo),
1570RewritePath(VirtualPath.CreateAllowNull(filePath), VirtualPath.CreateAllowNull(pathInfo), queryString, setClientFilePath);
1572internal void RewritePath(VirtualPath filePath, VirtualPath pathInfo, String queryString, bool setClientFilePath) {
1615VirtualPath.Create(virtualPath));
HttpException.cs (13)
458private VirtualPath _virtualPath;
477System.Web.VirtualPath.CreateAllowNull(virtualPath), sourceCode, line) {}
479internal HttpParseException(string message, Exception innerException, VirtualPath virtualPath,
492SetFormatter(new ParseErrorFormatter(this, System.Web.VirtualPath.GetVirtualPathString(virtualPath), sourceCode,
498_virtualPath = (VirtualPath)info.GetValue("_virtualPath", typeof(VirtualPath));
539return System.Web.VirtualPath.GetVirtualPathString(_virtualPath);
543internal VirtualPath VirtualPathObject {
600private VirtualPath _virtualPath;
608: this(errorText, System.Web.VirtualPath.CreateAllowNull(virtualPath), line) {
611internal ParserError(string errorText, VirtualPath virtualPath, int line) {
625get { return System.Web.VirtualPath.GetVirtualPathString(_virtualPath); }
626set { _virtualPath = System.Web.VirtualPath.Create(value); }
HttpRequest.cs (40)
77private VirtualPath _path;
80private VirtualPath _filePath;
81private VirtualPath _currentExecutionFilePath;
82private VirtualPath _pathInfo;
186_path = VirtualPath.CreateAbsolute(_url.AbsolutePath);
194internal HttpRequest(VirtualPath virtualPath, String queryString) {
1410internal VirtualPath PathObject {
1418_path = VirtualPath.Create(_wr.GetUriPath(),
1448private VirtualPath _clientFilePath;
1449internal VirtualPath ClientFilePath {
1459_clientFilePath = VirtualPath.Create(uri, VirtualPathOptions.AllowAbsolutePath);
1472private VirtualPath _clientBaseDir;
1480internal VirtualPath ClientBaseDir {
1506return VirtualPath.GetVirtualPathString(FilePathObject);
1510internal VirtualPath FilePathObject {
1550_filePath = VirtualPath.CreateAbsolute(Path.Substring(0, filePathLen));
1575internal VirtualPath CurrentExecutionFilePathObject {
1584internal VirtualPath SwitchCurrentExecutionFilePath(VirtualPath path) {
1585VirtualPath oldPath = _currentExecutionFilePath;
1613internal VirtualPath PathInfoObject {
1623_pathInfo = VirtualPath.CreateAbsoluteAllowNull(_wr.GetPathInfo());
1628VirtualPath path = PathObject;
1630VirtualPath filePath = FilePathObject;
1639_pathInfo = VirtualPath.CreateAbsolute(pathInfoString);
1649VirtualPath pathInfoObject = PathInfoObject;
1705internal VirtualPath ApplicationPathObject {
2961return MapPath(VirtualPath.CreateAllowNull(virtualPath));
2964internal String MapPath(VirtualPath virtualPath) {
2980VirtualPath baseVirtualDirObject;
2987baseVirtualDirObject = VirtualPath.CreateTrailingSlash(baseVirtualDir);
2990return MapPath(VirtualPath.CreateAllowNull(virtualPath),
2994internal String MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, bool allowCrossAppMapping) {
3002virtualPath = VirtualPath.Create(".");
3004VirtualPath originalVirtualPath = virtualPath; // remember for patch-up at the end
3028internal void InternalRewritePath(VirtualPath newPath, String newQueryString, bool rebaseClientPath) {
3067internal void InternalRewritePath(VirtualPath newFilePath, VirtualPath newPathInfo,
3087_path = VirtualPath.Create(newFullPathString);
UI\TemplateParser.cs (24)
455private VirtualPath _codeFileVirtualPath;
456internal VirtualPath CodeFileVirtualPath { get { return _codeFileVirtualPath; } }
488internal static Control ParseControl(string content, VirtualPath virtualPath, bool ignoreFilter) {
503return ParseTemplate(content, VirtualPath.Create(virtualPath), ignoreFilter);
506private static ITemplate ParseTemplate(string content, VirtualPath virtualPath, bool ignoreFilter) {
511private ITemplate ParseTemplateInternal(string content, VirtualPath virtualPath, bool ignoreFilter) {
665internal void Parse(ICollection referencedAssemblies, VirtualPath virtualPath) {
721ParseFile(physicalPath, VirtualPath.Create(virtualPath));
724internal void ParseFile(string physicalPath, VirtualPath virtualPath) {
766private void ParseReader(StreamReader reader, VirtualPath virtualPath) {
801internal void ParseString(string text, VirtualPath virtualPath, Encoding fileEncoding) {
806VirtualPath prevVirtualPath = CurrentVirtualPath;
1631VirtualPath virtualPath = Util.GetAndRemoveVirtualPathAttribute(attribs, "src");
1781VirtualPath src = Util.GetAndRemoveVirtualPathAttribute(directive, "src");
1973ProcessCodeFile(VirtualPath.Create(Util.GetNonEmptyAttribute(name, value)));
2021assembly = ImportSourceFile(VirtualPath.Create(src));
2187private void ProcessCodeFile(VirtualPath codeFileVirtualPath) {
2222private Assembly ImportSourceFile(VirtualPath virtualPath) {
2420VirtualPath newVirtualPath = CurrentVirtualPath;
2436newVirtualPath = ResolveVirtualPath(VirtualPath.Create(filename));
2457newVirtualPath = ResolveVirtualPath(VirtualPath.Create(filename));
2851internal void AddSourceDependency(VirtualPath fileName) {
2865private void AddSourceDependency2(VirtualPath fileName) {
2890AddSourceDependency2(VirtualPath.Create(virtualPath));
VirtualPath.cs (48)
56internal static VirtualPath RootVirtualPath = VirtualPath.Create("/");
73VirtualPath virtualPath = obj as VirtualPath;
190public VirtualPath CombineWithAppRoot() {
194public VirtualPath Combine(VirtualPath relativePath) {
218internal VirtualPath SimpleCombine(string relativePath) {
222internal VirtualPath SimpleCombineWithDir(string directoryName) {
226private VirtualPath SimpleCombine(string filename, bool addTrailingSlash) {
240VirtualPath combinedVirtualPath = new VirtualPath(virtualPath);
250public VirtualPath MakeRelative(VirtualPath toVirtualPath) {
251VirtualPath resultVirtualPath = new VirtualPath();
277internal string MapPathInternal(VirtualPath baseVirtualDir, bool allowCrossAppMapping) {
383public VirtualPath Parent {
419internal static VirtualPath Combine(VirtualPath v1, VirtualPath v2) {
435public static bool operator == (VirtualPath v1, VirtualPath v2) {
436return VirtualPath.Equals(v1, v2);
439public static bool operator != (VirtualPath v1, VirtualPath v2) {
440return !VirtualPath.Equals(v1, v2);
443public static bool Equals(VirtualPath v1, VirtualPath v2) {
462VirtualPath virtualPath = value as VirtualPath;
471private static bool EqualsHelper(VirtualPath v1, VirtualPath v2) {
492private void CopyFlagsFrom(VirtualPath virtualPath, int mask) {
496internal static string GetVirtualPathString(VirtualPath virtualPath) {
500internal static string GetVirtualPathStringNoTrailingSlash(VirtualPath virtualPath) {
504internal static string GetAppRelativeVirtualPathString(VirtualPath virtualPath) {
509internal static string GetAppRelativeVirtualPathStringOrEmpty(VirtualPath virtualPath) {
514public static VirtualPath Create(string virtualPath) {
518public static VirtualPath CreateTrailingSlash(string virtualPath) {
522public static VirtualPath CreateAllowNull(string virtualPath) {
526public static VirtualPath CreateAbsolute(string virtualPath) {
530public static VirtualPath CreateNonRelative(string virtualPath) {
534public static VirtualPath CreateAbsoluteTrailingSlash(string virtualPath) {
538public static VirtualPath CreateNonRelativeTrailingSlash(string virtualPath) {
543public static VirtualPath CreateAbsoluteAllowNull(string virtualPath) {
547public static VirtualPath CreateNonRelativeAllowNull(string virtualPath) {
551public static VirtualPath CreateNonRelativeTrailingSlashAllowNull(string virtualPath) {
556public static VirtualPath Create(string virtualPath, VirtualPathOptions options) {
617VirtualPath virtualPathObject = new VirtualPath();