Update: SignalR 2.0.3 Migration; Noticeboards

Migrate all SignalR 1.x Persistent Connections to SignalR 2.x Hubs.
Abstracts ScheduledTaskStatus with core interface and adds a Mock for
optional status reporting. Noticeboards rewritten (with new theme) to be
more resilient and accurate.
This commit is contained in:
Gary Sharp
2014-06-01 23:27:07 +10:00
parent f6fae26bc7
commit 4cd57f4a90
116 changed files with 9874 additions and 6462 deletions
+8 -4
View File
@@ -9,14 +9,18 @@ namespace Disco.Services.Web.Bundles
{
public static class BundleTable
{
private static Dictionary<string, Bundle> _bundles;
public const string DeferredKey = "Bundles.Deferred";
public const string UIExtensionScriptsKey = "Bundles.UIExtensionScripts";
public const string UIExtensionCssKey = "Bundles.UIExtensionCss";
private static Dictionary<string, IBundle> _bundles;
static BundleTable()
{
_bundles = new Dictionary<string, Bundle>();
_bundles = new Dictionary<string, IBundle>();
}
public static void Add(Bundle Bundle)
public static void Add(IBundle Bundle)
{
_bundles[Bundle.Url] = Bundle;
}
@@ -29,7 +33,7 @@ namespace Disco.Services.Web.Bundles
}
}
internal static Bundle GetBundleFor(string Url)
internal static IBundle GetBundleFor(string Url)
{
if (_bundles.ContainsKey(Url))
{