upgraded to autofac 3. created nancy only mode for nzbdrone.exe /n

This commit is contained in:
kay.one 2013-02-17 11:19:38 -08:00
commit b0940ed8de
77 changed files with 3930 additions and 113 deletions

View file

@ -9,7 +9,7 @@ namespace NzbDrone.Common
{
public const string NZBDRONE_PATH = "NZBDRONE_PATH";
public const string NZBDRONE_PID = "NZBDRONE_PID";
public const string ROOT_MARKER = "NzbDrone.Web";
public const string ROOT_MARKER = "IISExpress";
public static readonly char[] NewLineChars = Environment.NewLine.ToCharArray();
@ -38,7 +38,10 @@ namespace NzbDrone.Common
public static bool IsMono
{
get { return Type.GetType("Mono.Runtime") != null; }
get
{
return Type.GetType("Mono.Runtime") != null;
}
}
public static bool IsDebug