/// <summary> /// Returns an the compiled type of the specified file. /// </summary> public static Type GetCompiledType(string virtualPath) { string rootedVPath = WebUtils.CombineVirtualPaths(instance.CurrentExecutionFilePath, virtualPath); return(instance.GetCompiledType(rootedVPath)); }
/// <summary> /// Returns an instance of the specified file. /// </summary> public static object CreateInstanceFromVirtualPath(string virtualPath, Type requiredBaseType) { string rootedVPath = WebUtils.CombineVirtualPaths(instance.CurrentExecutionFilePath, virtualPath); return(instance.CreateInstanceFromVirtualPath(rootedVPath, requiredBaseType)); }