Globals: Class for holding global constants.
This commit is contained in:
@@ -92,7 +92,7 @@ namespace Scrummer
|
||||
string file = Path.GetFileName(context.Request.FilePath);
|
||||
if (string.IsNullOrEmpty(file))
|
||||
{
|
||||
// TODO: Default Handler
|
||||
file = Globals.DefaultHandler;
|
||||
}
|
||||
IHttpHandler handler = GetHandler(file);
|
||||
if (handler == null)
|
||||
|
||||
12
Scrummer/Globals.cs
Normal file
12
Scrummer/Globals.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
namespace Scrummer
|
||||
{
|
||||
public static class Globals
|
||||
{
|
||||
public const string Title = "Scrummer";
|
||||
public const string TitleSeparator = " :: ";
|
||||
public const string Author = "Valeriano Alfonso Rodriguez";
|
||||
public const string Copyright = "Copyright (c) 2015 by Valeriano Alfonso, All Right Reserved";
|
||||
public const string DefaultHandler = "FrmBoard";
|
||||
}
|
||||
}
|
||||
@@ -86,6 +86,7 @@
|
||||
<Compile Include="Code\Pages\FrmError.cs">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Globals.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user