diff --git a/Disco.Web/Disco.Web.csproj b/Disco.Web/Disco.Web.csproj
index 9414643e..d32355b9 100644
--- a/Disco.Web/Disco.Web.csproj
+++ b/Disco.Web/Disco.Web.csproj
@@ -185,8 +185,7 @@
- False
- ..\packages\T4MVCExtensions.3.9.1\lib\net40\T4MVCExtensions.dll
+ ..\packages\T4MVCExtensions.3.17.5\lib\net40\T4MVCExtensions.dll
False
diff --git a/Disco.Web/Extensions/T4MVC/API.AuthorizationRoleController.generated.cs b/Disco.Web/Extensions/T4MVC/API.AuthorizationRoleController.generated.cs
index bb6eb15b..bb07287b 100644
--- a/Disco.Web/Extensions/T4MVC/API.AuthorizationRoleController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.AuthorizationRoleController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -102,7 +104,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "AuthorizationRole";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "AuthorizationRole";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -294,4 +296,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.BootstrapperController.generated.cs b/Disco.Web/Extensions/T4MVC/API.BootstrapperController.generated.cs
index 52f51e17..6bcd0b8d 100644
--- a/Disco.Web/Extensions/T4MVC/API.BootstrapperController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.BootstrapperController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -78,7 +80,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "Bootstrapper";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Bootstrapper";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -160,4 +162,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.DeviceBatchController.generated.cs b/Disco.Web/Extensions/T4MVC/API.DeviceBatchController.generated.cs
index cd6f8a22..67c101eb 100644
--- a/Disco.Web/Extensions/T4MVC/API.DeviceBatchController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.DeviceBatchController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -216,7 +218,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "DeviceBatch";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "DeviceBatch";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -891,4 +893,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.DeviceCertificateController.generated.cs b/Disco.Web/Extensions/T4MVC/API.DeviceCertificateController.generated.cs
index 7e02f80c..0c4c6982 100644
--- a/Disco.Web/Extensions/T4MVC/API.DeviceCertificateController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.DeviceCertificateController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -72,7 +74,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "DeviceCertificate";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "DeviceCertificate";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -132,4 +134,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.DeviceController.generated.cs b/Disco.Web/Extensions/T4MVC/API.DeviceController.generated.cs
index 2d1a5f09..50fc1f47 100644
--- a/Disco.Web/Extensions/T4MVC/API.DeviceController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.DeviceController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -228,7 +230,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "Device";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Device";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -933,4 +935,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.DeviceModelController.generated.cs b/Disco.Web/Extensions/T4MVC/API.DeviceModelController.generated.cs
index d563105a..c8da7c73 100644
--- a/Disco.Web/Extensions/T4MVC/API.DeviceModelController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.DeviceModelController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -138,7 +140,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "DeviceModel";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "DeviceModel";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -505,4 +507,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.DeviceProfileController.generated.cs b/Disco.Web/Extensions/T4MVC/API.DeviceProfileController.generated.cs
index 668dddf4..db3146ae 100644
--- a/Disco.Web/Extensions/T4MVC/API.DeviceProfileController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.DeviceProfileController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -192,7 +194,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "DeviceProfile";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "DeviceProfile";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -772,4 +774,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.DocumentTemplateController.generated.cs b/Disco.Web/Extensions/T4MVC/API.DocumentTemplateController.generated.cs
index a725b28a..810693e1 100644
--- a/Disco.Web/Extensions/T4MVC/API.DocumentTemplateController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.DocumentTemplateController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -173,6 +175,48 @@ namespace Disco.Web.Areas.API.Controllers
}
[NonAction]
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public virtual System.Web.Mvc.ActionResult BulkGenerateDownload()
+ {
+ return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateDownload);
+ }
+ [NonAction]
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public virtual System.Web.Mvc.ActionResult BulkGenerateAddUsers()
+ {
+ return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateAddUsers);
+ }
+ [NonAction]
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public virtual System.Web.Mvc.ActionResult BulkGenerateAddGroupMembers()
+ {
+ return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateAddGroupMembers);
+ }
+ [NonAction]
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public virtual System.Web.Mvc.ActionResult BulkGenerateAddUserFlag()
+ {
+ return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateAddUserFlag);
+ }
+ [NonAction]
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public virtual System.Web.Mvc.ActionResult BulkGenerateAddDeviceProfile()
+ {
+ return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateAddDeviceProfile);
+ }
+ [NonAction]
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public virtual System.Web.Mvc.ActionResult BulkGenerateAddDeviceBatch()
+ {
+ return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateAddDeviceBatch);
+ }
+ [NonAction]
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public virtual System.Web.Mvc.ActionResult BulkGenerateAddDocumentAttachment()
+ {
+ return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateAddDocumentAttachment);
+ }
+ [NonAction]
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public virtual System.Web.Mvc.ActionResult Generate()
{
return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Generate);
@@ -183,6 +227,18 @@ namespace Disco.Web.Areas.API.Controllers
{
return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete);
}
+ [NonAction]
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public virtual System.Web.Mvc.ActionResult GenerateDocumentHandlerUi()
+ {
+ return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GenerateDocumentHandlerUi);
+ }
+ [NonAction]
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public virtual System.Web.Mvc.ActionResult DocumentHandlers()
+ {
+ return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DocumentHandlers);
+ }
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public DocumentTemplateController Actions { get { return MVC.API.DocumentTemplate; } }
@@ -192,7 +248,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "DocumentTemplate";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "DocumentTemplate";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -219,8 +275,17 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string ImporterUndetectedAssign = "ImporterUndetectedAssign";
public readonly string ImporterUndetectedDelete = "ImporterUndetectedDelete";
public readonly string BulkGenerate = "BulkGenerate";
+ public readonly string BulkGenerateDownload = "BulkGenerateDownload";
+ public readonly string BulkGenerateAddUsers = "BulkGenerateAddUsers";
+ public readonly string BulkGenerateAddGroupMembers = "BulkGenerateAddGroupMembers";
+ public readonly string BulkGenerateAddUserFlag = "BulkGenerateAddUserFlag";
+ public readonly string BulkGenerateAddDeviceProfile = "BulkGenerateAddDeviceProfile";
+ public readonly string BulkGenerateAddDeviceBatch = "BulkGenerateAddDeviceBatch";
+ public readonly string BulkGenerateAddDocumentAttachment = "BulkGenerateAddDocumentAttachment";
public readonly string Generate = "Generate";
public readonly string Delete = "Delete";
+ public readonly string GenerateDocumentHandlerUi = "GenerateDocumentHandlerUi";
+ public readonly string DocumentHandlers = "DocumentHandlers";
}
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
@@ -246,8 +311,17 @@ namespace Disco.Web.Areas.API.Controllers
public const string ImporterUndetectedAssign = "ImporterUndetectedAssign";
public const string ImporterUndetectedDelete = "ImporterUndetectedDelete";
public const string BulkGenerate = "BulkGenerate";
+ public const string BulkGenerateDownload = "BulkGenerateDownload";
+ public const string BulkGenerateAddUsers = "BulkGenerateAddUsers";
+ public const string BulkGenerateAddGroupMembers = "BulkGenerateAddGroupMembers";
+ public const string BulkGenerateAddUserFlag = "BulkGenerateAddUserFlag";
+ public const string BulkGenerateAddDeviceProfile = "BulkGenerateAddDeviceProfile";
+ public const string BulkGenerateAddDeviceBatch = "BulkGenerateAddDeviceBatch";
+ public const string BulkGenerateAddDocumentAttachment = "BulkGenerateAddDocumentAttachment";
public const string Generate = "Generate";
public const string Delete = "Delete";
+ public const string GenerateDocumentHandlerUi = "GenerateDocumentHandlerUi";
+ public const string DocumentHandlers = "DocumentHandlers";
}
@@ -439,6 +513,64 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string DataIds = "DataIds";
public readonly string InsertBlankPage = "InsertBlankPage";
}
+ static readonly ActionParamsClass_BulkGenerateDownload s_params_BulkGenerateDownload = new ActionParamsClass_BulkGenerateDownload();
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public ActionParamsClass_BulkGenerateDownload BulkGenerateDownloadParams { get { return s_params_BulkGenerateDownload; } }
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public class ActionParamsClass_BulkGenerateDownload
+ {
+ public readonly string id = "id";
+ public readonly string fileName = "fileName";
+ }
+ static readonly ActionParamsClass_BulkGenerateAddUsers s_params_BulkGenerateAddUsers = new ActionParamsClass_BulkGenerateAddUsers();
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public ActionParamsClass_BulkGenerateAddUsers BulkGenerateAddUsersParams { get { return s_params_BulkGenerateAddUsers; } }
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public class ActionParamsClass_BulkGenerateAddUsers
+ {
+ public readonly string userIds = "userIds";
+ }
+ static readonly ActionParamsClass_BulkGenerateAddGroupMembers s_params_BulkGenerateAddGroupMembers = new ActionParamsClass_BulkGenerateAddGroupMembers();
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public ActionParamsClass_BulkGenerateAddGroupMembers BulkGenerateAddGroupMembersParams { get { return s_params_BulkGenerateAddGroupMembers; } }
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public class ActionParamsClass_BulkGenerateAddGroupMembers
+ {
+ public readonly string groupId = "groupId";
+ }
+ static readonly ActionParamsClass_BulkGenerateAddUserFlag s_params_BulkGenerateAddUserFlag = new ActionParamsClass_BulkGenerateAddUserFlag();
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public ActionParamsClass_BulkGenerateAddUserFlag BulkGenerateAddUserFlagParams { get { return s_params_BulkGenerateAddUserFlag; } }
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public class ActionParamsClass_BulkGenerateAddUserFlag
+ {
+ public readonly string flagId = "flagId";
+ }
+ static readonly ActionParamsClass_BulkGenerateAddDeviceProfile s_params_BulkGenerateAddDeviceProfile = new ActionParamsClass_BulkGenerateAddDeviceProfile();
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public ActionParamsClass_BulkGenerateAddDeviceProfile BulkGenerateAddDeviceProfileParams { get { return s_params_BulkGenerateAddDeviceProfile; } }
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public class ActionParamsClass_BulkGenerateAddDeviceProfile
+ {
+ public readonly string deviceProfileId = "deviceProfileId";
+ }
+ static readonly ActionParamsClass_BulkGenerateAddDeviceBatch s_params_BulkGenerateAddDeviceBatch = new ActionParamsClass_BulkGenerateAddDeviceBatch();
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public ActionParamsClass_BulkGenerateAddDeviceBatch BulkGenerateAddDeviceBatchParams { get { return s_params_BulkGenerateAddDeviceBatch; } }
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public class ActionParamsClass_BulkGenerateAddDeviceBatch
+ {
+ public readonly string deviceBatchId = "deviceBatchId";
+ }
+ static readonly ActionParamsClass_BulkGenerateAddDocumentAttachment s_params_BulkGenerateAddDocumentAttachment = new ActionParamsClass_BulkGenerateAddDocumentAttachment();
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public ActionParamsClass_BulkGenerateAddDocumentAttachment BulkGenerateAddDocumentAttachmentParams { get { return s_params_BulkGenerateAddDocumentAttachment; } }
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public class ActionParamsClass_BulkGenerateAddDocumentAttachment
+ {
+ public readonly string documentTemplateId = "documentTemplateId";
+ public readonly string threshold = "threshold";
+ }
static readonly ActionParamsClass_Generate s_params_Generate = new ActionParamsClass_Generate();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionParamsClass_Generate GenerateParams { get { return s_params_Generate; } }
@@ -457,6 +589,25 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string id = "id";
public readonly string redirect = "redirect";
}
+ static readonly ActionParamsClass_GenerateDocumentHandlerUi s_params_GenerateDocumentHandlerUi = new ActionParamsClass_GenerateDocumentHandlerUi();
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public ActionParamsClass_GenerateDocumentHandlerUi GenerateDocumentHandlerUiParams { get { return s_params_GenerateDocumentHandlerUi; } }
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public class ActionParamsClass_GenerateDocumentHandlerUi
+ {
+ public readonly string templateId = "templateId";
+ public readonly string targetId = "targetId";
+ public readonly string handlerId = "handlerId";
+ }
+ static readonly ActionParamsClass_DocumentHandlers s_params_DocumentHandlers = new ActionParamsClass_DocumentHandlers();
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public ActionParamsClass_DocumentHandlers DocumentHandlersParams { get { return s_params_DocumentHandlers; } }
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public class ActionParamsClass_DocumentHandlers
+ {
+ public readonly string templateId = "templateId";
+ public readonly string targetId = "targetId";
+ }
static readonly ViewsClass s_views = new ViewsClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ViewsClass Views { get { return s_views; } }
@@ -763,6 +914,92 @@ namespace Disco.Web.Areas.API.Controllers
return callInfo;
}
+ [NonAction]
+ partial void BulkGenerateDownloadOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string id, string fileName);
+
+ [NonAction]
+ public override System.Web.Mvc.ActionResult BulkGenerateDownload(string id, string fileName)
+ {
+ var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateDownload);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "fileName", fileName);
+ BulkGenerateDownloadOverride(callInfo, id, fileName);
+ return callInfo;
+ }
+
+ [NonAction]
+ partial void BulkGenerateAddUsersOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string userIds);
+
+ [NonAction]
+ public override System.Web.Mvc.ActionResult BulkGenerateAddUsers(string userIds)
+ {
+ var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateAddUsers);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "userIds", userIds);
+ BulkGenerateAddUsersOverride(callInfo, userIds);
+ return callInfo;
+ }
+
+ [NonAction]
+ partial void BulkGenerateAddGroupMembersOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string groupId);
+
+ [NonAction]
+ public override System.Web.Mvc.ActionResult BulkGenerateAddGroupMembers(string groupId)
+ {
+ var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateAddGroupMembers);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "groupId", groupId);
+ BulkGenerateAddGroupMembersOverride(callInfo, groupId);
+ return callInfo;
+ }
+
+ [NonAction]
+ partial void BulkGenerateAddUserFlagOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, int flagId);
+
+ [NonAction]
+ public override System.Web.Mvc.ActionResult BulkGenerateAddUserFlag(int flagId)
+ {
+ var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateAddUserFlag);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "flagId", flagId);
+ BulkGenerateAddUserFlagOverride(callInfo, flagId);
+ return callInfo;
+ }
+
+ [NonAction]
+ partial void BulkGenerateAddDeviceProfileOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, int deviceProfileId);
+
+ [NonAction]
+ public override System.Web.Mvc.ActionResult BulkGenerateAddDeviceProfile(int deviceProfileId)
+ {
+ var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateAddDeviceProfile);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "deviceProfileId", deviceProfileId);
+ BulkGenerateAddDeviceProfileOverride(callInfo, deviceProfileId);
+ return callInfo;
+ }
+
+ [NonAction]
+ partial void BulkGenerateAddDeviceBatchOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, int deviceBatchId);
+
+ [NonAction]
+ public override System.Web.Mvc.ActionResult BulkGenerateAddDeviceBatch(int deviceBatchId)
+ {
+ var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateAddDeviceBatch);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "deviceBatchId", deviceBatchId);
+ BulkGenerateAddDeviceBatchOverride(callInfo, deviceBatchId);
+ return callInfo;
+ }
+
+ [NonAction]
+ partial void BulkGenerateAddDocumentAttachmentOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string documentTemplateId, System.DateTime? threshold);
+
+ [NonAction]
+ public override System.Web.Mvc.ActionResult BulkGenerateAddDocumentAttachment(string documentTemplateId, System.DateTime? threshold)
+ {
+ var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerateAddDocumentAttachment);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "documentTemplateId", documentTemplateId);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "threshold", threshold);
+ BulkGenerateAddDocumentAttachmentOverride(callInfo, documentTemplateId, threshold);
+ return callInfo;
+ }
+
[NonAction]
partial void GenerateOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string id, string TargetId);
@@ -789,8 +1026,35 @@ namespace Disco.Web.Areas.API.Controllers
return callInfo;
}
+ [NonAction]
+ partial void GenerateDocumentHandlerUiOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string templateId, string targetId, string handlerId);
+
+ [NonAction]
+ public override System.Web.Mvc.ActionResult GenerateDocumentHandlerUi(string templateId, string targetId, string handlerId)
+ {
+ var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GenerateDocumentHandlerUi);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "templateId", templateId);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "targetId", targetId);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "handlerId", handlerId);
+ GenerateDocumentHandlerUiOverride(callInfo, templateId, targetId, handlerId);
+ return callInfo;
+ }
+
+ [NonAction]
+ partial void DocumentHandlersOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string templateId, string targetId);
+
+ [NonAction]
+ public override System.Web.Mvc.ActionResult DocumentHandlers(string templateId, string targetId)
+ {
+ var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DocumentHandlers);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "templateId", templateId);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "targetId", targetId);
+ DocumentHandlersOverride(callInfo, templateId, targetId);
+ return callInfo;
+ }
+
}
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.DocumentTemplatePackageController.generated.cs b/Disco.Web/Extensions/T4MVC/API.DocumentTemplatePackageController.generated.cs
index 31313736..ceb8b4f6 100644
--- a/Disco.Web/Extensions/T4MVC/API.DocumentTemplatePackageController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.DocumentTemplatePackageController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -138,7 +140,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "DocumentTemplatePackage";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "DocumentTemplatePackage";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -486,4 +488,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.ExpressionsController.generated.cs b/Disco.Web/Extensions/T4MVC/API.ExpressionsController.generated.cs
index 9afe9f05..a6da4436 100644
--- a/Disco.Web/Extensions/T4MVC/API.ExpressionsController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.ExpressionsController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -72,7 +74,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "Expressions";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Expressions";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -132,4 +134,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.JobController.generated.cs b/Disco.Web/Extensions/T4MVC/API.JobController.generated.cs
index 01e79c84..1b03ecd8 100644
--- a/Disco.Web/Extensions/T4MVC/API.JobController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.JobController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -456,7 +458,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "Job";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Job";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -2158,4 +2160,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.JobPreferencesController.generated.cs b/Disco.Web/Extensions/T4MVC/API.JobPreferencesController.generated.cs
index 26e9dcc0..362d2d60 100644
--- a/Disco.Web/Extensions/T4MVC/API.JobPreferencesController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.JobPreferencesController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -114,7 +116,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "JobPreferences";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "JobPreferences";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -348,4 +350,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.JobQueueController.generated.cs b/Disco.Web/Extensions/T4MVC/API.JobQueueController.generated.cs
index c81f926e..8f092c16 100644
--- a/Disco.Web/Extensions/T4MVC/API.JobQueueController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.JobQueueController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -132,7 +134,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "JobQueue";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "JobQueue";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -458,4 +460,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.JobQueueJobController.generated.cs b/Disco.Web/Extensions/T4MVC/API.JobQueueJobController.generated.cs
index 6e788a71..987a2c1e 100644
--- a/Disco.Web/Extensions/T4MVC/API.JobQueueJobController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.JobQueueJobController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -114,7 +116,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "JobQueueJob";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "JobQueueJob";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -368,4 +370,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.LoggingController.generated.cs b/Disco.Web/Extensions/T4MVC/API.LoggingController.generated.cs
index c239d8ef..ee4e3aa1 100644
--- a/Disco.Web/Extensions/T4MVC/API.LoggingController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.LoggingController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -78,7 +80,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "Logging";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Logging";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -183,4 +185,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.PluginController.generated.cs b/Disco.Web/Extensions/T4MVC/API.PluginController.generated.cs
index ade65da5..e9d14c57 100644
--- a/Disco.Web/Extensions/T4MVC/API.PluginController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.PluginController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -96,7 +98,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "Plugin";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Plugin";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -283,4 +285,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.SearchController.generated.cs b/Disco.Web/Extensions/T4MVC/API.SearchController.generated.cs
index 09bfcd0b..00b02521 100644
--- a/Disco.Web/Extensions/T4MVC/API.SearchController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.SearchController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -78,7 +80,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "Search";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Search";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -164,4 +166,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.SystemController.generated.cs b/Disco.Web/Extensions/T4MVC/API.SystemController.generated.cs
index 496202f5..13c5b536 100644
--- a/Disco.Web/Extensions/T4MVC/API.SystemController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.SystemController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -150,7 +152,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "System";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "System";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -644,4 +646,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.UserController.generated.cs b/Disco.Web/Extensions/T4MVC/API.UserController.generated.cs
index 27053c63..f026a6b5 100644
--- a/Disco.Web/Extensions/T4MVC/API.UserController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.UserController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -120,7 +122,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "User";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "User";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -370,4 +372,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.UserFlagAssignmentController.generated.cs b/Disco.Web/Extensions/T4MVC/API.UserFlagAssignmentController.generated.cs
index 025c616f..1f307c2c 100644
--- a/Disco.Web/Extensions/T4MVC/API.UserFlagAssignmentController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.UserFlagAssignmentController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -90,7 +92,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "UserFlagAssignment";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "UserFlagAssignment";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -230,4 +232,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/API.UserFlagController.generated.cs b/Disco.Web/Extensions/T4MVC/API.UserFlagController.generated.cs
index fb0e757e..a15a6ac8 100644
--- a/Disco.Web/Extensions/T4MVC/API.UserFlagController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/API.UserFlagController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -144,7 +146,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "UserFlag";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "UserFlag";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -524,4 +526,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.AuthorizationRoleController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.AuthorizationRoleController.generated.cs
index c20e4dd2..f2b4deff 100644
--- a/Disco.Web/Extensions/T4MVC/Config.AuthorizationRoleController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.AuthorizationRoleController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -72,7 +74,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "AuthorizationRole";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "AuthorizationRole";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -171,4 +173,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.ConfigController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.ConfigController.generated.cs
index 3df7b43d..c0af87d5 100644
--- a/Disco.Web/Extensions/T4MVC/Config.ConfigController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.ConfigController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -66,7 +68,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "Config";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Config";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -119,4 +121,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.DeviceBatchController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.DeviceBatchController.generated.cs
index e79c98e7..ce1b424a 100644
--- a/Disco.Web/Extensions/T4MVC/Config.DeviceBatchController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.DeviceBatchController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -72,7 +74,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "DeviceBatch";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "DeviceBatch";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -186,4 +188,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.DeviceModelController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.DeviceModelController.generated.cs
index d9459280..ed087037 100644
--- a/Disco.Web/Extensions/T4MVC/Config.DeviceModelController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.DeviceModelController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -72,7 +74,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "DeviceModel";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "DeviceModel";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -153,4 +155,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.DeviceProfileController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.DeviceProfileController.generated.cs
index 90da0d6a..14010197 100644
--- a/Disco.Web/Extensions/T4MVC/Config.DeviceProfileController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.DeviceProfileController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -72,7 +74,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "DeviceProfile";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "DeviceProfile";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -190,4 +192,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.DocumentTemplateController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.DocumentTemplateController.generated.cs
index cd96371f..260e6c7b 100644
--- a/Disco.Web/Extensions/T4MVC/Config.DocumentTemplateController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.DocumentTemplateController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -71,6 +73,12 @@ namespace Disco.Web.Areas.Config.Controllers
}
[NonAction]
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public virtual System.Web.Mvc.ActionResult BulkGenerate()
+ {
+ return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerate);
+ }
+ [NonAction]
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public virtual System.Web.Mvc.ActionResult ExpressionBrowser()
{
return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ExpressionBrowser);
@@ -84,7 +92,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "DocumentTemplate";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "DocumentTemplate";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -97,6 +105,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string UndetectedPages = "UndetectedPages";
public readonly string Create = "Create";
public readonly string CreatePackage = "CreatePackage";
+ public readonly string BulkGenerate = "BulkGenerate";
public readonly string ExpressionBrowser = "ExpressionBrowser";
}
@@ -109,6 +118,7 @@ namespace Disco.Web.Areas.Config.Controllers
public const string UndetectedPages = "UndetectedPages";
public const string Create = "Create";
public const string CreatePackage = "CreatePackage";
+ public const string BulkGenerate = "BulkGenerate";
public const string ExpressionBrowser = "ExpressionBrowser";
}
@@ -120,6 +130,8 @@ namespace Disco.Web.Areas.Config.Controllers
public class ActionParamsClass_Index
{
public readonly string id = "id";
+ public readonly string bulkGenerateId = "bulkGenerateId";
+ public readonly string bulkGenerateFilename = "bulkGenerateFilename";
}
static readonly ActionParamsClass_ShowPackage s_params_ShowPackage = new ActionParamsClass_ShowPackage();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
@@ -145,6 +157,14 @@ namespace Disco.Web.Areas.Config.Controllers
{
public readonly string model = "model";
}
+ static readonly ActionParamsClass_BulkGenerate s_params_BulkGenerate = new ActionParamsClass_BulkGenerate();
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public ActionParamsClass_BulkGenerate BulkGenerateParams { get { return s_params_BulkGenerate; } }
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public class ActionParamsClass_BulkGenerate
+ {
+ public readonly string id = "id";
+ }
static readonly ActionParamsClass_ExpressionBrowser s_params_ExpressionBrowser = new ActionParamsClass_ExpressionBrowser();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionParamsClass_ExpressionBrowser ExpressionBrowserParams { get { return s_params_ExpressionBrowser; } }
@@ -165,6 +185,7 @@ namespace Disco.Web.Areas.Config.Controllers
public class _ViewNamesClass
{
public readonly string _ExpressionsTable = "_ExpressionsTable";
+ public readonly string BulkGenerate = "BulkGenerate";
public readonly string Create = "Create";
public readonly string CreatePackage = "CreatePackage";
public readonly string ExpressionBrowser = "ExpressionBrowser";
@@ -175,6 +196,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string UndetectedPages = "UndetectedPages";
}
public readonly string _ExpressionsTable = "~/Areas/Config/Views/DocumentTemplate/_ExpressionsTable.cshtml";
+ public readonly string BulkGenerate = "~/Areas/Config/Views/DocumentTemplate/BulkGenerate.cshtml";
public readonly string Create = "~/Areas/Config/Views/DocumentTemplate/Create.cshtml";
public readonly string CreatePackage = "~/Areas/Config/Views/DocumentTemplate/CreatePackage.cshtml";
public readonly string ExpressionBrowser = "~/Areas/Config/Views/DocumentTemplate/ExpressionBrowser.cshtml";
@@ -192,14 +214,16 @@ namespace Disco.Web.Areas.Config.Controllers
public T4MVC_DocumentTemplateController() : base(Dummy.Instance) { }
[NonAction]
- partial void IndexOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string id);
+ partial void IndexOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string id, string bulkGenerateId, string bulkGenerateFilename);
[NonAction]
- public override System.Web.Mvc.ActionResult Index(string id)
+ public override System.Web.Mvc.ActionResult Index(string id, string bulkGenerateId, string bulkGenerateFilename)
{
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id);
- IndexOverride(callInfo, id);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "bulkGenerateId", bulkGenerateId);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "bulkGenerateFilename", bulkGenerateFilename);
+ IndexOverride(callInfo, id, bulkGenerateId, bulkGenerateFilename);
return callInfo;
}
@@ -283,6 +307,18 @@ namespace Disco.Web.Areas.Config.Controllers
return callInfo;
}
+ [NonAction]
+ partial void BulkGenerateOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string id);
+
+ [NonAction]
+ public override System.Web.Mvc.ActionResult BulkGenerate(string id)
+ {
+ var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerate);
+ ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id);
+ BulkGenerateOverride(callInfo, id);
+ return callInfo;
+ }
+
[NonAction]
partial void ExpressionBrowserOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string type, bool StaticDeclaredMembersOnly);
@@ -300,4 +336,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.EnrolmentController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.EnrolmentController.generated.cs
index bfbe2172..0ea4906c 100644
--- a/Disco.Web/Extensions/T4MVC/Config.EnrolmentController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.EnrolmentController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -66,7 +68,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "Enrolment";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Enrolment";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -134,4 +136,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.ExpressionsController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.ExpressionsController.generated.cs
index b693ea0c..4fb4ef66 100644
--- a/Disco.Web/Extensions/T4MVC/Config.ExpressionsController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.ExpressionsController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -66,7 +68,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "Expressions";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Expressions";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -119,4 +121,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.JobPreferencesController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.JobPreferencesController.generated.cs
index b21349ab..b98fc05a 100644
--- a/Disco.Web/Extensions/T4MVC/Config.JobPreferencesController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.JobPreferencesController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -66,7 +68,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "JobPreferences";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "JobPreferences";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -138,4 +140,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.JobQueueController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.JobQueueController.generated.cs
index 69855d1f..a6a4c3b0 100644
--- a/Disco.Web/Extensions/T4MVC/Config.JobQueueController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.JobQueueController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -72,7 +74,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "JobQueue";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "JobQueue";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -171,4 +173,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.LoggingController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.LoggingController.generated.cs
index 340d4721..052c631a 100644
--- a/Disco.Web/Extensions/T4MVC/Config.LoggingController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.LoggingController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -72,7 +74,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "Logging";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Logging";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -149,4 +151,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.OrganisationController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.OrganisationController.generated.cs
index 413cad53..f656a596 100644
--- a/Disco.Web/Extensions/T4MVC/Config.OrganisationController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.OrganisationController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -66,7 +68,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "Organisation";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Organisation";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -119,4 +121,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.PluginsController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.PluginsController.generated.cs
index e73d92e1..a3a29f1c 100644
--- a/Disco.Web/Extensions/T4MVC/Config.PluginsController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.PluginsController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -72,7 +74,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "Plugins";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Plugins";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -178,4 +180,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.SharedController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.SharedController.generated.cs
index bbd3fc7e..aa7b566b 100644
--- a/Disco.Web/Extensions/T4MVC/Config.SharedController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.SharedController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -51,4 +53,4 @@ namespace T4MVC.Config
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.SystemConfigController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.SystemConfigController.generated.cs
index 8daea270..8254e41e 100644
--- a/Disco.Web/Extensions/T4MVC/Config.SystemConfigController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.SystemConfigController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -66,7 +68,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "SystemConfig";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "SystemConfig";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -119,4 +121,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Config.UserFlagController.generated.cs b/Disco.Web/Extensions/T4MVC/Config.UserFlagController.generated.cs
index 362033ba..9587ffc2 100644
--- a/Disco.Web/Extensions/T4MVC/Config.UserFlagController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Config.UserFlagController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -72,7 +74,7 @@ namespace Disco.Web.Areas.Config.Controllers
public readonly string Name = "UserFlag";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "UserFlag";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -171,4 +173,4 @@ namespace Disco.Web.Areas.Config.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/DeviceController.generated.cs b/Disco.Web/Extensions/T4MVC/DeviceController.generated.cs
index 87597d9e..29b426ed 100644
--- a/Disco.Web/Extensions/T4MVC/DeviceController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/DeviceController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -96,7 +98,7 @@ namespace Disco.Web.Controllers
public readonly string Name = "Device";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Device";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -335,4 +337,4 @@ namespace Disco.Web.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/InitialConfigController.generated.cs b/Disco.Web/Extensions/T4MVC/InitialConfigController.generated.cs
index 06a7c57c..45e241e8 100644
--- a/Disco.Web/Extensions/T4MVC/InitialConfigController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/InitialConfigController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -84,7 +86,7 @@ namespace Disco.Web.Controllers
public readonly string Name = "InitialConfig";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "InitialConfig";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -373,4 +375,4 @@ namespace Disco.Web.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/JobController.generated.cs b/Disco.Web/Extensions/T4MVC/JobController.generated.cs
index 7f7d8c54..92a52297 100644
--- a/Disco.Web/Extensions/T4MVC/JobController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/JobController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -108,7 +110,7 @@ namespace Disco.Web.Controllers
public readonly string Name = "Job";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Job";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -611,4 +613,4 @@ namespace Disco.Web.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/PluginWebHandlerController.generated.cs b/Disco.Web/Extensions/T4MVC/PluginWebHandlerController.generated.cs
index 27a7efb2..7fe14fd2 100644
--- a/Disco.Web/Extensions/T4MVC/PluginWebHandlerController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/PluginWebHandlerController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -78,7 +80,7 @@ namespace Disco.Web.Controllers
public readonly string Name = "PluginWebHandler";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "PluginWebHandler";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -166,4 +168,4 @@ namespace Disco.Web.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Public.HeldDevicesController.generated.cs b/Disco.Web/Extensions/T4MVC/Public.HeldDevicesController.generated.cs
index 95e3b66f..37851145 100644
--- a/Disco.Web/Extensions/T4MVC/Public.HeldDevicesController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Public.HeldDevicesController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -78,7 +80,7 @@ namespace Disco.Web.Areas.Public.Controllers
public readonly string Name = "HeldDevices";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "HeldDevices";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -235,4 +237,4 @@ namespace Disco.Web.Areas.Public.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Public.PublicController.generated.cs b/Disco.Web/Extensions/T4MVC/Public.PublicController.generated.cs
index 2ae1aceb..3a179710 100644
--- a/Disco.Web/Extensions/T4MVC/Public.PublicController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Public.PublicController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -66,7 +68,7 @@ namespace Disco.Web.Areas.Public.Controllers
public readonly string Name = "Public";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Public";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -149,4 +151,4 @@ namespace Disco.Web.Areas.Public.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Public.UserHeldDevicesController.generated.cs b/Disco.Web/Extensions/T4MVC/Public.UserHeldDevicesController.generated.cs
index 21de5e74..4ac4ede3 100644
--- a/Disco.Web/Extensions/T4MVC/Public.UserHeldDevicesController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Public.UserHeldDevicesController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -78,7 +80,7 @@ namespace Disco.Web.Areas.Public.Controllers
public readonly string Name = "UserHeldDevices";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "UserHeldDevices";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -235,4 +237,4 @@ namespace Disco.Web.Areas.Public.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/SearchController.generated.cs b/Disco.Web/Extensions/T4MVC/SearchController.generated.cs
index 7eb0fba6..1d3ea264 100644
--- a/Disco.Web/Extensions/T4MVC/SearchController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/SearchController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -72,7 +74,7 @@ namespace Disco.Web.Controllers
public readonly string Name = "Search";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Search";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -138,4 +140,4 @@ namespace Disco.Web.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/Services.ClientController.generated.cs b/Disco.Web/Extensions/T4MVC/Services.ClientController.generated.cs
index 65e299f4..75b9a42f 100644
--- a/Disco.Web/Extensions/T4MVC/Services.ClientController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/Services.ClientController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -84,7 +86,7 @@ namespace Disco.Web.Areas.Services.Controllers
public readonly string Name = "Client";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Client";
-
+ [GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -218,4 +220,4 @@ namespace Disco.Web.Areas.Services.Controllers
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/SharedController.generated.cs b/Disco.Web/Extensions/T4MVC/SharedController.generated.cs
index 13e6eae3..5aa62bf3 100644
--- a/Disco.Web/Extensions/T4MVC/SharedController.generated.cs
+++ b/Disco.Web/Extensions/T4MVC/SharedController.generated.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -71,4 +73,4 @@ namespace T4MVC
}
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/T4MVC.cs b/Disco.Web/Extensions/T4MVC/T4MVC.cs
index 0627ff28..3b362a54 100644
--- a/Disco.Web/Extensions/T4MVC/T4MVC.cs
+++ b/Disco.Web/Extensions/T4MVC/T4MVC.cs
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -140,247 +142,319 @@ namespace Links
{
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class ClientSource {
- private const string URLPATH = "~/ClientSource";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Scripts {
- private const string URLPATH = "~/ClientSource/Scripts";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Scripts";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Core {
- private const string URLPATH = "~/ClientSource/Scripts/Core";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string _references_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/_references.min.js") ? Url("_references.min.js") : Url("_references.js");
- public static readonly string disco_dataTables_extensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.dataTables.extensions.min.js") ? Url("disco.dataTables.extensions.min.js") : Url("disco.dataTables.extensions.js");
- public static readonly string disco_moment_extensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.moment.extensions.min.js") ? Url("disco.moment.extensions.min.js") : Url("disco.moment.extensions.js");
- public static readonly string disco_uicore_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.uicore.min.js") ? Url("disco.uicore.min.js") : Url("disco.uicore.js");
- public static readonly string disco_unobtrusiveValidation_extensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.unobtrusiveValidation.extensions.min.js") ? Url("disco.unobtrusiveValidation.extensions.min.js") : Url("disco.unobtrusiveValidation.extensions.js");
- public static readonly string jquery_2_1_1_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery-2.1.1.min.js") ? Url("jquery-2.1.1.min.js") : Url("jquery-2.1.1.js");
- public static readonly string jquery_ui_1_10_4_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery-ui-1.10.4.min.js") ? Url("jquery-ui-1.10.4.min.js") : Url("jquery-ui-1.10.4.js");
- public static readonly string jquery_dataTables_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.dataTables.min.js") ? Url("jquery.dataTables.min.js") : Url("jquery.dataTables.js");
- public static readonly string jquery_validate_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.validate.min.js") ? Url("jquery.validate.min.js") : Url("jquery.validate.js");
- public static readonly string jquery_validate_unobtrusive_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.validate.unobtrusive.min.js") ? Url("jquery.validate.unobtrusive.min.js") : Url("jquery.validate.unobtrusive.js");
- public static readonly string jquery_watermark_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.watermark.min.js") ? Url("jquery.watermark.min.js") : Url("jquery.watermark.js");
- public static readonly string livestamp_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/livestamp.min.js") ? Url("livestamp.min.js") : Url("livestamp.js");
- public static readonly string modernizr_2_7_2_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/modernizr-2.7.2.min.js") ? Url("modernizr-2.7.2.min.js") : Url("modernizr-2.7.2.js");
- public static readonly string moment_en_au_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/moment.en-au.min.js") ? Url("moment.en-au.min.js") : Url("moment.en-au.js");
- public static readonly string moment_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/moment.min.js") ? Url("moment.min.js") : Url("moment.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Core";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string _references_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/_references.min.js") ? Url("_references.min.js") : Url("_references.js");
+ public static readonly string _references_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/_references.min.js") ? Url("_references.min.js") : Url("_references.js");
+ public static readonly string disco_dataTables_extensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.dataTables.extensions.min.js") ? Url("disco.dataTables.extensions.min.js") : Url("disco.dataTables.extensions.js");
+ public static readonly string disco_dataTables_extensions_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.dataTables.extensions.min.js") ? Url("disco.dataTables.extensions.min.js") : Url("disco.dataTables.extensions.js");
+ public static readonly string disco_moment_extensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.moment.extensions.min.js") ? Url("disco.moment.extensions.min.js") : Url("disco.moment.extensions.js");
+ public static readonly string disco_moment_extensions_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.moment.extensions.min.js") ? Url("disco.moment.extensions.min.js") : Url("disco.moment.extensions.js");
+ public static readonly string disco_uicore_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.uicore.min.js") ? Url("disco.uicore.min.js") : Url("disco.uicore.js");
+ public static readonly string disco_uicore_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.uicore.min.js") ? Url("disco.uicore.min.js") : Url("disco.uicore.js");
+ public static readonly string disco_unobtrusiveValidation_extensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.unobtrusiveValidation.extensions.min.js") ? Url("disco.unobtrusiveValidation.extensions.min.js") : Url("disco.unobtrusiveValidation.extensions.js");
+ public static readonly string disco_unobtrusiveValidation_extensions_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.unobtrusiveValidation.extensions.min.js") ? Url("disco.unobtrusiveValidation.extensions.min.js") : Url("disco.unobtrusiveValidation.extensions.js");
+ public static readonly string jquery_2_1_1_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery-2.1.1.min.js") ? Url("jquery-2.1.1.min.js") : Url("jquery-2.1.1.js");
+ public static readonly string jquery_ui_1_10_4_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery-ui-1.10.4.min.js") ? Url("jquery-ui-1.10.4.min.js") : Url("jquery-ui-1.10.4.js");
+ public static readonly string jquery_dataTables_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.dataTables.min.js") ? Url("jquery.dataTables.min.js") : Url("jquery.dataTables.js");
+ public static readonly string jquery_dataTables_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.dataTables.min.js") ? Url("jquery.dataTables.min.js") : Url("jquery.dataTables.js");
+ public static readonly string jquery_validate_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.validate.min.js") ? Url("jquery.validate.min.js") : Url("jquery.validate.js");
+ public static readonly string jquery_validate_unobtrusive_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.validate.unobtrusive.min.js") ? Url("jquery.validate.unobtrusive.min.js") : Url("jquery.validate.unobtrusive.js");
+ public static readonly string jquery_watermark_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.watermark.min.js") ? Url("jquery.watermark.min.js") : Url("jquery.watermark.js");
+ public static readonly string jquery_watermark_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.watermark.min.js") ? Url("jquery.watermark.min.js") : Url("jquery.watermark.js");
+ public static readonly string livestamp_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/livestamp.min.js") ? Url("livestamp.min.js") : Url("livestamp.js");
+ public static readonly string livestamp_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/livestamp.min.js") ? Url("livestamp.min.js") : Url("livestamp.js");
+ public static readonly string modernizr_2_7_2_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/modernizr-2.7.2.min.js") ? Url("modernizr-2.7.2.min.js") : Url("modernizr-2.7.2.js");
+ public static readonly string moment_en_au_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/moment.en-au.min.js") ? Url("moment.en-au.min.js") : Url("moment.en-au.js");
+ public static readonly string moment_en_au_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/moment.en-au.min.js") ? Url("moment.en-au.min.js") : Url("moment.en-au.js");
+ public static readonly string moment_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/moment.min.js") ? Url("moment.min.js") : Url("moment.js");
+ public static readonly string moment_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/moment.min.js") ? Url("moment.min.js") : Url("moment.js");
}
- public static readonly string Core_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Core.min.js") ? Url("Core.min.js") : Url("Core.js");
+ public static readonly string Core_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Core.min.js") ? Url("Core.min.js") : Url("Core.js");
public static readonly string Core_min_js = Url("Core.min.js");
+ public static readonly string Core_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Core.min.js") ? Url("Core.min.js") : Url("Core.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Modules {
- private const string URLPATH = "~/ClientSource/Scripts/Modules";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Scripts/Modules";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Disco_AjaxHelperIcons {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/Disco-AjaxHelperIcons";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string disco_ajaxhelpericons_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.ajaxhelpericons.min.js") ? Url("disco.ajaxhelpericons.min.js") : Url("disco.ajaxhelpericons.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Disco-AjaxHelperIcons";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string disco_ajaxhelpericons_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.ajaxhelpericons.min.js") ? Url("disco.ajaxhelpericons.min.js") : Url("disco.ajaxhelpericons.js");
+ public static readonly string disco_ajaxhelpericons_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.ajaxhelpericons.min.js") ? Url("disco.ajaxhelpericons.min.js") : Url("disco.ajaxhelpericons.js");
}
- public static readonly string Disco_AjaxHelperIcons_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Disco-AjaxHelperIcons.min.js") ? Url("Disco-AjaxHelperIcons.min.js") : Url("Disco-AjaxHelperIcons.js");
+ public static readonly string Disco_AjaxHelperIcons_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-AjaxHelperIcons.min.js") ? Url("Disco-AjaxHelperIcons.min.js") : Url("Disco-AjaxHelperIcons.js");
public static readonly string Disco_AjaxHelperIcons_min_js = Url("Disco-AjaxHelperIcons.min.js");
+ public static readonly string Disco_AjaxHelperIcons_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-AjaxHelperIcons.min.js") ? Url("Disco-AjaxHelperIcons.min.js") : Url("Disco-AjaxHelperIcons.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Disco_AttachmentUploader {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/Disco-AttachmentUploader";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string disco_attachmentuploader_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco-attachmentuploader.min.js") ? Url("disco-attachmentuploader.min.js") : Url("disco-attachmentuploader.js");
- public static readonly string webcam_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/webcam.min.js") ? Url("webcam.min.js") : Url("webcam.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Disco-AttachmentUploader";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string disco_attachmentuploader_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco-attachmentuploader.min.js") ? Url("disco-attachmentuploader.min.js") : Url("disco-attachmentuploader.js");
+ public static readonly string disco_attachmentuploader_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco-attachmentuploader.min.js") ? Url("disco-attachmentuploader.min.js") : Url("disco-attachmentuploader.js");
+ public static readonly string webcam_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/webcam.min.js") ? Url("webcam.min.js") : Url("webcam.js");
+ public static readonly string webcam_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/webcam.min.js") ? Url("webcam.min.js") : Url("webcam.js");
public static readonly string webcam_swf = Url("webcam.swf");
}
- public static readonly string Disco_AttachmentUploader_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Disco-AttachmentUploader.min.js") ? Url("Disco-AttachmentUploader.min.js") : Url("Disco-AttachmentUploader.js");
+ public static readonly string Disco_AttachmentUploader_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-AttachmentUploader.min.js") ? Url("Disco-AttachmentUploader.min.js") : Url("Disco-AttachmentUploader.js");
public static readonly string Disco_AttachmentUploader_min_js = Url("Disco-AttachmentUploader.min.js");
+ public static readonly string Disco_AttachmentUploader_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-AttachmentUploader.min.js") ? Url("Disco-AttachmentUploader.min.js") : Url("Disco-AttachmentUploader.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Disco_CreateJob {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/Disco-CreateJob";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string disco_createjob_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.createjob.min.js") ? Url("disco.createjob.min.js") : Url("disco.createjob.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Disco-CreateJob";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string disco_createjob_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.createjob.min.js") ? Url("disco.createjob.min.js") : Url("disco.createjob.js");
+ public static readonly string disco_createjob_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.createjob.min.js") ? Url("disco.createjob.min.js") : Url("disco.createjob.js");
}
- public static readonly string Disco_CreateJob_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Disco-CreateJob.min.js") ? Url("Disco-CreateJob.min.js") : Url("Disco-CreateJob.js");
+ public static readonly string Disco_CreateJob_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-CreateJob.min.js") ? Url("Disco-CreateJob.min.js") : Url("Disco-CreateJob.js");
public static readonly string Disco_CreateJob_min_js = Url("Disco-CreateJob.min.js");
+ public static readonly string Disco_CreateJob_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-CreateJob.min.js") ? Url("Disco-CreateJob.min.js") : Url("Disco-CreateJob.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Disco_DataTableHelpers {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/Disco-DataTableHelpers";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string disco_datatablehelpers_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.datatablehelpers.min.js") ? Url("disco.datatablehelpers.min.js") : Url("disco.datatablehelpers.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Disco-DataTableHelpers";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string disco_datatablehelpers_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.datatablehelpers.min.js") ? Url("disco.datatablehelpers.min.js") : Url("disco.datatablehelpers.js");
+ public static readonly string disco_datatablehelpers_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.datatablehelpers.min.js") ? Url("disco.datatablehelpers.min.js") : Url("disco.datatablehelpers.js");
}
- public static readonly string Disco_DataTableHelpers_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Disco-DataTableHelpers.min.js") ? Url("Disco-DataTableHelpers.min.js") : Url("Disco-DataTableHelpers.js");
+ public static readonly string Disco_DataTableHelpers_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-DataTableHelpers.min.js") ? Url("Disco-DataTableHelpers.min.js") : Url("Disco-DataTableHelpers.js");
public static readonly string Disco_DataTableHelpers_min_js = Url("Disco-DataTableHelpers.min.js");
+ public static readonly string Disco_DataTableHelpers_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-DataTableHelpers.min.js") ? Url("Disco-DataTableHelpers.min.js") : Url("Disco-DataTableHelpers.js");
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public static class Disco_DocumentBulkGenerate {
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Disco-DocumentBulkGenerate";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string disco_documentbulkgenerate_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.documentbulkgenerate.min.js") ? Url("disco.documentbulkgenerate.min.js") : Url("disco.documentbulkgenerate.js");
+ }
+
+ public static readonly string Disco_DocumentBulkGenerate_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-DocumentBulkGenerate.min.js") ? Url("Disco-DocumentBulkGenerate.min.js") : Url("Disco-DocumentBulkGenerate.js");
+ public static readonly string Disco_DocumentBulkGenerate_min_js = Url("Disco-DocumentBulkGenerate.min.js");
+ [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
+ public static class Disco_DocumentGenerator {
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Disco-DocumentGenerator";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string disco_documentgenerator_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.documentgenerator.min.js") ? Url("disco.documentgenerator.min.js") : Url("disco.documentgenerator.js");
+ }
+
+ public static readonly string Disco_DocumentGenerator_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-DocumentGenerator.min.js") ? Url("Disco-DocumentGenerator.min.js") : Url("Disco-DocumentGenerator.js");
+ public static readonly string Disco_DocumentGenerator_min_js = Url("Disco-DocumentGenerator.min.js");
+ public static readonly string Disco_DocumentGenerator_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-DocumentGenerator.min.js") ? Url("Disco-DocumentGenerator.min.js") : Url("Disco-DocumentGenerator.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Disco_ExpressionEditor {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/Disco-ExpressionEditor";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string disco_expressioneditor_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.expressioneditor.min.js") ? Url("disco.expressioneditor.min.js") : Url("disco.expressioneditor.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Disco-ExpressionEditor";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string disco_expressioneditor_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.expressioneditor.min.js") ? Url("disco.expressioneditor.min.js") : Url("disco.expressioneditor.js");
+ public static readonly string disco_expressioneditor_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.expressioneditor.min.js") ? Url("disco.expressioneditor.min.js") : Url("disco.expressioneditor.js");
}
- public static readonly string Disco_ExpressionEditor_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Disco-ExpressionEditor.min.js") ? Url("Disco-ExpressionEditor.min.js") : Url("Disco-ExpressionEditor.js");
+ public static readonly string Disco_ExpressionEditor_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-ExpressionEditor.min.js") ? Url("Disco-ExpressionEditor.min.js") : Url("Disco-ExpressionEditor.js");
public static readonly string Disco_ExpressionEditor_min_js = Url("Disco-ExpressionEditor.min.js");
+ public static readonly string Disco_ExpressionEditor_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-ExpressionEditor.min.js") ? Url("Disco-ExpressionEditor.min.js") : Url("Disco-ExpressionEditor.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Disco_jQueryExtensions {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/Disco-jQueryExtensions";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string disco_jQueryExtensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.jQueryExtensions.min.js") ? Url("disco.jQueryExtensions.min.js") : Url("disco.jQueryExtensions.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Disco-jQueryExtensions";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string disco_jQueryExtensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.jQueryExtensions.min.js") ? Url("disco.jQueryExtensions.min.js") : Url("disco.jQueryExtensions.js");
+ public static readonly string disco_jQueryExtensions_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.jQueryExtensions.min.js") ? Url("disco.jQueryExtensions.min.js") : Url("disco.jQueryExtensions.js");
}
- public static readonly string Disco_jQueryExtensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Disco-jQueryExtensions.min.js") ? Url("Disco-jQueryExtensions.min.js") : Url("Disco-jQueryExtensions.js");
+ public static readonly string Disco_jQueryExtensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-jQueryExtensions.min.js") ? Url("Disco-jQueryExtensions.min.js") : Url("Disco-jQueryExtensions.js");
public static readonly string Disco_jQueryExtensions_min_js = Url("Disco-jQueryExtensions.min.js");
+ public static readonly string Disco_jQueryExtensions_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-jQueryExtensions.min.js") ? Url("Disco-jQueryExtensions.min.js") : Url("Disco-jQueryExtensions.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Disco_PropertyChangeHelpers {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/Disco-PropertyChangeHelpers";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string disco_propertychangehelpers_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.propertychangehelpers.min.js") ? Url("disco.propertychangehelpers.min.js") : Url("disco.propertychangehelpers.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Disco-PropertyChangeHelpers";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string disco_propertychangehelpers_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.propertychangehelpers.min.js") ? Url("disco.propertychangehelpers.min.js") : Url("disco.propertychangehelpers.js");
+ public static readonly string disco_propertychangehelpers_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.propertychangehelpers.min.js") ? Url("disco.propertychangehelpers.min.js") : Url("disco.propertychangehelpers.js");
}
- public static readonly string Disco_PropertyChangeHelpers_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Disco-PropertyChangeHelpers.min.js") ? Url("Disco-PropertyChangeHelpers.min.js") : Url("Disco-PropertyChangeHelpers.js");
+ public static readonly string Disco_PropertyChangeHelpers_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-PropertyChangeHelpers.min.js") ? Url("Disco-PropertyChangeHelpers.min.js") : Url("Disco-PropertyChangeHelpers.js");
public static readonly string Disco_PropertyChangeHelpers_min_js = Url("Disco-PropertyChangeHelpers.min.js");
+ public static readonly string Disco_PropertyChangeHelpers_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Disco-PropertyChangeHelpers.min.js") ? Url("Disco-PropertyChangeHelpers.min.js") : Url("Disco-PropertyChangeHelpers.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Highcharts {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/Highcharts";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string highcharts_src_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/highcharts.src.min.js") ? Url("highcharts.src.min.js") : Url("highcharts.src.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Highcharts";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string highcharts_src_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/highcharts.src.min.js") ? Url("highcharts.src.min.js") : Url("highcharts.src.js");
}
- public static readonly string Highcharts_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Highcharts.min.js") ? Url("Highcharts.min.js") : Url("Highcharts.js");
+ public static readonly string Highcharts_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Highcharts.min.js") ? Url("Highcharts.min.js") : Url("Highcharts.js");
public static readonly string Highcharts_min_js = Url("Highcharts.min.js");
+ public static readonly string Highcharts_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Highcharts.min.js") ? Url("Highcharts.min.js") : Url("Highcharts.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class jQuery_Fancytree {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/jQuery-Fancytree";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string jquery_fancytree_all_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.fancytree-all.min.js") ? Url("jquery.fancytree-all.min.js") : Url("jquery.fancytree-all.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/jQuery-Fancytree";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string jquery_fancytree_all_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.fancytree-all.min.js") ? Url("jquery.fancytree-all.min.js") : Url("jquery.fancytree-all.js");
+ public static readonly string jquery_fancytree_all_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.fancytree-all.min.js") ? Url("jquery.fancytree-all.min.js") : Url("jquery.fancytree-all.js");
}
- public static readonly string jQuery_Fancytree_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jQuery-Fancytree.min.js") ? Url("jQuery-Fancytree.min.js") : Url("jQuery-Fancytree.js");
+ public static readonly string jQuery_Fancytree_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQuery-Fancytree.min.js") ? Url("jQuery-Fancytree.min.js") : Url("jQuery-Fancytree.js");
public static readonly string jQuery_Fancytree_min_js = Url("jQuery-Fancytree.min.js");
+ public static readonly string jQuery_Fancytree_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQuery-Fancytree.min.js") ? Url("jQuery-Fancytree.min.js") : Url("jQuery-Fancytree.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class jQuery_Isotope {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/jQuery-Isotope";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string jquery_isotope_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.isotope.min.js") ? Url("jquery.isotope.min.js") : Url("jquery.isotope.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/jQuery-Isotope";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string jquery_isotope_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.isotope.min.js") ? Url("jquery.isotope.min.js") : Url("jquery.isotope.js");
+ public static readonly string jquery_isotope_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.isotope.min.js") ? Url("jquery.isotope.min.js") : Url("jquery.isotope.js");
}
- public static readonly string jQuery_Isotope_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jQuery-Isotope.min.js") ? Url("jQuery-Isotope.min.js") : Url("jQuery-Isotope.js");
+ public static readonly string jQuery_Isotope_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQuery-Isotope.min.js") ? Url("jQuery-Isotope.min.js") : Url("jQuery-Isotope.js");
public static readonly string jQuery_Isotope_min_js = Url("jQuery-Isotope.min.js");
+ public static readonly string jQuery_Isotope_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQuery-Isotope.min.js") ? Url("jQuery-Isotope.min.js") : Url("jQuery-Isotope.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class jQuery_NumberFormatter {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/jQuery-NumberFormatter";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string jquery_numberformatter_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.numberformatter.min.js") ? Url("jquery.numberformatter.min.js") : Url("jquery.numberformatter.js");
- public static readonly string jshashtable_2_1_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jshashtable-2.1.min.js") ? Url("jshashtable-2.1.min.js") : Url("jshashtable-2.1.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/jQuery-NumberFormatter";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string jquery_numberformatter_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.numberformatter.min.js") ? Url("jquery.numberformatter.min.js") : Url("jquery.numberformatter.js");
+ public static readonly string jquery_numberformatter_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.numberformatter.min.js") ? Url("jquery.numberformatter.min.js") : Url("jquery.numberformatter.js");
+ public static readonly string jshashtable_2_1_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jshashtable-2.1.min.js") ? Url("jshashtable-2.1.min.js") : Url("jshashtable-2.1.js");
+ public static readonly string jshashtable_2_1_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jshashtable-2.1.min.js") ? Url("jshashtable-2.1.min.js") : Url("jshashtable-2.1.js");
}
- public static readonly string jQuery_NumberFormatter_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jQuery-NumberFormatter.min.js") ? Url("jQuery-NumberFormatter.min.js") : Url("jQuery-NumberFormatter.js");
+ public static readonly string jQuery_NumberFormatter_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQuery-NumberFormatter.min.js") ? Url("jQuery-NumberFormatter.min.js") : Url("jQuery-NumberFormatter.js");
public static readonly string jQuery_NumberFormatter_min_js = Url("jQuery-NumberFormatter.min.js");
+ public static readonly string jQuery_NumberFormatter_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQuery-NumberFormatter.min.js") ? Url("jQuery-NumberFormatter.min.js") : Url("jQuery-NumberFormatter.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class jQuery_SignalR {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/jQuery-SignalR";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string disco_hubs_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco-hubs.min.js") ? Url("disco-hubs.min.js") : Url("disco-hubs.js");
- public static readonly string jquery_signalR_2_1_1_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.signalR-2.1.1.min.js") ? Url("jquery.signalR-2.1.1.min.js") : Url("jquery.signalR-2.1.1.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/jQuery-SignalR";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string disco_hubs_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco-hubs.min.js") ? Url("disco-hubs.min.js") : Url("disco-hubs.js");
+ public static readonly string disco_hubs_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco-hubs.min.js") ? Url("disco-hubs.min.js") : Url("disco-hubs.js");
+ public static readonly string jquery_signalR_2_1_2_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.signalR-2.1.2.min.js") ? Url("jquery.signalR-2.1.2.min.js") : Url("jquery.signalR-2.1.2.js");
}
- public static readonly string jQuery_SignalR_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jQuery-SignalR.min.js") ? Url("jQuery-SignalR.min.js") : Url("jQuery-SignalR.js");
+ public static readonly string jQuery_SignalR_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQuery-SignalR.min.js") ? Url("jQuery-SignalR.min.js") : Url("jQuery-SignalR.js");
public static readonly string jQuery_SignalR_min_js = Url("jQuery-SignalR.min.js");
+ public static readonly string jQuery_SignalR_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQuery-SignalR.min.js") ? Url("jQuery-SignalR.min.js") : Url("jQuery-SignalR.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class jQueryUI_DynaTree {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/jQueryUI-DynaTree";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string jquery_dynatree_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.dynatree.min.js") ? Url("jquery.dynatree.min.js") : Url("jquery.dynatree.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/jQueryUI-DynaTree";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string jquery_dynatree_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.dynatree.min.js") ? Url("jquery.dynatree.min.js") : Url("jquery.dynatree.js");
+ public static readonly string jquery_dynatree_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery.dynatree.min.js") ? Url("jquery.dynatree.min.js") : Url("jquery.dynatree.js");
}
- public static readonly string jQueryUI_DynaTree_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jQueryUI-DynaTree.min.js") ? Url("jQueryUI-DynaTree.min.js") : Url("jQueryUI-DynaTree.js");
+ public static readonly string jQueryUI_DynaTree_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQueryUI-DynaTree.min.js") ? Url("jQueryUI-DynaTree.min.js") : Url("jQueryUI-DynaTree.js");
public static readonly string jQueryUI_DynaTree_min_js = Url("jQueryUI-DynaTree.min.js");
+ public static readonly string jQueryUI_DynaTree_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQueryUI-DynaTree.min.js") ? Url("jQueryUI-DynaTree.min.js") : Url("jQueryUI-DynaTree.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class jQueryUI_TimePicker {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/jQueryUI-TimePicker";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string jquery_ui_timepicker_addon_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery-ui-timepicker-addon.min.js") ? Url("jquery-ui-timepicker-addon.min.js") : Url("jquery-ui-timepicker-addon.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/jQueryUI-TimePicker";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string jquery_ui_timepicker_addon_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery-ui-timepicker-addon.min.js") ? Url("jquery-ui-timepicker-addon.min.js") : Url("jquery-ui-timepicker-addon.js");
+ public static readonly string jquery_ui_timepicker_addon_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery-ui-timepicker-addon.min.js") ? Url("jquery-ui-timepicker-addon.min.js") : Url("jquery-ui-timepicker-addon.js");
}
- public static readonly string jQueryUI_TimePicker_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jQueryUI-TimePicker.min.js") ? Url("jQueryUI-TimePicker.min.js") : Url("jQueryUI-TimePicker.js");
+ public static readonly string jQueryUI_TimePicker_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQueryUI-TimePicker.min.js") ? Url("jQueryUI-TimePicker.min.js") : Url("jQueryUI-TimePicker.js");
public static readonly string jQueryUI_TimePicker_min_js = Url("jQueryUI-TimePicker.min.js");
+ public static readonly string jQueryUI_TimePicker_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQueryUI-TimePicker.min.js") ? Url("jQueryUI-TimePicker.min.js") : Url("jQueryUI-TimePicker.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Knockout {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/Knockout";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string knockout_3_1_0_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/knockout-3.1.0.min.js") ? Url("knockout-3.1.0.min.js") : Url("knockout-3.1.0.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Knockout";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string knockout_3_1_0_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/knockout-3.1.0.min.js") ? Url("knockout-3.1.0.min.js") : Url("knockout-3.1.0.js");
}
- public static readonly string Knockout_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Knockout.min.js") ? Url("Knockout.min.js") : Url("Knockout.js");
+ public static readonly string Knockout_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Knockout.min.js") ? Url("Knockout.min.js") : Url("Knockout.js");
public static readonly string Knockout_min_js = Url("Knockout.min.js");
+ public static readonly string Knockout_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Knockout.min.js") ? Url("Knockout.min.js") : Url("Knockout.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Shadowbox {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/Shadowbox";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string shadowbox_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/shadowbox.min.js") ? Url("shadowbox.min.js") : Url("shadowbox.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Shadowbox";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string shadowbox_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/shadowbox.min.js") ? Url("shadowbox.min.js") : Url("shadowbox.js");
+ public static readonly string shadowbox_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/shadowbox.min.js") ? Url("shadowbox.min.js") : Url("shadowbox.js");
}
- public static readonly string Shadowbox_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Shadowbox.min.js") ? Url("Shadowbox.min.js") : Url("Shadowbox.js");
+ public static readonly string Shadowbox_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Shadowbox.min.js") ? Url("Shadowbox.min.js") : Url("Shadowbox.js");
public static readonly string Shadowbox_min_js = Url("Shadowbox.min.js");
+ public static readonly string Shadowbox_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Shadowbox.min.js") ? Url("Shadowbox.min.js") : Url("Shadowbox.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Timeline {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/Timeline";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string disco_simileajaxextensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.simileajaxextensions.min.js") ? Url("disco.simileajaxextensions.min.js") : Url("disco.simileajaxextensions.js");
- public static readonly string disco_timelineextensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.timelineextensions.min.js") ? Url("disco.timelineextensions.min.js") : Url("disco.timelineextensions.js");
- public static readonly string labellers_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/labellers.min.js") ? Url("labellers.min.js") : Url("labellers.js");
- public static readonly string simile_ajax_bundle_DiscoMod_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/simile-ajax-bundle-DiscoMod.min.js") ? Url("simile-ajax-bundle-DiscoMod.min.js") : Url("simile-ajax-bundle-DiscoMod.js");
- public static readonly string timeline_bundle_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/timeline-bundle.min.js") ? Url("timeline-bundle.min.js") : Url("timeline-bundle.js");
- public static readonly string timeline_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/timeline.min.js") ? Url("timeline.min.js") : Url("timeline.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/Timeline";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string disco_simileajaxextensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.simileajaxextensions.min.js") ? Url("disco.simileajaxextensions.min.js") : Url("disco.simileajaxextensions.js");
+ public static readonly string disco_simileajaxextensions_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.simileajaxextensions.min.js") ? Url("disco.simileajaxextensions.min.js") : Url("disco.simileajaxextensions.js");
+ public static readonly string disco_timelineextensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.timelineextensions.min.js") ? Url("disco.timelineextensions.min.js") : Url("disco.timelineextensions.js");
+ public static readonly string disco_timelineextensions_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.timelineextensions.min.js") ? Url("disco.timelineextensions.min.js") : Url("disco.timelineextensions.js");
+ public static readonly string labellers_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/labellers.min.js") ? Url("labellers.min.js") : Url("labellers.js");
+ public static readonly string labellers_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/labellers.min.js") ? Url("labellers.min.js") : Url("labellers.js");
+ public static readonly string simile_ajax_bundle_DiscoMod_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/simile-ajax-bundle-DiscoMod.min.js") ? Url("simile-ajax-bundle-DiscoMod.min.js") : Url("simile-ajax-bundle-DiscoMod.js");
+ public static readonly string simile_ajax_bundle_DiscoMod_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/simile-ajax-bundle-DiscoMod.min.js") ? Url("simile-ajax-bundle-DiscoMod.min.js") : Url("simile-ajax-bundle-DiscoMod.js");
+ public static readonly string timeline_bundle_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/timeline-bundle.min.js") ? Url("timeline-bundle.min.js") : Url("timeline-bundle.js");
+ public static readonly string timeline_bundle_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/timeline-bundle.min.js") ? Url("timeline-bundle.min.js") : Url("timeline-bundle.js");
+ public static readonly string timeline_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/timeline.min.js") ? Url("timeline.min.js") : Url("timeline.js");
+ public static readonly string timeline_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/timeline.min.js") ? Url("timeline.min.js") : Url("timeline.js");
}
- public static readonly string Timeline_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Timeline.min.js") ? Url("Timeline.min.js") : Url("Timeline.js");
+ public static readonly string Timeline_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Timeline.min.js") ? Url("Timeline.min.js") : Url("Timeline.js");
public static readonly string Timeline_min_js = Url("Timeline.min.js");
+ public static readonly string Timeline_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Timeline.min.js") ? Url("Timeline.min.js") : Url("Timeline.js");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class tinymce {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string disco_tinymceextensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.tinymceextensions.min.js") ? Url("disco.tinymceextensions.min.js") : Url("disco.tinymceextensions.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/tinymce";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string disco_tinymceextensions_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.tinymceextensions.min.js") ? Url("disco.tinymceextensions.min.js") : Url("disco.tinymceextensions.js");
+ public static readonly string disco_tinymceextensions_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.tinymceextensions.min.js") ? Url("disco.tinymceextensions.min.js") : Url("disco.tinymceextensions.js");
public static readonly string jquery_tinymce_min_js = Url("jquery.tinymce.min.js");
public static readonly string license_txt = Url("license.txt");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class skins {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/skins";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/tinymce/skins";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class lightgray {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/skins/lightgray";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/tinymce/skins/lightgray";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string content_inline_min_css = Url("content.inline.min.css");
public static readonly string content_min_css = Url("content.min.css");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class fonts {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/skins/lightgray/fonts";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/tinymce/skins/lightgray/fonts";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string readme_md = Url("readme.md");
public static readonly string tinymce_small_eot = Url("tinymce-small.eot");
public static readonly string tinymce_small_json = Url("tinymce-small.json");
@@ -396,9 +470,9 @@ namespace Links
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class img {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/skins/lightgray/img";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/tinymce/skins/lightgray/img";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string anchor_gif = Url("anchor.gif");
public static readonly string loader_gif = Url("loader.gif");
public static readonly string object_gif = Url("object.gif");
@@ -413,60 +487,59 @@ namespace Links
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class themes {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/tinymce/themes";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class modern {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/modern";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string theme_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/theme.min.js") ? Url("theme.min.js") : Url("theme.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/tinymce/themes/modern";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string theme_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/theme.min.js") ? Url("theme.min.js") : Url("theme.js");
public static readonly string theme_min_js = Url("theme.min.js");
}
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class simple {
- private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
- public static readonly string theme_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/theme.min.js") ? Url("theme.min.js") : Url("theme.js");
+ public const string UrlPath = "~/ClientSource/Scripts/Modules/tinymce/themes/simple";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
+ public static readonly string theme_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/theme.min.js") ? Url("theme.min.js") : Url("theme.js");
+ public static readonly string theme_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/theme.min.js") ? Url("theme.min.js") : Url("theme.js");
}
}
- public static readonly string tinymce_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/tinymce.min.js") ? Url("tinymce.min.js") : Url("tinymce.js");
+ public static readonly string tinymce_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/tinymce.min.js") ? Url("tinymce.min.js") : Url("tinymce.js");
public static readonly string tinymce_min_js = Url("tinymce.min.js");
}
- public static readonly string tinymce_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/tinymce.min.js") ? Url("tinymce.min.js") : Url("tinymce.js");
+ public static readonly string tinymce_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/tinymce.min.js") ? Url("tinymce.min.js") : Url("tinymce.js");
public static readonly string tinymce_min_js = Url("tinymce.min.js");
+ public static readonly string tinymce_js_ = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/tinymce.min.js") ? Url("tinymce.min.js") : Url("tinymce.js");
}
}
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Style {
- private const string URLPATH = "~/ClientSource/Style";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string AppMaintenance_less = Url("AppMaintenance.less");
- public static readonly string AppMaintenance_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/AppMaintenance.min.css") ? Url("AppMaintenance.min.css") : Url("AppMaintenance.css");
-
+ public static readonly string AppMaintenance_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/AppMaintenance.min.css") ? Url("AppMaintenance.min.css") : Url("AppMaintenance.css");
public static readonly string AppMaintenance_min_css = Url("AppMaintenance.min.css");
public static readonly string BundleSite_less = Url("BundleSite.less");
- public static readonly string BundleSite_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/BundleSite.min.css") ? Url("BundleSite.min.css") : Url("BundleSite.css");
-
+ public static readonly string BundleSite_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/BundleSite.min.css") ? Url("BundleSite.min.css") : Url("BundleSite.css");
public static readonly string BundleSite_min_css = Url("BundleSite.min.css");
public static readonly string Config_less = Url("Config.less");
- public static readonly string Config_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Config.min.css") ? Url("Config.min.css") : Url("Config.css");
-
+ public static readonly string Config_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Config.min.css") ? Url("Config.min.css") : Url("Config.css");
public static readonly string Config_min_css = Url("Config.min.css");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Credits {
- private const string URLPATH = "~/ClientSource/Style/Credits";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/Credits";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string CrystalIcons_png = Url("CrystalIcons.png");
public static readonly string dotless_png = Url("dotless.png");
public static readonly string HighchartsJS_png = Url("HighchartsJS.png");
@@ -491,33 +564,27 @@ namespace Links
}
public static readonly string Credits_less = Url("Credits.less");
- public static readonly string Credits_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Credits.min.css") ? Url("Credits.min.css") : Url("Credits.css");
-
+ public static readonly string Credits_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Credits.min.css") ? Url("Credits.min.css") : Url("Credits.css");
public static readonly string Credits_min_css = Url("Credits.min.css");
public static readonly string Declarations_less = Url("Declarations.less");
- public static readonly string Declarations_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Declarations.min.css") ? Url("Declarations.min.css") : Url("Declarations.css");
-
+ public static readonly string Declarations_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Declarations.min.css") ? Url("Declarations.min.css") : Url("Declarations.css");
public static readonly string Declarations_min_css = Url("Declarations.min.css");
public static readonly string Device_less = Url("Device.less");
- public static readonly string Device_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Device.min.css") ? Url("Device.min.css") : Url("Device.css");
-
+ public static readonly string Device_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Device.min.css") ? Url("Device.min.css") : Url("Device.css");
public static readonly string Device_min_css = Url("Device.min.css");
public static readonly string Dialog_less = Url("Dialog.less");
- public static readonly string Dialog_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Dialog.min.css") ? Url("Dialog.min.css") : Url("Dialog.css");
-
+ public static readonly string Dialog_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Dialog.min.css") ? Url("Dialog.min.css") : Url("Dialog.css");
public static readonly string Dialog_min_css = Url("Dialog.min.css");
- public static readonly string ExpressionEditor_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ExpressionEditor.min.css") ? Url("ExpressionEditor.min.css") : Url("ExpressionEditor.css");
-
+ public static readonly string ExpressionEditor_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/ExpressionEditor.min.css") ? Url("ExpressionEditor.min.css") : Url("ExpressionEditor.css");
public static readonly string ExpressionEditor_min_css = Url("ExpressionEditor.min.css");
public static readonly string ExpressionEditor_htm = Url("ExpressionEditor.htm");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Fancytree {
- private const string URLPATH = "~/ClientSource/Style/Fancytree";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/Fancytree";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string disco_fancytree_less = Url("disco.fancytree.less");
- public static readonly string disco_fancytree_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.fancytree.min.css") ? Url("disco.fancytree.min.css") : Url("disco.fancytree.css");
-
+ public static readonly string disco_fancytree_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.fancytree.min.css") ? Url("disco.fancytree.min.css") : Url("disco.fancytree.css");
public static readonly string disco_fancytree_min_css = Url("disco.fancytree.min.css");
public static readonly string icons_disco_shrunk_png = Url("icons-disco-shrunk.png");
public static readonly string icons_DiscoMod_png = Url("icons-DiscoMod.png");
@@ -528,9 +595,9 @@ namespace Links
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class FontAwesome {
- private const string URLPATH = "~/ClientSource/Style/FontAwesome";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/FontAwesome";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string bordered_pulled_less = Url("bordered-pulled.less");
public static readonly string core_less = Url("core.less");
public static readonly string fixed_width_less = Url("fixed-width.less");
@@ -553,14 +620,14 @@ namespace Links
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Images {
- private const string URLPATH = "~/ClientSource/Style/Images";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/Images";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Actions {
- private const string URLPATH = "~/ClientSource/Style/Images/Actions";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/Images/Actions";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string dataTableFirst_png = Url("dataTableFirst.png");
public static readonly string dataTableFirstDisabled_png = Url("dataTableFirstDisabled.png");
public static readonly string dataTableLast_png = Url("dataTableLast.png");
@@ -578,9 +645,9 @@ namespace Links
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class AttachmentTypes {
- private const string URLPATH = "~/ClientSource/Style/Images/AttachmentTypes";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/Images/AttachmentTypes";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string document_png = Url("document.png");
public static readonly string expressionBrowserIcons_png = Url("expressionBrowserIcons.png");
public static readonly string image_png = Url("image.png");
@@ -593,9 +660,9 @@ namespace Links
public static readonly string BackgroundPage_png = Url("BackgroundPage.png");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class DeviceTypes {
- private const string URLPATH = "~/ClientSource/Style/Images/DeviceTypes";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/Images/DeviceTypes";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string AppliancePC_png = Url("AppliancePC.png");
public static readonly string Desktop_png = Url("Desktop.png");
public static readonly string EnterpriseServer_png = Url("EnterpriseServer.png");
@@ -610,9 +677,9 @@ namespace Links
public static readonly string Heading_png = Url("Heading.png");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Status {
- private const string URLPATH = "~/ClientSource/Style/Images/Status";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/Images/Status";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string fail32_png = Url("fail32.png");
public static readonly string fileBroken256_png = Url("fileBroken256.png");
public static readonly string loading_gif = Url("loading.gif");
@@ -623,35 +690,32 @@ namespace Links
public static readonly string UnknownPhoto_png = Url("UnknownPhoto.png");
}
- public static readonly string IsotopeStyles_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/IsotopeStyles.min.css") ? Url("IsotopeStyles.min.css") : Url("IsotopeStyles.css");
-
+ public static readonly string IsotopeStyles_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/IsotopeStyles.min.css") ? Url("IsotopeStyles.min.css") : Url("IsotopeStyles.css");
public static readonly string IsotopeStyles_min_css = Url("IsotopeStyles.min.css");
public static readonly string Job_less = Url("Job.less");
- public static readonly string Job_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Job.min.css") ? Url("Job.min.css") : Url("Job.css");
-
+ public static readonly string Job_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Job.min.css") ? Url("Job.min.css") : Url("Job.css");
public static readonly string Job_min_css = Url("Job.min.css");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class jQueryUI {
- private const string URLPATH = "~/ClientSource/Style/jQueryUI";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/jQueryUI";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class dynatree {
- private const string URLPATH = "~/ClientSource/Style/jQueryUI/dynatree";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/jQueryUI/dynatree";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string icons_gif = Url("icons.gif");
public static readonly string loading_gif = Url("loading.gif");
- public static readonly string ui_dynatree_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui.dynatree.min.css") ? Url("ui.dynatree.min.css") : Url("ui.dynatree.css");
-
+ public static readonly string ui_dynatree_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/ui.dynatree.min.css") ? Url("ui.dynatree.min.css") : Url("ui.dynatree.css");
public static readonly string ui_dynatree_min_css = Url("ui.dynatree.min.css");
}
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class images {
- private const string URLPATH = "~/ClientSource/Style/jQueryUI/images";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/jQueryUI/images";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string animated_overlay_gif = Url("animated-overlay.gif");
public static readonly string ui_bg_flat_0_aaaaaa_40x100_png = Url("ui-bg_flat_0_aaaaaa_40x100.png");
public static readonly string ui_bg_flat_75_ffffff_40x100_png = Url("ui-bg_flat_75_ffffff_40x100.png");
@@ -669,76 +733,66 @@ namespace Links
}
public static readonly string jquery_ui_less = Url("jquery-ui.less");
- public static readonly string jquery_ui_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery-ui.min.css") ? Url("jquery-ui.min.css") : Url("jquery-ui.css");
-
+ public static readonly string jquery_ui_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jquery-ui.min.css") ? Url("jquery-ui.min.css") : Url("jquery-ui.css");
public static readonly string jquery_ui_min_css = Url("jquery-ui.min.css");
}
public static readonly string jQueryUIExtensions_less = Url("jQueryUIExtensions.less");
- public static readonly string jQueryUIExtensions_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jQueryUIExtensions.min.css") ? Url("jQueryUIExtensions.min.css") : Url("jQueryUIExtensions.css");
-
+ public static readonly string jQueryUIExtensions_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/jQueryUIExtensions.min.css") ? Url("jQueryUIExtensions.min.css") : Url("jQueryUIExtensions.css");
public static readonly string jQueryUIExtensions_min_css = Url("jQueryUIExtensions.min.css");
public static readonly string normalize_less = Url("normalize.less");
- public static readonly string normalize_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/normalize.min.css") ? Url("normalize.min.css") : Url("normalize.css");
-
+ public static readonly string normalize_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/normalize.min.css") ? Url("normalize.min.css") : Url("normalize.css");
public static readonly string normalize_min_css = Url("normalize.min.css");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Public {
- private const string URLPATH = "~/ClientSource/Style/Public";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/Public";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string HeldDevices_less = Url("HeldDevices.less");
- public static readonly string HeldDevices_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/HeldDevices.min.css") ? Url("HeldDevices.min.css") : Url("HeldDevices.css");
-
+ public static readonly string HeldDevices_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/HeldDevices.min.css") ? Url("HeldDevices.min.css") : Url("HeldDevices.css");
public static readonly string HeldDevices_min_css = Url("HeldDevices.min.css");
public static readonly string HeldDevicesNoticeboard_less = Url("HeldDevicesNoticeboard.less");
- public static readonly string HeldDevicesNoticeboard_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/HeldDevicesNoticeboard.min.css") ? Url("HeldDevicesNoticeboard.min.css") : Url("HeldDevicesNoticeboard.css");
-
+ public static readonly string HeldDevicesNoticeboard_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/HeldDevicesNoticeboard.min.css") ? Url("HeldDevicesNoticeboard.min.css") : Url("HeldDevicesNoticeboard.css");
public static readonly string HeldDevicesNoticeboard_min_css = Url("HeldDevicesNoticeboard.min.css");
public static readonly string UserHeldDevicesXml_Sharepoint_xslt = Url("UserHeldDevicesXml_Sharepoint.xslt");
}
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Shadowbox {
- private const string URLPATH = "~/ClientSource/Style/Shadowbox";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/Shadowbox";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string close_png = Url("close.png");
public static readonly string loading_gif = Url("loading.gif");
public static readonly string next_png = Url("next.png");
public static readonly string pause_png = Url("pause.png");
public static readonly string play_png = Url("play.png");
public static readonly string previous_png = Url("previous.png");
- public static readonly string shadowbox_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/shadowbox.min.css") ? Url("shadowbox.min.css") : Url("shadowbox.css");
-
+ public static readonly string shadowbox_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/shadowbox.min.css") ? Url("shadowbox.min.css") : Url("shadowbox.css");
}
public static readonly string Shadowbox_min_css = Url("Shadowbox.min.css");
public static readonly string Shared_less = Url("Shared.less");
- public static readonly string Shared_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Shared.min.css") ? Url("Shared.min.css") : Url("Shared.css");
-
+ public static readonly string Shared_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Shared.min.css") ? Url("Shared.min.css") : Url("Shared.css");
public static readonly string Shared_min_css = Url("Shared.min.css");
public static readonly string Site_less = Url("Site.less");
- public static readonly string Site_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Site.min.css") ? Url("Site.min.css") : Url("Site.css");
-
+ public static readonly string Site_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/Site.min.css") ? Url("Site.min.css") : Url("Site.css");
public static readonly string Site_min_css = Url("Site.min.css");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class Timeline {
- private const string URLPATH = "~/ClientSource/Style/Timeline";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/Timeline";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string disco_timelineextensions_less = Url("disco.timelineextensions.less");
- public static readonly string disco_timelineextensions_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/disco.timelineextensions.min.css") ? Url("disco.timelineextensions.min.css") : Url("disco.timelineextensions.css");
-
+ public static readonly string disco_timelineextensions_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/disco.timelineextensions.min.css") ? Url("disco.timelineextensions.min.css") : Url("disco.timelineextensions.css");
public static readonly string disco_timelineextensions_min_css = Url("disco.timelineextensions.min.css");
- public static readonly string graphics_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/graphics.min.css") ? Url("graphics.min.css") : Url("graphics.css");
-
+ public static readonly string graphics_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/graphics.min.css") ? Url("graphics.min.css") : Url("graphics.css");
public static readonly string graphics_min_css = Url("graphics.min.css");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class images {
- private const string URLPATH = "~/ClientSource/Style/Timeline/images";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/Timeline/images";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string blue_circle_png = Url("blue-circle.png");
public static readonly string bubble_arrow_point_down_png = Url("bubble-arrow-point-down.png");
public static readonly string bubble_arrow_point_left_png = Url("bubble-arrow-point-left.png");
@@ -779,30 +833,27 @@ namespace Links
public static readonly string top_bubble_png = Url("top-bubble.png");
}
- public static readonly string timeline_bundle_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/timeline-bundle.min.css") ? Url("timeline-bundle.min.css") : Url("timeline-bundle.css");
-
+ public static readonly string timeline_bundle_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/timeline-bundle.min.css") ? Url("timeline-bundle.min.css") : Url("timeline-bundle.css");
public static readonly string timeline_bundle_min_css = Url("timeline-bundle.min.css");
}
public static readonly string Timeline_min_css = Url("Timeline.min.css");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class tinymce {
- private const string URLPATH = "~/ClientSource/Style/tinymce";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/tinymce";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string content_inline_less = Url("content.inline.less");
- public static readonly string content_inline_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/content.inline.min.css") ? Url("content.inline.min.css") : Url("content.inline.css");
-
+ public static readonly string content_inline_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/content.inline.min.css") ? Url("content.inline.min.css") : Url("content.inline.css");
public static readonly string content_inline_min_css = Url("content.inline.min.css");
public static readonly string content_less = Url("content.less");
- public static readonly string content_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/content.min.css") ? Url("content.min.css") : Url("content.css");
-
+ public static readonly string content_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/content.min.css") ? Url("content.min.css") : Url("content.css");
public static readonly string content_min_css = Url("content.min.css");
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class img {
- private const string URLPATH = "~/ClientSource/Style/tinymce/img";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientSource/Style/tinymce/img";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string anchor_gif = Url("anchor.gif");
public static readonly string loader_gif = Url("loader.gif");
public static readonly string object_gif = Url("object.gif");
@@ -810,14 +861,12 @@ namespace Links
}
public static readonly string skin_less = Url("skin.less");
- public static readonly string skin_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/skin.min.css") ? Url("skin.min.css") : Url("skin.css");
-
+ public static readonly string skin_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/skin.min.css") ? Url("skin.min.css") : Url("skin.css");
public static readonly string skin_min_css = Url("skin.min.css");
}
public static readonly string User_less = Url("User.less");
- public static readonly string User_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/User.min.css") ? Url("User.min.css") : Url("User.css");
-
+ public static readonly string User_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/User.min.css") ? Url("User.min.css") : Url("User.css");
public static readonly string User_min_css = Url("User.min.css");
}
@@ -825,21 +874,454 @@ namespace Links
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static class ClientBin {
- private const string URLPATH = "~/ClientBin";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "~/ClientBin";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
public static readonly string Disco_ClientBootstrapper_exe = Url("Disco.ClientBootstrapper.exe");
public static readonly string DiscoServices_InitialPluginLibraryManifest_json = Url("DiscoServices.InitialPluginLibraryManifest.json");
public static readonly string PreparationClient_zip = Url("PreparationClient.zip");
}
+
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public static partial class Bundles
{
- [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
- public static partial class Scripts {}
- [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
- public static partial class Styles {}
+ public static partial class ClientSource
+ {
+ public static partial class Scripts
+ {
+ public static partial class Core
+ {
+ public static class Assets
+ {
+ public const string _references_js = "~/ClientSource/Scripts/Core/_references.js";
+ public const string _references_js_ = "~/ClientSource/Scripts/Core/_references.js";
+ public const string disco_dataTables_extensions_js = "~/ClientSource/Scripts/Core/disco.dataTables.extensions.js";
+ public const string disco_dataTables_extensions_js_ = "~/ClientSource/Scripts/Core/disco.dataTables.extensions.js";
+ public const string disco_moment_extensions_js = "~/ClientSource/Scripts/Core/disco.moment.extensions.js";
+ public const string disco_moment_extensions_js_ = "~/ClientSource/Scripts/Core/disco.moment.extensions.js";
+ public const string disco_uicore_js = "~/ClientSource/Scripts/Core/disco.uicore.js";
+ public const string disco_uicore_js_ = "~/ClientSource/Scripts/Core/disco.uicore.js";
+ public const string disco_unobtrusiveValidation_extensions_js = "~/ClientSource/Scripts/Core/disco.unobtrusiveValidation.extensions.js";
+ public const string disco_unobtrusiveValidation_extensions_js_ = "~/ClientSource/Scripts/Core/disco.unobtrusiveValidation.extensions.js";
+ public const string jquery_2_1_1_js = "~/ClientSource/Scripts/Core/jquery-2.1.1.js";
+ public const string jquery_ui_1_10_4_js = "~/ClientSource/Scripts/Core/jquery-ui-1.10.4.js";
+ public const string jquery_dataTables_js = "~/ClientSource/Scripts/Core/jquery.dataTables.js";
+ public const string jquery_dataTables_js_ = "~/ClientSource/Scripts/Core/jquery.dataTables.js";
+ public const string jquery_validate_js = "~/ClientSource/Scripts/Core/jquery.validate.js";
+ public const string jquery_validate_unobtrusive_js = "~/ClientSource/Scripts/Core/jquery.validate.unobtrusive.js";
+ public const string jquery_watermark_js = "~/ClientSource/Scripts/Core/jquery.watermark.js";
+ public const string jquery_watermark_js_ = "~/ClientSource/Scripts/Core/jquery.watermark.js";
+ public const string livestamp_js = "~/ClientSource/Scripts/Core/livestamp.js";
+ public const string livestamp_js_ = "~/ClientSource/Scripts/Core/livestamp.js";
+ public const string modernizr_2_7_2_js = "~/ClientSource/Scripts/Core/modernizr-2.7.2.js";
+ public const string moment_en_au_js = "~/ClientSource/Scripts/Core/moment.en-au.js";
+ public const string moment_en_au_js_ = "~/ClientSource/Scripts/Core/moment.en-au.js";
+ public const string moment_js = "~/ClientSource/Scripts/Core/moment.js";
+ public const string moment_js_ = "~/ClientSource/Scripts/Core/moment.js";
+ }
+ }
+ public static partial class Modules
+ {
+ public static partial class Disco_AjaxHelperIcons
+ {
+ public static class Assets
+ {
+ public const string disco_ajaxhelpericons_js = "~/ClientSource/Scripts/Modules/Disco-AjaxHelperIcons/disco.ajaxhelpericons.js";
+ public const string disco_ajaxhelpericons_js_ = "~/ClientSource/Scripts/Modules/Disco-AjaxHelperIcons/disco.ajaxhelpericons.js";
+ }
+ }
+ public static partial class Disco_AttachmentUploader
+ {
+ public static class Assets
+ {
+ public const string disco_attachmentuploader_js = "~/ClientSource/Scripts/Modules/Disco-AttachmentUploader/disco-attachmentuploader.js";
+ public const string disco_attachmentuploader_js_ = "~/ClientSource/Scripts/Modules/Disco-AttachmentUploader/disco-attachmentuploader.js";
+ public const string webcam_js = "~/ClientSource/Scripts/Modules/Disco-AttachmentUploader/webcam.js";
+ public const string webcam_js_ = "~/ClientSource/Scripts/Modules/Disco-AttachmentUploader/webcam.js";
+ }
+ }
+ public static partial class Disco_CreateJob
+ {
+ public static class Assets
+ {
+ public const string disco_createjob_js = "~/ClientSource/Scripts/Modules/Disco-CreateJob/disco.createjob.js";
+ public const string disco_createjob_js_ = "~/ClientSource/Scripts/Modules/Disco-CreateJob/disco.createjob.js";
+ }
+ }
+ public static partial class Disco_DataTableHelpers
+ {
+ public static class Assets
+ {
+ public const string disco_datatablehelpers_js = "~/ClientSource/Scripts/Modules/Disco-DataTableHelpers/disco.datatablehelpers.js";
+ public const string disco_datatablehelpers_js_ = "~/ClientSource/Scripts/Modules/Disco-DataTableHelpers/disco.datatablehelpers.js";
+ }
+ }
+ public static partial class Disco_DocumentBulkGenerate
+ {
+ public static class Assets
+ {
+ public const string disco_documentbulkgenerate_js = "~/ClientSource/Scripts/Modules/Disco-DocumentBulkGenerate/disco.documentbulkgenerate.js";
+ }
+ }
+ public static partial class Disco_DocumentGenerator
+ {
+ public static class Assets
+ {
+ public const string disco_documentgenerator_js = "~/ClientSource/Scripts/Modules/Disco-DocumentGenerator/disco.documentgenerator.js";
+ }
+ }
+ public static partial class Disco_ExpressionEditor
+ {
+ public static class Assets
+ {
+ public const string disco_expressioneditor_js = "~/ClientSource/Scripts/Modules/Disco-ExpressionEditor/disco.expressioneditor.js";
+ public const string disco_expressioneditor_js_ = "~/ClientSource/Scripts/Modules/Disco-ExpressionEditor/disco.expressioneditor.js";
+ }
+ }
+ public static partial class Disco_jQueryExtensions
+ {
+ public static class Assets
+ {
+ public const string disco_jQueryExtensions_js = "~/ClientSource/Scripts/Modules/Disco-jQueryExtensions/disco.jQueryExtensions.js";
+ public const string disco_jQueryExtensions_js_ = "~/ClientSource/Scripts/Modules/Disco-jQueryExtensions/disco.jQueryExtensions.js";
+ }
+ }
+ public static partial class Disco_PropertyChangeHelpers
+ {
+ public static class Assets
+ {
+ public const string disco_propertychangehelpers_js = "~/ClientSource/Scripts/Modules/Disco-PropertyChangeHelpers/disco.propertychangehelpers.js";
+ public const string disco_propertychangehelpers_js_ = "~/ClientSource/Scripts/Modules/Disco-PropertyChangeHelpers/disco.propertychangehelpers.js";
+ }
+ }
+ public static partial class Highcharts
+ {
+ public static class Assets
+ {
+ public const string highcharts_src_js = "~/ClientSource/Scripts/Modules/Highcharts/highcharts.src.js";
+ }
+ }
+ public static partial class jQuery_Fancytree
+ {
+ public static class Assets
+ {
+ public const string jquery_fancytree_all_js = "~/ClientSource/Scripts/Modules/jQuery-Fancytree/jquery.fancytree-all.js";
+ public const string jquery_fancytree_all_js_ = "~/ClientSource/Scripts/Modules/jQuery-Fancytree/jquery.fancytree-all.js";
+ }
+ }
+ public static partial class jQuery_Isotope
+ {
+ public static class Assets
+ {
+ public const string jquery_isotope_js = "~/ClientSource/Scripts/Modules/jQuery-Isotope/jquery.isotope.js";
+ public const string jquery_isotope_js_ = "~/ClientSource/Scripts/Modules/jQuery-Isotope/jquery.isotope.js";
+ }
+ }
+ public static partial class jQuery_NumberFormatter
+ {
+ public static class Assets
+ {
+ public const string jquery_numberformatter_js = "~/ClientSource/Scripts/Modules/jQuery-NumberFormatter/jquery.numberformatter.js";
+ public const string jquery_numberformatter_js_ = "~/ClientSource/Scripts/Modules/jQuery-NumberFormatter/jquery.numberformatter.js";
+ public const string jshashtable_2_1_js = "~/ClientSource/Scripts/Modules/jQuery-NumberFormatter/jshashtable-2.1.js";
+ public const string jshashtable_2_1_js_ = "~/ClientSource/Scripts/Modules/jQuery-NumberFormatter/jshashtable-2.1.js";
+ }
+ }
+ public static partial class jQuery_SignalR
+ {
+ public static class Assets
+ {
+ public const string disco_hubs_js = "~/ClientSource/Scripts/Modules/jQuery-SignalR/disco-hubs.js";
+ public const string disco_hubs_js_ = "~/ClientSource/Scripts/Modules/jQuery-SignalR/disco-hubs.js";
+ public const string jquery_signalR_2_1_2_js = "~/ClientSource/Scripts/Modules/jQuery-SignalR/jquery.signalR-2.1.2.js";
+ }
+ }
+ public static partial class jQueryUI_DynaTree
+ {
+ public static class Assets
+ {
+ public const string jquery_dynatree_js = "~/ClientSource/Scripts/Modules/jQueryUI-DynaTree/jquery.dynatree.js";
+ public const string jquery_dynatree_js_ = "~/ClientSource/Scripts/Modules/jQueryUI-DynaTree/jquery.dynatree.js";
+ }
+ }
+ public static partial class jQueryUI_TimePicker
+ {
+ public static class Assets
+ {
+ public const string jquery_ui_timepicker_addon_js = "~/ClientSource/Scripts/Modules/jQueryUI-TimePicker/jquery-ui-timepicker-addon.js";
+ public const string jquery_ui_timepicker_addon_js_ = "~/ClientSource/Scripts/Modules/jQueryUI-TimePicker/jquery-ui-timepicker-addon.js";
+ }
+ }
+ public static partial class Knockout
+ {
+ public static class Assets
+ {
+ public const string knockout_3_1_0_js = "~/ClientSource/Scripts/Modules/Knockout/knockout-3.1.0.js";
+ }
+ }
+ public static partial class Shadowbox
+ {
+ public static class Assets
+ {
+ public const string shadowbox_js = "~/ClientSource/Scripts/Modules/Shadowbox/shadowbox.js";
+ public const string shadowbox_js_ = "~/ClientSource/Scripts/Modules/Shadowbox/shadowbox.js";
+ }
+ }
+ public static partial class Timeline
+ {
+ public static class Assets
+ {
+ public const string disco_simileajaxextensions_js = "~/ClientSource/Scripts/Modules/Timeline/disco.simileajaxextensions.js";
+ public const string disco_simileajaxextensions_js_ = "~/ClientSource/Scripts/Modules/Timeline/disco.simileajaxextensions.js";
+ public const string disco_timelineextensions_js = "~/ClientSource/Scripts/Modules/Timeline/disco.timelineextensions.js";
+ public const string disco_timelineextensions_js_ = "~/ClientSource/Scripts/Modules/Timeline/disco.timelineextensions.js";
+ public const string labellers_js = "~/ClientSource/Scripts/Modules/Timeline/labellers.js";
+ public const string labellers_js_ = "~/ClientSource/Scripts/Modules/Timeline/labellers.js";
+ public const string simile_ajax_bundle_DiscoMod_js = "~/ClientSource/Scripts/Modules/Timeline/simile-ajax-bundle-DiscoMod.js";
+ public const string simile_ajax_bundle_DiscoMod_js_ = "~/ClientSource/Scripts/Modules/Timeline/simile-ajax-bundle-DiscoMod.js";
+ public const string timeline_bundle_js = "~/ClientSource/Scripts/Modules/Timeline/timeline-bundle.js";
+ public const string timeline_bundle_js_ = "~/ClientSource/Scripts/Modules/Timeline/timeline-bundle.js";
+ public const string timeline_js = "~/ClientSource/Scripts/Modules/Timeline/timeline.js";
+ public const string timeline_js_ = "~/ClientSource/Scripts/Modules/Timeline/timeline.js";
+ }
+ }
+ public static partial class tinymce
+ {
+ public static partial class skins
+ {
+ public static partial class lightgray
+ {
+ public static partial class fonts
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static partial class img
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static class Assets
+ {
+ public const string content_inline_min_css = "~/ClientSource/Scripts/Modules/tinymce/skins/lightgray/content.inline.min.css";
+ public const string content_min_css = "~/ClientSource/Scripts/Modules/tinymce/skins/lightgray/content.min.css";
+ public const string skin_ie7_min_css = "~/ClientSource/Scripts/Modules/tinymce/skins/lightgray/skin.ie7.min.css";
+ public const string skin_min_css = "~/ClientSource/Scripts/Modules/tinymce/skins/lightgray/skin.min.css";
+ }
+ }
+ public static class Assets
+ {
+ }
+ }
+ public static partial class themes
+ {
+ public static partial class modern
+ {
+ public static class Assets
+ {
+ public const string theme_js = "~/ClientSource/Scripts/Modules/tinymce/themes/modern/theme.js";
+ public const string theme_min_js = "~/ClientSource/Scripts/Modules/tinymce/themes/modern/theme.min.js";
+ }
+ }
+ public static partial class simple
+ {
+ public static class Assets
+ {
+ public const string theme_js = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/theme.js";
+ public const string theme_js_ = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/theme.js";
+ }
+ }
+ public static class Assets
+ {
+ }
+ }
+ public static class Assets
+ {
+ public const string disco_tinymceextensions_js = "~/ClientSource/Scripts/Modules/tinymce/disco.tinymceextensions.js";
+ public const string disco_tinymceextensions_js_ = "~/ClientSource/Scripts/Modules/tinymce/disco.tinymceextensions.js";
+ public const string jquery_tinymce_min_js = "~/ClientSource/Scripts/Modules/tinymce/jquery.tinymce.min.js";
+ public const string tinymce_js = "~/ClientSource/Scripts/Modules/tinymce/tinymce.js";
+ public const string tinymce_min_js = "~/ClientSource/Scripts/Modules/tinymce/tinymce.min.js";
+ }
+ }
+ public static class Assets
+ {
+ public const string Disco_AjaxHelperIcons_js = "~/ClientSource/Scripts/Modules/Disco-AjaxHelperIcons.js";
+ public const string Disco_AjaxHelperIcons_js_ = "~/ClientSource/Scripts/Modules/Disco-AjaxHelperIcons.js";
+ public const string Disco_AttachmentUploader_js = "~/ClientSource/Scripts/Modules/Disco-AttachmentUploader.js";
+ public const string Disco_AttachmentUploader_js_ = "~/ClientSource/Scripts/Modules/Disco-AttachmentUploader.js";
+ public const string Disco_CreateJob_js = "~/ClientSource/Scripts/Modules/Disco-CreateJob.js";
+ public const string Disco_CreateJob_js_ = "~/ClientSource/Scripts/Modules/Disco-CreateJob.js";
+ public const string Disco_DataTableHelpers_js = "~/ClientSource/Scripts/Modules/Disco-DataTableHelpers.js";
+ public const string Disco_DataTableHelpers_js_ = "~/ClientSource/Scripts/Modules/Disco-DataTableHelpers.js";
+ public const string Disco_DocumentBulkGenerate_js = "~/ClientSource/Scripts/Modules/Disco-DocumentBulkGenerate.js";
+ public const string Disco_DocumentGenerator_js = "~/ClientSource/Scripts/Modules/Disco-DocumentGenerator.js";
+ public const string Disco_DocumentGenerator_js_ = "~/ClientSource/Scripts/Modules/Disco-DocumentGenerator.js";
+ public const string Disco_ExpressionEditor_js = "~/ClientSource/Scripts/Modules/Disco-ExpressionEditor.js";
+ public const string Disco_ExpressionEditor_js_ = "~/ClientSource/Scripts/Modules/Disco-ExpressionEditor.js";
+ public const string Disco_jQueryExtensions_js = "~/ClientSource/Scripts/Modules/Disco-jQueryExtensions.js";
+ public const string Disco_jQueryExtensions_js_ = "~/ClientSource/Scripts/Modules/Disco-jQueryExtensions.js";
+ public const string Disco_PropertyChangeHelpers_js = "~/ClientSource/Scripts/Modules/Disco-PropertyChangeHelpers.js";
+ public const string Disco_PropertyChangeHelpers_js_ = "~/ClientSource/Scripts/Modules/Disco-PropertyChangeHelpers.js";
+ public const string Highcharts_js = "~/ClientSource/Scripts/Modules/Highcharts.js";
+ public const string Highcharts_js_ = "~/ClientSource/Scripts/Modules/Highcharts.js";
+ public const string jQuery_Fancytree_js = "~/ClientSource/Scripts/Modules/jQuery-Fancytree.js";
+ public const string jQuery_Fancytree_js_ = "~/ClientSource/Scripts/Modules/jQuery-Fancytree.js";
+ public const string jQuery_Isotope_js = "~/ClientSource/Scripts/Modules/jQuery-Isotope.js";
+ public const string jQuery_Isotope_js_ = "~/ClientSource/Scripts/Modules/jQuery-Isotope.js";
+ public const string jQuery_NumberFormatter_js = "~/ClientSource/Scripts/Modules/jQuery-NumberFormatter.js";
+ public const string jQuery_NumberFormatter_js_ = "~/ClientSource/Scripts/Modules/jQuery-NumberFormatter.js";
+ public const string jQuery_SignalR_js = "~/ClientSource/Scripts/Modules/jQuery-SignalR.js";
+ public const string jQuery_SignalR_js_ = "~/ClientSource/Scripts/Modules/jQuery-SignalR.js";
+ public const string jQueryUI_DynaTree_js = "~/ClientSource/Scripts/Modules/jQueryUI-DynaTree.js";
+ public const string jQueryUI_DynaTree_js_ = "~/ClientSource/Scripts/Modules/jQueryUI-DynaTree.js";
+ public const string jQueryUI_TimePicker_js = "~/ClientSource/Scripts/Modules/jQueryUI-TimePicker.js";
+ public const string jQueryUI_TimePicker_js_ = "~/ClientSource/Scripts/Modules/jQueryUI-TimePicker.js";
+ public const string Knockout_js = "~/ClientSource/Scripts/Modules/Knockout.js";
+ public const string Knockout_js_ = "~/ClientSource/Scripts/Modules/Knockout.js";
+ public const string Shadowbox_js = "~/ClientSource/Scripts/Modules/Shadowbox.js";
+ public const string Shadowbox_js_ = "~/ClientSource/Scripts/Modules/Shadowbox.js";
+ public const string Timeline_js = "~/ClientSource/Scripts/Modules/Timeline.js";
+ public const string Timeline_js_ = "~/ClientSource/Scripts/Modules/Timeline.js";
+ public const string tinymce_js = "~/ClientSource/Scripts/Modules/tinymce.js";
+ public const string tinymce_js_ = "~/ClientSource/Scripts/Modules/tinymce.js";
+ }
+ }
+ public static class Assets
+ {
+ public const string Core_js = "~/ClientSource/Scripts/Core.js";
+ public const string Core_js_ = "~/ClientSource/Scripts/Core.js";
+ }
+ }
+ public static partial class Style
+ {
+ public static partial class Credits
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static partial class Fancytree
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static partial class FontAwesome
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static partial class Images
+ {
+ public static partial class Actions
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static partial class AttachmentTypes
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static partial class DeviceTypes
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static partial class Status
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static class Assets
+ {
+ }
+ }
+ public static partial class jQueryUI
+ {
+ public static partial class dynatree
+ {
+ public static class Assets
+ {
+ public const string ui_dynatree_css = "~/ClientSource/Style/jQueryUI/dynatree/ui.dynatree.css";
+ }
+ }
+ public static partial class images
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static class Assets
+ {
+ }
+ }
+ public static partial class Public
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static partial class Shadowbox
+ {
+ public static class Assets
+ {
+ public const string shadowbox_css = "~/ClientSource/Style/Shadowbox/shadowbox.css";
+ }
+ }
+ public static partial class Timeline
+ {
+ public static partial class images
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static class Assets
+ {
+ public const string graphics_css = "~/ClientSource/Style/Timeline/graphics.css";
+ public const string timeline_bundle_css = "~/ClientSource/Style/Timeline/timeline-bundle.css";
+ }
+ }
+ public static partial class tinymce
+ {
+ public static partial class img
+ {
+ public static class Assets
+ {
+ }
+ }
+ public static class Assets
+ {
+ }
+ }
+ public static class Assets
+ {
+ public const string ExpressionEditor_css = "~/ClientSource/Style/ExpressionEditor.css";
+ public const string IsotopeStyles_css = "~/ClientSource/Style/IsotopeStyles.css";
+ public const string Shadowbox_min_css = "~/ClientSource/Style/Shadowbox.min.css";
+ public const string Timeline_min_css = "~/ClientSource/Style/Timeline.min.css";
+ }
+ }
+ public static class Assets
+ {
+ }
+ }
+ public static partial class ClientBin
+ {
+ public static class Assets
+ {
+ }
+ }
}
}
@@ -873,6 +1355,6 @@ internal static class T4MVCHelpers {
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
diff --git a/Disco.Web/Extensions/T4MVC/T4MVC.tt b/Disco.Web/Extensions/T4MVC/T4MVC.tt
index b4eb33ba..a634c4e2 100644
--- a/Disco.Web/Extensions/T4MVC/T4MVC.tt
+++ b/Disco.Web/Extensions/T4MVC/T4MVC.tt
@@ -1,10 +1,10 @@
<#
/*
-T4MVC Version 3.9.1
-Find latest version and documentation at http://mvccontrib.codeplex.com/wikipage?title=T4MVC
-Discuss on StackOverflow or on Codeplex (https://t4mvc.codeplex.com/discussions)
+T4MVC Version 3.17.5
+Find latest version and documentation at https://github.com/T4MVC/T4MVC/wiki/Documentation
+Discuss on StackOverflow or on GitHub (https://github.com/T4MVC/T4MVC/issues)
-T4MVC is part of the MvcContrib project, but in a different Codeplex location (http://t4mvc.codeplex.com)
+T4MVC is part of the MvcContrib project, but in a different GitHub site (https://github.com/T4MVC/T4MVC)
Maintained by David Ebbo, with much feedback from the MVC community (thanks all!)
david.ebbo@microsoft.com
http://twitter.com/davidebbo
@@ -12,14 +12,11 @@ http://blog.davidebbo.com/ (previously: http://blogs.msdn.com/davidebb)
Related blog posts: http://blogs.msdn.com/davidebb/archive/tags/T4MVC/default.aspx
-Please use in accordance to the MvcContrib license (http://mvccontrib.codeplex.com/license)
+Please use in accordance to the license (https://github.com/T4MVC/T4MVC/blob/master/License.txt)
*/
#>
<#@ template language="C#" debug="true" hostspecific="true" #>
<#@ assembly name="System.Core" #>
-<#@ assembly name="Microsoft.VisualStudio.Shell.Interop" #>
-<#@ assembly name="EnvDTE" #>
-<#@ assembly name="EnvDTE80" #>
<#@ assembly name="VSLangProj" #>
<#@ assembly name="System.Xml" #>
<#@ assembly name="System.Xml.Linq" #>
@@ -44,8 +41,10 @@ Please use in accordance to the MvcContrib license (http://mvccontrib.codeplex.c
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
-// Make sure the compiler doesn't complain about missing Xml comments
-#pragma warning disable 1591
+// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
+// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
+// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
+#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -134,17 +133,33 @@ internal partial class T4MVC_<#=resultType.UniqueName #> : <#=resultType.FullNam
namespace <#=settings.LinksNamespace #>
{
<#
-foreach (string folder in settings.StaticFilesFolders.Concat(GetStaticFilesViewFolders())) {
+var inAreas = Areas
+ .Where(a => !string.IsNullOrEmpty(a.Name))
+ .SelectMany(a => settings.StaticFilesFolders.Select(b => settings.AreasFolder + "\\" + a.Name + "\\" + b));
+
+foreach (string folder in settings.StaticFilesFolders
+ .Concat(GetStaticFilesViewFolders())
+ .Concat(inAreas)
+ ) {
ProcessStaticFiles(Project, folder);
}
+
+PushIndent(" ");
+#>
+
+[<#= GeneratedCode #>, DebuggerNonUserCode]
+public static partial class Bundles
+{
+<#
+ foreach (string folder in settings.StaticFilesFolders
+ .Concat(GetStaticFilesViewFolders())
+ .Concat(inAreas)
+ ) {
+ ProcessBundles(Project, folder);
+ }
+
+ PopIndent();
#>
- [<#= GeneratedCode #>, DebuggerNonUserCode]
- public static partial class Bundles
- {
- [<#= GeneratedCode #>, DebuggerNonUserCode]
- public static partial class Scripts {}
- [<#= GeneratedCode #>, DebuggerNonUserCode]
- public static partial class Styles {}
}
}
@@ -220,9 +235,9 @@ namespace <#=controller.Namespace #>
[<#= GeneratedCode #>, DebuggerNonUserCode]
public virtual <#=method.ReturnTypeFullName #> <#=method.Name #>()
{
-<#if (method.ReturnTypeFullName == "System.Threading.Tasks.Task") { #>
+<#if (method.IsTaskBased) { #>
var callInfo = new T4MVC_<#=method.ReturnTypeUniqueName #>(Area, Name, ActionNames.<#=method.ActionName #><# if (method.ActionUrlHttps) {#>, "https"<#}#>);
- return System.Threading.Tasks.Task.FromResult(callInfo as ActionResult);
+ return System.Threading.Tasks.Task.FromResult(callInfo as <#=method.TaskActionTypeFullName #>);
<#} else { #>
return new T4MVC_<#=method.ReturnTypeUniqueName #>(Area, Name, ActionNames.<#=method.ActionName #><# if (method.ActionUrlHttps) {#>, "https"<#}#>);
<#} #>
@@ -247,8 +262,8 @@ namespace <#=controller.Namespace #>
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, <#=p.RouteNameExpression #>, <#=p.Name #>);
<#} #>
<#}#>
-<#if (method.ReturnTypeFullName == "System.Threading.Tasks.Task") { #>
- return System.Threading.Tasks.Task.FromResult(callInfo as ActionResult);
+<#if (method.IsTaskBased) { #>
+ return System.Threading.Tasks.Task.FromResult(callInfo as <#=method.TaskActionTypeFullName #>);
<#} else { #>
return callInfo;
<#} #>
@@ -263,7 +278,7 @@ namespace <#=controller.Namespace #>
public readonly string Name = "<#=ProcessAreaOrControllerName(controller.Name) #>";
[<#= GeneratedCode #>]
public const string NameConst = "<#=ProcessAreaOrControllerName(controller.Name) #>";
-
+ [<#= GeneratedCode #>]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[<#= GeneratedCode #>, DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -358,8 +373,8 @@ foreach (var group in controller.UniqueParameterNamesGroupedByActionName) if (gr
<#} #>
<#}#>
<#=method.Name #>Override(callInfo<#if (method.Parameters.Count > 0) { #><#foreach (var p in method.Parameters) { #>, <#=p.Name #><#}}#>);
-<#if (method.ReturnTypeFullName == "System.Threading.Tasks.Task") { #>
- return System.Threading.Tasks.Task.FromResult(callInfo as ActionResult);
+<#if (method.IsTaskBased) { #>
+ return System.Threading.Tasks.Task.FromResult(callInfo as <#=method.TaskActionTypeFullName #>);
<#} else { #>
return callInfo;
<#} #>
@@ -410,7 +425,7 @@ namespace System.Web.Mvc {
<#manager.StartFooter(); #>
#endregion T4MVC
-#pragma warning restore 1591
+#pragma warning restore 1591, 3008, 3009, 0108, 0114
<#manager.EndBlock(); #>
<#settings.SaveChanges(manager); #>
<#manager.Process(settings.SplitIntoMultipleFiles); #>
@@ -434,6 +449,39 @@ static string GeneratedCode = @"GeneratedCode(""T4MVC"", ""2.0"")";
static Microsoft.CSharp.CSharpCodeProvider codeProvider = new Microsoft.CSharp.CSharpCodeProvider();
List virtualPathesForStaticFiles = new List();
+static CodeTypeRef TryCreateActionResultDerivedCodeTypeRef(CodeType codeType) {
+ return codeType.get_IsDerivedFrom("System.Web.Mvc.ActionResult")
+ ? Project.CodeModel.CreateCodeTypeRef(codeType.FullName)
+ : null;
+}
+
+enum ActionTypeMatch {
+ None = 0,
+ Direct = 1,
+ TaskBased = 2
+}
+
+static ActionTypeMatch TryGetActionType(CodeType codeType, out CodeTypeRef actionTypeRef) {
+ // check for task based
+ Match match = Regex.Match(codeType.FullName, "^System.Threading.Tasks.Task<(.+)>$");
+ if (match == null || !match.Success) {
+ actionTypeRef = TryCreateActionResultDerivedCodeTypeRef(codeType);
+ return actionTypeRef != null
+ ? ActionTypeMatch.Direct
+ : ActionTypeMatch.None;
+ } else {
+ CodeTypeRef typeRef = Project.CodeModel.CreateCodeTypeRef(match.Groups[1].Value);
+ if (typeRef.CodeType.get_IsDerivedFrom("System.Web.Mvc.ActionResult"))
+ actionTypeRef = typeRef;
+ else
+ actionTypeRef = null;
+ return actionTypeRef != null
+ ? ActionTypeMatch.TaskBased
+ : ActionTypeMatch.None;
+ }
+}
+
+
IEnumerable GetControllers()
{
var controllers = new List();
@@ -514,7 +562,7 @@ void PrepareDataToRender(TextTransformation tt)
var serviceProvider = Host as IServiceProvider;
if (serviceProvider != null)
{
- Dte = (EnvDTE.DTE)serviceProvider.GetService(typeof(EnvDTE.DTE));
+ Dte = (EnvDTE.DTE)serviceProvider.GetCOMService(typeof(EnvDTE.DTE));
}
// Fail if we couldn't get the DTE. This can happen when trying to run in TextTransform.exe
@@ -693,8 +741,8 @@ void ProcessControllerType(CodeClass2 type, AreaInfo area, DateTime controllerLa
if (!IsController(type))
return;
- // Don't process generic classes (their concrete derived classes will be processed)
- if (type.IsGeneric)
+ // Only process "processable" controllers
+ if (!IsProcessableController(type))
return;
//Ignore references to controllers we create
@@ -744,7 +792,11 @@ void ProcessControllerType(CodeClass2 type, AreaInfo area, DateTime controllerLa
if (type.IsAbstract)
{
// If it's abstract, set a flag and don't process action methods (derived classes will)
- target.IsAbstract = true;
+ if (!HasControllerAttribute(type))
+ target.IsAbstract = true;
+ // ...unless it has the [T4MVC] attribute, then process all the action methods in the controller
+ else
+ ProcessControllerActionMethods(target, type);
}
else
{
@@ -851,9 +903,12 @@ void ProcessControllerActionMethods(ControllerInfo controllerInfo, CodeClass2 cu
continue;
// We only support action methods that return an ActionResult and Task derived types
- if (!method.Type.CodeType.get_IsDerivedFrom("System.Web.Mvc.ActionResult") && method.Type.CodeType.FullName !="System.Threading.Tasks.Task")
+ CodeTypeRef methodType;
+ ActionTypeMatch match = TryGetActionType(method.Type.CodeType, out methodType);
+ if (match == ActionTypeMatch.None)
{
- Warning(String.Format("{0} doesn't support {1}.{2} because it doesn't return a supported {3} type", T4FileName, type.Name, method.Name, method.Type.CodeType.FullName));
+ // Comment out warning, as it's more annoying than helpful
+ //Warning(String.Format("{0} doesn't support {1}.{2} because it doesn't return a supported {3} type", T4FileName, type.Name, method.Name, method.Type.CodeType.FullName));
continue;
}
@@ -862,10 +917,6 @@ void ProcessControllerActionMethods(ControllerInfo controllerInfo, CodeClass2 cu
if (isAsyncController && method.Name.EndsWith("Completed", StringComparison.OrdinalIgnoreCase))
continue;
- var methodType = method.Type;
- if(method.Type.CodeType.FullName == "System.Threading.Tasks.Task")
- methodType = Project.CodeModel.CreateCodeTypeRef("System.Web.Mvc.ActionResult");
-
// If we haven't yet seen this return type, keep track of it
var resTypeInfo2 = new ResultTypeInfo(methodType);
if (!ResultTypes.ContainsKey(resTypeInfo2.FullName))
@@ -890,7 +941,7 @@ void ProcessControllerActionMethods(ControllerInfo controllerInfo, CodeClass2 cu
}
// Collect misc info about the action method and add it to the collection
- controllerInfo.ActionMethods.Add(new ActionMethodInfo(method, current));
+ controllerInfo.ActionMethods.Add(new ActionMethodInfo(method, current, null, match == ActionTypeMatch.TaskBased ? methodType : null));
}
}
}
@@ -916,7 +967,7 @@ void ProcessAllViews(ProjectItem viewsProjectItem, AreaInfo area)
Area = area,
NotRealController = true,
Namespace = MakeClassName(settings.T4MVCNamespace, area.Name),
- ClassName = item.Name + ControllerSuffix
+ ClassName = Sanitize(item.Name) + ControllerSuffix
};
area.Controllers.Add(controller);
}
@@ -1051,6 +1102,160 @@ IEnumerable GetStaticFilesViewFolders()
}
}
+// Start of Bundles
+
+void ProcessBundles(Project project, string folder)
+{
+ ProjectItem folderProjectItem = GetProjectItem(project, folder);
+ if (folderProjectItem != null)
+ {
+ var rootPath = "~";
+ if (folder.Contains("\\"))
+ {
+ rootPath += "/" + folder.Replace("\\", "/");
+ rootPath = rootPath.Substring(0, rootPath.LastIndexOf("/"));
+ }
+ ProcessBundleFilesRecursive(folderProjectItem, rootPath);
+ }
+}
+
+void ProcessBundleFilesRecursive(ProjectItem projectItem, string path)
+{
+ int nestedLevel = BuildBundleClassStructureForProvidedPath(path);
+ ProcessBundleFilesRecursive(projectItem, path, new HashSet());
+ for(int i = 0; i < nestedLevel; ++i)
+ {
+#>
+}
+<#+
+ PopIndent();
+ }
+}
+
+void ProcessBundleFilesRecursive(ProjectItem projectItem, string path, HashSet nameSet)
+{
+ // The passed in HashSet is to guarantee uniqueness with our parent and siblings
+ string name = SanitizeWithNoConflicts(projectItem.Name, nameSet);
+
+ // This HashSet is to guarantee uniqueness of our direct children
+ // We add our own name to it to avoid class name conflicts (http://mvccontrib.codeplex.com/workitem/7153)
+ var childrenNameSet = new HashSet(StringComparer.OrdinalIgnoreCase);
+
+ childrenNameSet.Add(settings.AssetsNamespace);
+ childrenNameSet.Add(name);
+
+ var files = new List();
+
+ if (IsFolder(projectItem))
+ {
+ PushIndent(" ");
+#>
+public static partial class <#=EscapeID(name)#>
+{
+<#+
+ // Recurse into all the items in the folder
+ foreach (ProjectItem item in projectItem.ProjectItems)
+ {
+ if (IsFolder(item))
+ {
+ ProcessBundleFilesRecursive(
+ item,
+ path + "/" + projectItem.Name,
+ childrenNameSet);
+ }
+
+ if (IsFile(item))
+ {
+ files.Add(item);
+ }
+ }
+
+ BuildBundleConstants(files, path + "/" + projectItem.Name, childrenNameSet);
+#>
+}
+<#+
+ PopIndent();
+ }
+}
+
+void BuildBundleConstants(List projectItems, string path, HashSet childrenNameSet)
+{
+ PushIndent(" ");
+#>
+public static class <#= settings.AssetsNamespace #>
+{
+<#+
+ PushIndent(" ");
+ foreach (var projectItem in projectItems)
+ {
+ // The passed in HashSet is to guarantee uniqueness with our parent and siblings
+ string name = SanitizeWithNoConflicts(projectItem.Name, childrenNameSet);
+
+ if (!settings.ExcludedStaticFileExtensions.Any(extension => projectItem.Name.EndsWith(extension, StringComparison.OrdinalIgnoreCase))) {
+ var bundleAssetPath = String.Format("{0}/{1}", path, projectItem.Name);
+
+ // if it's a non-minified javascript file
+ if (projectItem.Name.EndsWith(".js") && !projectItem.Name.Contains("-vsdoc"))
+ {
+#>
+public const string <#=name#> = "<#=bundleAssetPath#>";
+<#+
+ }
+ else if (projectItem.Name.EndsWith(".css"))
+ {
+#>
+public const string <#=name#> = "<#=bundleAssetPath#>";
+<#+
+ }
+ }
+
+ // Non folder items may also have children (virtual folders, Class.cs -> Class.Designer.cs, template output)
+ // Just register them on the same path as their parent item
+ foreach (ProjectItem item in projectItem.ProjectItems)
+ {
+ ProcessBundleFilesRecursive(item, path, childrenNameSet);
+ }
+ }
+ PopIndent();
+#>
+}
+<#+
+ PopIndent();
+}
+
+int BuildBundleClassStructureForProvidedPath(string path)
+{
+ var folders = path.Split(new char[] {'/', '~'}, StringSplitOptions.RemoveEmptyEntries);
+ var parentFolder = String.Empty;
+ var currentPath = "~";
+ foreach(var folder in folders)
+ {
+ currentPath += "/" + folder;
+ string className = EscapeID(Sanitize(folder));
+ // If the folder name is the same as the parent, add a modifier to avoid class name conflicts
+ // http://mvccontrib.codeplex.com/workitem/7153
+ if (parentFolder == folder)
+ {
+ className += "_";
+ }
+
+ if(!virtualPathesForStaticFiles.Contains(currentPath))
+ {
+ virtualPathesForStaticFiles.Add(currentPath);
+ }
+
+ PushIndent(" ");
+#>
+public static partial class <#=className #>
+{
+<#+
+ parentFolder = folder;
+ }
+ return folders.Length;
+}
+
+// End of Bundles
+
void ProcessStaticFiles(Project project, string folder)
{
ProjectItem folderProjectItem = GetProjectItem(project, folder);
@@ -1092,9 +1297,9 @@ void ProcessStaticFilesRecursive(ProjectItem projectItem, string path, HashSet
[<#= GeneratedCode #>, DebuggerNonUserCode]
public static class <#=EscapeID(name)#> {
- private const string URLPATH = "<#=path#>/<#=projectItem.Name#>";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "<#=path#>/<#=projectItem.Name#>";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
<#+
PushIndent(" ");
@@ -1115,36 +1320,38 @@ PopIndent();
}
else { #>
<#+
+ var mapping = new Dictionary>();
+ mapping.Add(".ts", Tuple.Create(".js", ".min.js"));
+ mapping.Add(".tsx", Tuple.Create(".js", ".min.js"));
+ mapping.Add(".js", Tuple.Create(".js", ".min.js"));
+ mapping.Add(".css", Tuple.Create(".css", ".min.css"));
+
if (!settings.ExcludedStaticFileExtensions.Any(extension => projectItem.Name.EndsWith(extension, StringComparison.OrdinalIgnoreCase))) {
- // if it's a Typescript file
- if (projectItem.Name.EndsWith(".ts")) {
- string tsJavascriptName = projectItem.Name.Replace(".ts", ".js");
- string minifiedName = projectItem.Name.Replace(".ts", ".min.js");
+
+ var extension = Path.GetExtension(projectItem.Name);
+
+ if(mapping.ContainsKey(extension))
+ {
+ var map = mapping[extension];
+
+ if (!projectItem.Name.EndsWith(map.Item2)) {
+ string nonMinifiedName = projectItem.Name.Replace(extension, map.Item1);
+ string minifiedName = projectItem.Name.Replace(extension, map.Item2);
if (AddTimestampToStaticLink(projectItem)) { #>
- public static readonly string <#=name#> = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/<#=minifiedName#>") ? Url("<#=minifiedName#>")+"?"+T4MVCHelpers.TimestampString(URLPATH + "/<#=minifiedName#>") : Url("<#=tsJavascriptName#>")+"?"+T4MVCHelpers.TimestampString(URLPATH + "/<#=tsJavascriptName#>");
+ public static readonly string <#=name#> = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/<#=minifiedName#>") ? Url("<#=minifiedName#>")+"?"+T4MVCHelpers.TimestampString(UrlPath + "/<#=minifiedName#>") : Url("<#=nonMinifiedName#>")+"?"+T4MVCHelpers.TimestampString(UrlPath + "/<#=nonMinifiedName#>");
<#+} else {#>
- public static readonly string <#=name#> = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/<#=minifiedName#>") ? Url("<#=minifiedName#>") : Url("<#=tsJavascriptName#>");
+ public static readonly string <#=name#> = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(UrlPath + "/<#=minifiedName#>") ? Url("<#=minifiedName#>") : Url("<#=nonMinifiedName#>");
<#+} #>
<#+}
- // if it's a non-minified javascript file
- else if (projectItem.Name.EndsWith(".js") && !projectItem.Name.EndsWith(".min.js")) {
- string minifiedName = projectItem.Name.Replace(".js", ".min.js");
- if (AddTimestampToStaticLink(projectItem)) { #>
- public static readonly string <#=name#> = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/<#=minifiedName#>") ? Url("<#=minifiedName#>")+"?"+T4MVCHelpers.TimestampString(URLPATH + "/<#=minifiedName#>") : Url("<#=projectItem.Name#>")+"?"+T4MVCHelpers.TimestampString(URLPATH + "/<#=projectItem.Name#>");
- <#+} else {#>
- public static readonly string <#=name#> = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/<#=minifiedName#>") ? Url("<#=minifiedName#>") : Url("<#=projectItem.Name#>");
-<#+} #>
+else if (AddTimestampToStaticLink(projectItem)) { #>
+ public static readonly string <#=name#> = Url("<#=projectItem.Name#>")+"?"+T4MVCHelpers.TimestampString(UrlPath + "/<#=projectItem.Name#>");
<#+}
- else if (projectItem.Name.EndsWith(".css") && !projectItem.Name.EndsWith(".min.css")) {
- string minifiedName = projectItem.Name.Replace(".css", ".min.css");
- if (AddTimestampToStaticLink(projectItem)) { #>
- public static readonly string <#=name#> = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/<#=minifiedName#>") ? Url("<#=minifiedName#>")+"?"+T4MVCHelpers.TimestampString(URLPATH + "/<#=minifiedName#>") : Url("<#=projectItem.Name#>")+"?"+T4MVCHelpers.TimestampString(URLPATH + "/<#=projectItem.Name#>");
- <#+} else {#>
- public static readonly string <#=name#> = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/<#=minifiedName#>") ? Url("<#=minifiedName#>") : Url("<#=projectItem.Name#>");
- <#+} #>
+ else { #>
+ public static readonly string <#=name#> = Url("<#=projectItem.Name#>");
<#+}
+ }
else if (AddTimestampToStaticLink(projectItem)) { #>
- public static readonly string <#=name#> = Url("<#=projectItem.Name#>")+"?"+T4MVCHelpers.TimestampString(URLPATH + "/<#=projectItem.Name#>");
+ public static readonly string <#=name#> = Url("<#=projectItem.Name#>")+"?"+T4MVCHelpers.TimestampString(UrlPath + "/<#=projectItem.Name#>");
<#+}
else { #>
public static readonly string <#=name#> = Url("<#=projectItem.Name#>");
@@ -1182,9 +1389,9 @@ int BuildClassStructureForProvidedPath(string path)
[<#= GeneratedCode #>, DebuggerNonUserCode]
public static partial class <#=className #> {
- private const string URLPATH = "<#=currentPath#>";
- public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); }
- public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); }
+ public const string UrlPath = "<#=currentPath#>";
+ public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
+ public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
<#+ } else {
#>
@@ -1209,15 +1416,18 @@ ProjectItem GetProjectItem(ProjectItems items, string subPath)
{
try
{
- // ProjectItems.Item() throws when it doesn't exist, so catch the exception
+ // ProjectItems.Item() sometimes throws when it doesn't exist, so catch the exception
// to return null instead.
current = items.Item(name);
+
+ if (current == null) return null;
}
catch
{
// If any chunk couldn't be found, fail
return null;
}
+
items = current.ProjectItems;
}
@@ -1226,9 +1436,6 @@ ProjectItem GetProjectItem(ProjectItems items, string subPath)
static bool IsController(CodeClass2 type)
{
- // Ignore any class which name doesn't end with "Controller"
- if (!type.FullName.EndsWith(ControllerSuffix)) return false;
-
for (; type.FullName != "System.Web.Mvc.Controller"; type = (CodeClass2)type.Bases.Item(1))
{
if (type.Bases.Count == 0)
@@ -1247,13 +1454,58 @@ static bool IsAsyncController(CodeClass2 type)
return true;
}
+static bool IsProcessableController(CodeClass2 type)
+{
+ // try get the [T4MVC] attribute
+ var attribute = GetAttribute(type.Attributes, "System.Web.Mvc.T4MVCAttribute");
+
+ // if [T4MVC(false)] was specified, then ignore this controller
+ if ((attribute != null) && (attribute.Value == "false")) return false;
+
+ // if [T4MVC] or [T4MVC(true)] was specified, then process this controller
+ if ((attribute != null) && (attribute.Value == "" || attribute.Value == "true")) return true;
+
+ // ...else attribute was not specified
+
+ // ignore any class whose name doesn't end with "Controller"
+ if (!type.FullName.EndsWith(ControllerSuffix)) return false;
+
+ // don't process a generic controller (its concrete derived classes will be processed)
+ if (type.IsGeneric)
+ return false;
+
+ return true;
+}
+
+static bool HasControllerAttribute(CodeClass2 type)
+{
+ // try get the [T4MVC] attribute
+ var attribute = GetAttribute(type.Attributes, "System.Web.Mvc.T4MVCAttribute");
+
+ // see whether [T4MVC] or [T4MVC(true)] were specified
+ if (attribute != null)
+ if (attribute.Value == "" || attribute.Value == "true")
+ return true;
+
+ return false;
+}
+
static string GetVirtualPath(ProjectItem item)
{
string fileFullPath = item.get_FileNames(0);
- // Ignore files that are not under the app root (e.g. they could be linked files)
+ // update full path for files that are not under the app root (e.g. they could be linked files)
if (!fileFullPath.StartsWith(AppRoot, StringComparison.OrdinalIgnoreCase))
- return null;
+ {
+ try
+ {
+ fileFullPath = ((ProjectItem)item.Collection.Parent).Properties.Item("FullPath").Value.ToString() + item.Name;
+ }
+ catch
+ {
+ return null;
+ }
+ }
// Make a virtual path from the physical path
return "~/" + fileFullPath.Substring(AppRoot.Length).Replace('\\', '/');
@@ -1269,21 +1521,21 @@ static IEnumerable GetMethods(CodeClass2 codeClass)
{
// Only look at regular method (e.g. ignore things like contructors)
return codeClass.Members.OfType()
- .Where(f => f.FunctionKind == vsCMFunction.vsCMFunctionFunction);
+ .Where(f => TestFunctionKind(f, vsCMFunction.vsCMFunctionFunction));
}
// Check if the class has any explicit constructor
static bool HasExplicitConstructor(CodeClass2 codeClass)
{
return codeClass.Members.OfType().Any(
- f => !f.IsShared && f.FunctionKind == vsCMFunction.vsCMFunctionConstructor);
+ f => !f.IsShared && TestFunctionKind(f, vsCMFunction.vsCMFunctionConstructor));
}
// Check if the class has a default (i.e. no params) constructor
static bool HasExplicitDefaultConstructor(CodeClass2 codeClass)
{
return codeClass.Members.OfType().Any(
- f => !f.IsShared && f.FunctionKind == vsCMFunction.vsCMFunctionConstructor && f.Parameters.Count == 0);
+ f => !f.IsShared && TestFunctionKind(f, vsCMFunction.vsCMFunctionConstructor) && f.Parameters.Count == 0);
}
// Find a method with a given name
@@ -1327,9 +1579,22 @@ static CodeAttribute2 GetAttribute(CodeClass2 type, string attributeType)
return null;
}
+static bool TestFunctionKind(CodeFunction2 f, vsCMFunction kind)
+{
+ try
+ {
+ return f.FunctionKind == kind;
+ }
+ catch
+ {
+ // FunctionKind blows up in some cases. Just ignore.
+ return false;
+ }
+}
+
static string UniqueFullName(CodeTypeRef codeType)
{
- return UniqueFullName(codeType.CodeType);
+ return UniqueFullName(codeType.CodeType);
}
static string UniqueFullName(CodeType codeType)
@@ -1372,6 +1637,12 @@ static bool IsFeatureFolderArea(string areaName, ProjectItem areaFolder)
}
}
+static bool IsFile(ProjectItem item)
+{
+ return (item.Kind == EnvDTE.Constants.vsProjectItemKindPhysicalFile);
+}
+
+
static string MakeClassName(string ns, string classname)
{
return String.IsNullOrEmpty(ns) ? classname :
@@ -1414,6 +1685,23 @@ static string EscapeID(string id)
return codeProvider.CreateEscapedIdentifier(id);
}
+static string SanitizeDefaultValue(string defaultValue, string type)
+{
+ // Normalize default values that are
+ // 1. default(T) for some type T
+ // 2. The parameterless constructor of a value type
+ if (Regex.IsMatch(defaultValue, @"^\s*default\s*\(.*?\)"))
+ {
+ defaultValue = string.Format("default({0})", type);
+ }
+ else if(Regex.IsMatch(defaultValue, @"^\s*new\s*.*?\s*\(\s*\)"))
+ {
+ defaultValue = string.Format("new {0}()", type);
+ }
+
+ return defaultValue;
+}
+
// Data structure to collect data about an area
class AreaInfo
{
@@ -1507,8 +1795,13 @@ class ControllerInfo
{
get
{
- // Trim the Controller suffix
- return ClassName.Substring(0, ClassName.Length - ControllerSuffix.Length);
+ // remove controller suffix (if it exists)
+ string className = ClassName;
+ if (ClassName.EndsWith(ControllerSuffix)) {
+ className = className.Substring(0, ClassName.Length - ControllerSuffix.Length);
+ }
+
+ return className;
}
}
@@ -1687,7 +1980,7 @@ class ViewsFolderInfo
string virtualPath = GetVirtualPath(item);
if (virtualPath != null)
{
- Views[viewFieldName] = useNonQualifiedViewName ? Path.GetFileNameWithoutExtension(viewName) : virtualPath;
+ Views[viewFieldName] = useNonQualifiedViewName ? Path.GetFileNameWithoutExtension(viewName) : virtualPath;
}
}
@@ -1702,9 +1995,12 @@ class FunctionInfo
{
protected CodeFunction2 _method;
private string _signature;
+ protected CodeTypeRef _taskActionType;
- public FunctionInfo(CodeFunction2 method)
+ public FunctionInfo(CodeFunction2 method, CodeTypeRef taskActionType = null)
{
+ _taskActionType = taskActionType;
+
Parameters = new List();
// Can be null when an custom ActionResult has no ctor
@@ -1759,12 +2055,12 @@ class FunctionInfo
public string Name { get { return _method.Name; } }
public string ReturnType { get { return ReturnTypeImpl.AsString; } }
public string ReturnTypeFullName { get { return ReturnTypeImpl.AsFullName; } }
- public string ReturnTypeUniqueName { get { return IsTaskBased ? "System_Web_Mvc_ActionResult" : UniqueFullName(ReturnTypeImpl); } }
+ public string ReturnTypeUniqueName { get { return IsTaskBased ? UniqueFullName(_taskActionType) : UniqueFullName(ReturnTypeImpl); } }
public bool IsPublic { get { return _method.Access == vsCMAccess.vsCMAccessPublic; } }
public List Parameters { get; private set; }
public bool CanBeCalledWithoutParameters { get; private set; }
- private bool IsTaskBased { get {return ReturnTypeImpl.AsFullName == "System.Threading.Tasks.Task"; } }
+ public bool IsTaskBased { get {return _taskActionType != null; } }
// Write out all the parameters as part of a method declaration
public void WriteFormalParameters(bool first, bool includeDefaults = false)
@@ -1827,15 +2123,19 @@ class FunctionInfo
// Data structure to collect data about an action method
class ActionMethodInfo : FunctionInfo
{
- public ActionMethodInfo(CodeFunction2 method, CodeClass2 controller, CodeTypeRef asyncType = null)
- : base(method)
+ public ActionMethodInfo(CodeFunction2 method, CodeClass2 controller, CodeTypeRef asyncType = null, CodeTypeRef taskActionType = null)
+ : base(method, taskActionType)
{
- if(asyncType != null)
- {
- // Remove the Async from the end of the name to match the actual Action routing would use.
- // This also separates the Action Calls from the implementation
- _actionName = method.Name.Remove(method.Name.Length - 5);
- _returnType = asyncType;
+ if (taskActionType != null) {
+ _taskActionType = taskActionType;
+ } else {
+ if(asyncType != null)
+ {
+ // Remove the Async from the end of the name to match the actual Action routing would use.
+ // This also separates the Action Calls from the implementation
+ _actionName = method.Name.Remove(method.Name.Length - 5);
+ _returnType = asyncType;
+ }
}
// Normally, the action name is the method name. But if there is an [ActionName] on
// the method, get the expression from that instead
@@ -1855,7 +2155,15 @@ class ActionMethodInfo : FunctionInfo
string _actionName;
CodeTypeRef _returnType;
- protected override CodeTypeRef ReturnTypeImpl { get { return _returnType ?? base.ReturnTypeImpl; } }
+ protected override CodeTypeRef ReturnTypeImpl {
+ get {
+ if (IsTaskBased)
+ return Project.CodeModel.CreateCodeTypeRef("System.Threading.Tasks.Task<" + _taskActionType.AsFullName + ">");
+ return _returnType ?? base.ReturnTypeImpl;
+ }
+ }
+
+ public string TaskActionTypeFullName { get { return IsTaskBased ? _taskActionType.AsFullName : null; } }
public string ActionName { get { return _actionName ?? base.Name; } }
public string ActionNameValueExpression { get; set; }
@@ -1875,7 +2183,7 @@ class ResultTypeInfo
// Use the constructor with the least number of parameters
var ctor = _codeType.CodeType.Members.OfType()
- .Where(f => f.FunctionKind == vsCMFunction.vsCMFunctionConstructor)
+ .Where(f => TestFunctionKind(f, vsCMFunction.vsCMFunctionConstructor))
.OrderBy(f => f.Parameters.Count)
.FirstOrDefault();
Constructor = new FunctionInfo(ctor);
@@ -1894,7 +2202,12 @@ class ResultTypeInfo
}
}
- private bool IsTaskBased { get {return _codeType.AsFullName == "System.Threading.Tasks.Task"; } }
+ private bool IsTaskBased {
+ get {
+ CodeTypeRef methodType;
+ return TryGetActionType(_codeType.CodeType, out methodType) == ActionTypeMatch.TaskBased;
+ }
+ }
}
class MethodParamInfo
@@ -1936,6 +2249,7 @@ class MvcSettings : XmlSettings
this.SupportAsyncActions = false;
this.UseLowercaseRoutes = false;
this.LinksNamespace = "Links";
+ this.AssetsNamespace = "Assets";
this.AddTimestampToStaticLinks = false;
this.StaticFilesFolders = new XmlStringArray(new string[] {
"Scripts",
@@ -2006,6 +2320,9 @@ class MvcSettings : XmlSettings
[System.ComponentModel.Description("The namespace that the links are generated in (e.g. \"Links\", as in Links.Content.nerd_jpg)")]
public string LinksNamespace { get; set; }
+ [System.ComponentModel.Description("The namespace that raw URLS used for bundles are generated")]
+ public string AssetsNamespace { get; set; }
+
[System.ComponentModel.Description("If true, links to static files include a query string containing the file's last change time.\r\nThis way, when the static file changes, the link changes and guarantees that the client will re-request the resource.\r\ne.g. when true, the link looks like: \"/Content/nerd.jpg?2009-09-04T12:25:48\"\r\nSee http://mvccontrib.codeplex.com/workitem/7163 for potential issues with this feature")]
public bool AddTimestampToStaticLinks { get; set; }
@@ -2217,7 +2534,7 @@ class XmlStringArray : XmlSettingsBase, IEnumerable
}
}
-/// This is the base class for the standard settings, the main settigns class should inherit from this
+/// This is the base class for the standard settings, the main settings class should inherit from this
/// one since it provides the methods to interact with the T4 system and EnvDTE. Sub-properties can
/// just inherit from XmlSettingsBase.
abstract class XmlSettings : XmlSettingsBase
diff --git a/Disco.Web/Extensions/T4MVC/T4MVC.tt.settings.xml b/Disco.Web/Extensions/T4MVC/T4MVC.tt.settings.xml
index 5d9fa202..2982f610 100644
--- a/Disco.Web/Extensions/T4MVC/T4MVC.tt.settings.xml
+++ b/Disco.Web/Extensions/T4MVC/T4MVC.tt.settings.xml
@@ -46,6 +46,8 @@ This breaks the Go To Definition function for async actions.-->
False
Links
+
+ Assets