FubuMVC.Core.Packaging.FubuMvcPackageFacility.GetApplicationPath C# (CSharp) Method

GetApplicationPath() public static method

public static GetApplicationPath ( ) : string
return string
        public static string GetApplicationPath()
        {
            return PhysicalRootPath ?? HostingEnvironment.ApplicationPhysicalPath ?? determineApplicationPathFromAppDomain();
        }

Usage Example

Esempio n. 1
0
        public static AssemblyPackageInfo CreateFor(Assembly assembly)
        {
            var package  = new AssemblyPackageInfo(assembly);
            var exploder = FubuMvcPackageFacility.GetPackageExploder(new FileSystem());

            exploder.ExplodeAssembly(FubuMvcPackageFacility.GetApplicationPath(), assembly, package.Files);

            return(package);
        }
All Usage Examples Of FubuMVC.Core.Packaging.FubuMvcPackageFacility::GetApplicationPath