From da6d7a338f7c5a50ba1c3c74cee25a1de6dce28a Mon Sep 17 00:00:00 2001 From: Gary Sharp Date: Thu, 7 Feb 2013 18:34:41 +1100 Subject: [PATCH] Update: New Plugin Framework Plugin Framework re-written. Initial commit. --- Disco.BI/Disco.BI.csproj | 463 +- Disco.BI/Properties/AssemblyInfo.cs | 72 +- .../Package Creation/PreparationClient.zip | Bin 418425 -> 418429 bytes Disco.Client/Properties/AssemblyInfo.cs | 72 +- .../Properties/AssemblyInfo.cs | 72 +- .../Configuration/ConfigurationContext.cs | 951 +- Disco.Data/Properties/AssemblyInfo.cs | 72 +- Disco.Models/Properties/AssemblyInfo.cs | 72 +- Disco.Services/Disco.Services.csproj | 375 +- Disco.Services/Plugins/InstallPluginTask.cs | 132 + Disco.Services/Plugins/Plugin.cs | 65 +- Disco.Services/Plugins/PluginFeature.cs | 43 +- .../Plugins/PluginFeatureManifest.cs | 214 +- Disco.Services/Plugins/PluginManifest.cs | 707 +- Disco.Services/Plugins/Plugins.cs | 790 +- Disco.Services/Plugins/PluginsLog.cs | 648 +- Disco.Services/Plugins/UninstallPluginTask.cs | 84 + Disco.Services/Properties/AssemblyInfo.cs | 72 +- Disco.Services/Tasks/ScheduledTask.cs | 216 +- ...itionExtensions.cs => PluginExtensions.cs} | 96 +- .../Disco.Web.Extensions.csproj | 298 +- .../Properties/AssemblyInfo.cs | 72 +- .../Areas/API/Controllers/PluginController.cs | 47 + .../Config/Controllers/PluginsController.cs | 168 +- .../Areas/Config/Views/Plugins/Index.cshtml | 277 +- .../Config/Views/Plugins/Index.generated.cs | 763 +- .../Controllers/InitialConfigController.cs | 614 +- Disco.Web/Disco.Web.csproj | 3647 ++-- Disco.Web/Properties/AssemblyInfo.cs | 70 +- Disco.Web/T4MVC.cs | 17884 ++++++++-------- 30 files changed, 15018 insertions(+), 14038 deletions(-) create mode 100644 Disco.Services/Plugins/InstallPluginTask.cs create mode 100644 Disco.Services/Plugins/UninstallPluginTask.cs rename Disco.Web.Extensions/BIModelExtensions/{DiscoPluginDefinitionExtensions.cs => PluginExtensions.cs} (54%) create mode 100644 Disco.Web/Areas/API/Controllers/PluginController.cs diff --git a/Disco.BI/Disco.BI.csproj b/Disco.BI/Disco.BI.csproj index c1b4af05..bd1e8151 100644 --- a/Disco.BI/Disco.BI.csproj +++ b/Disco.BI/Disco.BI.csproj @@ -1,232 +1,233 @@ - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {095E6F94-3C34-47AE-BB83-46203535E0F6} - Library - Properties - Disco - Disco.BI - v4.5 - 512 - - ..\ - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - ..\Resources\Libraries\LibTiff.NET\BitMiracle.LibTiff.NET.dll - - - ..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll - - - ..\Resources\Libraries\iTextSharp\itextsharp.dll - - - True - ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll - - - False - ..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll - - - ..\Resources\Libraries\Quartz\Quartz.dll - - - False - ..\packages\SignalR.Server.0.5.3\lib\net40\SignalR.dll - - - False - ..\packages\SignalR.Hosting.AspNet.0.5.3\lib\net45\SignalR.Hosting.AspNet.dll - - - ..\packages\SignalR.Hosting.Common.0.5.3\lib\net40\SignalR.Hosting.Common.dll - - - ..\Resources\Libraries\Spring.NET\Spring.Core.dll - - - - - - - - - - - - - - - - - - ..\Resources\Libraries\SharpSSH\Tamir.SharpSSH.dll - - - ..\Resources\Libraries\ZXing\zxing.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - True - Resources.resx - - - - - {85A6BD19-2C64-4746-8F2C-A68A86E8C2D7} - Disco.Data - - - {FBC05512-FCCA-4B16-9E76-8C413C5DE6C9} - Disco.Models - - - {B80A737F-BD6A-4986-9182-DD7B932BD950} - Disco.Services - - - - - - - - - ResXFileCodeGenerator - Resources.Designer.cs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {095E6F94-3C34-47AE-BB83-46203535E0F6} + Library + Properties + Disco + Disco.BI + v4.5 + 512 + + ..\ + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + false + + + + ..\Resources\Libraries\LibTiff.NET\BitMiracle.LibTiff.NET.dll + + + ..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll + + + ..\Resources\Libraries\iTextSharp\itextsharp.dll + + + True + ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll + + + False + ..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll + + + ..\Resources\Libraries\Quartz\Quartz.dll + + + False + ..\packages\SignalR.Server.0.5.3\lib\net40\SignalR.dll + + + False + ..\packages\SignalR.Hosting.AspNet.0.5.3\lib\net45\SignalR.Hosting.AspNet.dll + + + ..\packages\SignalR.Hosting.Common.0.5.3\lib\net40\SignalR.Hosting.Common.dll + + + ..\Resources\Libraries\Spring.NET\Spring.Core.dll + + + + + + + + + + + + + + + + + + ..\Resources\Libraries\SharpSSH\Tamir.SharpSSH.dll + + + ..\Resources\Libraries\ZXing\zxing.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + True + True + Resources.resx + + + + + {85A6BD19-2C64-4746-8F2C-A68A86E8C2D7} + Disco.Data + + + {FBC05512-FCCA-4B16-9E76-8C413C5DE6C9} + Disco.Models + + + {B80A737F-BD6A-4986-9182-DD7B932BD950} + Disco.Services + + + + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Disco.BI/Properties/AssemblyInfo.cs b/Disco.BI/Properties/AssemblyInfo.cs index 038f7cae..95791edc 100644 --- a/Disco.BI/Properties/AssemblyInfo.cs +++ b/Disco.BI/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Disco - Business Intelligence")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Disco")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("01887659-9fd6-4464-8493-cf0506ee2569")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0131.2002")] -[assembly: AssemblyFileVersion("1.2.0131.2002")] +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Disco - Business Intelligence")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Disco")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("01887659-9fd6-4464-8493-cf0506ee2569")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.2.0207.1727")] +[assembly: AssemblyFileVersion("1.2.0207.1727")] diff --git a/Disco.Client/Package Creation/PreparationClient.zip b/Disco.Client/Package Creation/PreparationClient.zip index 8624ec5eb84f3532127b9e1b5df1762d07eafb2f..88a7cb7d84e6608957b6ef622f8141a4a57c73d7 100644 GIT binary patch delta 45975 zcmZU)Wl$YK*ENc}y9Njl+}#7g-6goY93VIh?(PKl5Zv7o+$H$I4(`DnzC5pd_ujfy zJ^f==_o}tm^se1KQ}Z}L{5n94tEvDChX(}(g#_gnBO_tu#GZYagiA|&U{|wmv%2r_ zw7S#@zp5@jPvbbxw_opgsjeQy4wU&0%E=#{uo*Yy zR!10JsRa6>HV0_m;wT;nJ?c&WRvNrixkHk<&oRM+Ee$mtbTLzUR%53)r`b0k&T~)e zRhHjC)(4EH1b+hqQcPm^vW zbCKjMnUV$SRORQ)zM!g1B&)I8@xXxerNf@_sI0t-rFEb6%KP?P(N-ht?#=3Z-+4sv zQ=kro`$>qA|422a_pNEG=;?wC_$gBV!rVVyUuEKE)TarK<3kdl(z3?7rmq~YpTDzk z&~e*t9_^b7)47r0u1(ADzEl6&K7liZ+V>j<8+Kq7MFZ(zd8Bm>WB?i=W{mX zl6U&F8g}#LS2(?D)`}i4%5*>3I=yn&26X6)tydYN z&MGIsuvbP3sBlz9t^CYv9>}T9yd7|`{v`BC!XtDb(pmy2B|)`N9YV+wopO2R|E(X9 z<@Bmp8<4Iqrf}?UR%9rejCMH73Y}jp(q|)(QvgTo_`USBHZz1Q)g#kJk3vRlsWhMI z7C-W+vj9`o`-u{v*XZRt8&fl8>0W4YCxhx2ydN%235VT^C$rof85}7r60^_&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J(&S=ALscRMtgnu>sARjyu?HEFiRX=pXV`-(I zMSVw#&(yL!N(S=%CAy-f(j1D866>b>MNnA*baog!TMDnMT3GOGYS2t&4Wp-E&fafuk73)TB)^oK`Q8d82jxuv9Ahs7i>9OMz$M7WZ#Y$WlK`GMtPVPS1ctt!ZNS zFA}j7YBmb3`^w?J?#$Y9k3TL|OBWH|mU`S=fU~IBoHdwu%KoR&-ORtmQ2UsHj2vvm ztieFO%np0^AkK2D9?HU%SZd<8q6iCzZhJ%yvyF1RY}@?gShM@qoETRwpKe{!4MNbf zwt0RLE7e}bD!Z~;(ZbbEe8kLJz8@^~2w5D;?C??y^2ZtP)udW@{?2jk^O65nD z2L3Qmx8?L(J~anahDVnu_mQk<8D2$8ja2I@HOaQl(`jsB@-Y^0b)v2LxQyv18F2iX zh!fWa<&&U>%pglQmlJ!$=-zXUZDdt2=tP2oWTH9yPWn61@V@Sm8hno%sA&E$1fOVB zeh%r0A9tRwRXvb$1EvER6Sv9nR%!oY!eLZ zO%FGTyJ>mBV*b9+gIt1d7^ime(HQXxD%_~h`q0dfxD8xf(~S-Pslo>$bhV^EoR>Zg zB$f%ub`AYU)@p9Q4OLk3M*cQjw?l0U@q=bRlm@ejnht9hjwEhyU7veoB>l>*2Z&b) ztW=`xu(zyh>6gs-&1Y|>ebd2zeROHB+O7Lh79x$Z-&d`KRqW*=9)2=S)=-R9JPsvr z6>v`+#}-83@WHV^_%Xdnx0RIQ>SqfqVUsU)vr$9GsuYf4ct%bIvx? diff --git a/Disco.Client/Properties/AssemblyInfo.cs b/Disco.Client/Properties/AssemblyInfo.cs index 913f9eb7..548e5036 100644 --- a/Disco.Client/Properties/AssemblyInfo.cs +++ b/Disco.Client/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Disco - Client")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Disco")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("aa39bf57-b0e8-43ba-a29a-f38b3e5b189c")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0131.2002")] -[assembly: AssemblyFileVersion("1.2.0131.2002")] +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Disco - Client")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Disco")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("aa39bf57-b0e8-43ba-a29a-f38b3e5b189c")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.2.0207.1727")] +[assembly: AssemblyFileVersion("1.2.0207.1727")] diff --git a/Disco.ClientBootstrapper/Properties/AssemblyInfo.cs b/Disco.ClientBootstrapper/Properties/AssemblyInfo.cs index 80ae7a9a..e65978c9 100644 --- a/Disco.ClientBootstrapper/Properties/AssemblyInfo.cs +++ b/Disco.ClientBootstrapper/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Disco - Client Bootstrapper")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Disco")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("5d11beb8-8b5f-4842-8604-9f2d8284f04d")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0131.2002")] -[assembly: AssemblyFileVersion("1.2.0131.2002")] +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Disco - Client Bootstrapper")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Disco")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5d11beb8-8b5f-4842-8604-9f2d8284f04d")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.2.0207.1727")] +[assembly: AssemblyFileVersion("1.2.0207.1727")] diff --git a/Disco.Data/Configuration/ConfigurationContext.cs b/Disco.Data/Configuration/ConfigurationContext.cs index 178fa632..c71bda31 100644 --- a/Disco.Data/Configuration/ConfigurationContext.cs +++ b/Disco.Data/Configuration/ConfigurationContext.cs @@ -1,472 +1,479 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Disco.Data.Repository; -using Disco.Models.Repository; -using System.IO; -using System.Security.Cryptography; -using Disco.Models.BI.Interop.Community; -using Newtonsoft.Json; - -namespace Disco.Data.Configuration -{ - public class ConfigurationContext - { - private DiscoDataContext _dbContext; - private DiscoDataContext dbContext - { - get - { - if (_dbContext != null) - return _dbContext; - else - throw new InvalidOperationException("Cache-miss where Configuration Item requested from Cache-Only Configuration Context"); - } - } - - public bool CacheOnly - { - get - { - return _dbContext == null; - } - } - - public ConfigurationContext(DiscoDataContext dbContext) - { - this._dbContext = dbContext; - - // Init Modules - this.moduleBootstrapperConfiguration = new Lazy(() => new Modules.BootstrapperConfiguration(this)); - this.moduleDeviceProfilesConfiguration = new Lazy(() => new Modules.DeviceProfilesConfiguration(this)); - this.moduleOrganisationAddressesConfiguration = new Lazy(() => new Modules.OrganisationAddressesConfiguration(this)); - this.moduleWirelessConfiguration = new Lazy(() => new Modules.WirelessConfiguration(this)); - } - - #region Item Cache - - private static Dictionary> configDictionary = new Dictionary>(); - private static List configurationItems = new List(); - private static object configurationItemsLock = new object(); - - private void loadConfigurationItems(string Scope, bool Reload) - { - if (Reload || !configDictionary.ContainsKey(Scope)) - { - lock (configurationItemsLock) - { - if (Reload || !configDictionary.ContainsKey(Scope)) - { - var newItems = this.dbContext.ConfigurationItems.Where(ci => ci.Scope == Scope).ToArray(); - - if (configDictionary.ContainsKey(Scope)) - { - var existingItems = configDictionary[Scope]; - foreach (var existingItem in existingItems.Values) - { - configurationItems.Remove(existingItem); - } - } - configurationItems.AddRange(newItems); - configDictionary[Scope] = newItems.ToDictionary(ci => ci.Key); - } - } - } - } - public Dictionary> ConfigurationDictionary(string IncludingScope) - { - this.loadConfigurationItems(IncludingScope, false); - return configDictionary; - } - public ConfigurationItem ConfigurationItem(string Scope, string Key) - { - Dictionary scopeDict = default(Dictionary); - if (this.ConfigurationDictionary(Scope).TryGetValue(Scope, out scopeDict)) - { - ConfigurationItem item = default(ConfigurationItem); - if (scopeDict.TryGetValue(Key, out item)) - return item; - } - return null; - } - private List ConfigurationItems(string IncludingScope) - { - this.loadConfigurationItems(IncludingScope, false); - return configurationItems; - } - - #endregion - - #region Helpers - public ValueType GetConfigurationValue(string Scope, string Key, ValueType Default) - { - var ci = this.ConfigurationItem(Scope, Key); - if (ci == null) - return Default; - else - return (ValueType)Convert.ChangeType(ci.Value, typeof(ValueType)); - } - public void SetConfigurationValue(string Scope, string Key, ValueType Value) - { - if (CacheOnly) - throw new InvalidOperationException("Cannot save changes with a CacheOnly Context"); - - var ci = this.ConfigurationItem(Scope, Key); - if (ci == null && Value != null) - { - lock (configurationItemsLock) - { - ci = this.ConfigurationItem(Scope, Key); - if (ci == null) - { - // Create Configuration Item - ci = new ConfigurationItem() { Scope = Scope, Key = Key, Value = Value.ToString() }; - // Add Item to DB & Internal Collections - this.dbContext.ConfigurationItems.Add(ci); - this.ConfigurationItems(Scope).Add(ci); - this.ConfigurationDictionary(Scope)[Scope].Add(Key, ci); - ci = null; - } - } - } - if (ci != null) - { - lock (configurationItemsLock) - { - var entityInfo = dbContext.Entry(ci); - if (entityInfo.State == System.Data.EntityState.Detached) - { - // Reload Scope from DB - this.loadConfigurationItems(Scope, true); - ci = this.ConfigurationItem(Scope, Key); - } - - if (Value == null) - { - dbContext.ConfigurationItems.Remove(ci); - configurationItems.Remove(ci); - configDictionary[Scope].Remove(Key); - } - else - { - ci.Value = Value.ToString(); - } - } - } - } - - public static string ObsfucateValue(string Value) - { - if (string.IsNullOrEmpty(Value)) - return Value; - else - return Convert.ToBase64String(Encoding.Unicode.GetBytes(Value)); - } - public static string DeobsfucateValue(string ObsfucatedValue) - { - if (string.IsNullOrEmpty(ObsfucatedValue)) - return ObsfucatedValue; - else - return Encoding.Unicode.GetString(Convert.FromBase64String(ObsfucatedValue)); - } - #endregion - - #region Configuration Modules - - private Lazy moduleBootstrapperConfiguration; - private Lazy moduleDeviceProfilesConfiguration; - private Lazy moduleOrganisationAddressesConfiguration; - private Lazy moduleWirelessConfiguration; - - public Modules.BootstrapperConfiguration Bootstrapper - { - get - { - return moduleBootstrapperConfiguration.Value; - } - } - public Modules.DeviceProfilesConfiguration DeviceProfiles - { - get - { - return moduleDeviceProfilesConfiguration.Value; - } - } - public Modules.OrganisationAddressesConfiguration OrganisationAddresses - { - get - { - return moduleOrganisationAddressesConfiguration.Value; - } - } - public Modules.WirelessConfiguration Wireless - { - get - { - return moduleWirelessConfiguration.Value; - } - } - - #endregion - - #region System Configuration Items - - public string Scope { get { return "System"; } } - - public string DataStoreLocation - { - get - { - var result = this.GetConfigurationValue(this.Scope, "DataStoreLocation", null); - if (result == null) - { - var appDataPath = System.Web.HttpContext.Current.Server.MapPath("~/App_Data"); - if (appDataPath.EndsWith("\\")) - return appDataPath; - else - return string.Concat(appDataPath, '\\'); - } - else - return result; - } - set - { - if (value == null) - throw new ArgumentNullException("value"); - if (!System.IO.Directory.Exists(value)) - throw new System.IO.DirectoryNotFoundException(string.Format("DataStoreLocation: '{0}' could not be found", value)); - string storePath; - if (value.EndsWith("\\")) - storePath = value; - else - storePath = string.Concat(value, '\\'); - this.SetConfigurationValue(this.Scope, "DataStoreLocation", storePath); - } - } - public string PluginsLocation - { - get - { - return System.IO.Path.Combine(this.DataStoreLocation, @"Plugins\"); - } - } - public string PluginStorageLocation - { - get - { - return System.IO.Path.Combine(this.DataStoreLocation, @"PluginStorage\"); - } - } - #region Organisation Logo - private string OrganisationLogoPath - { - get - { - return System.IO.Path.Combine(DataStoreLocation, "OrganisationLogo.png"); - } - } - //private static string _OrganisationLogoHash; - //private static byte[] _OrganisationLogo; - //private static object _OrganisationLogoLock = new object(); - //private static void LoadOrganisationLogo(ConfigurationContext context, bool reload = false) - //{ - // if (_OrganisationLogoHash == null || reload) - // { - // lock (_OrganisationLogoLock) - // { - // if (_OrganisationLogoHash == null || reload) - // { - // _OrganisationLogo = null; - // _OrganisationLogoHash = null; - - // string organisationLogoPath = context.OrganisationLogoPath; - // if (System.IO.File.Exists(organisationLogoPath)) - // _OrganisationLogo = System.IO.File.ReadAllBytes(organisationLogoPath); - // } - // if (_OrganisationLogo == null || _OrganisationLogo.Length == 0) - // { - // _OrganisationLogo = Disco.Data.Properties.Resources.EmptyLogo; - // } - // if (_OrganisationLogoHash == null) - // { - // using (SHA256 h = SHA256.Create()) - // { - // _OrganisationLogoHash = Convert.ToBase64String(h.ComputeHash(_OrganisationLogo)); - // } - // } - // } - // } - //} - public string OrganisationLogoHash - { - get - { - var path = this.OrganisationLogoPath; - if (File.Exists(path)) - return File.GetLastWriteTimeUtc(path).ToBinary().ToString(); - else - return "-1"; - } - } - public Stream OrganisationLogo - { - get - { - //LoadOrganisationLogo(this); - //if (_OrganisationLogo == null || _OrganisationLogo.Length != 0) - // return new MemoryStream(_OrganisationLogo); - //else - // return null; - var path = this.OrganisationLogoPath; - if (File.Exists(path)) - return new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read); - else - return new MemoryStream(Disco.Data.Properties.Resources.EmptyLogo); - } - set - { - string organisationLogoPath = this.OrganisationLogoPath; - if (value == null) - { - if (System.IO.File.Exists(organisationLogoPath)) - System.IO.File.Delete(organisationLogoPath); - } - else - { - using (FileStream fs = new FileStream(organisationLogoPath, FileMode.Create, FileAccess.Write, FileShare.None)) - { - value.CopyTo(fs); - } - } - //LoadOrganisationLogo(this, true); - } - } - #endregion - public string OrganisationName - { - get - { - return this.GetConfigurationValue(this.Scope, "OrganisationName", null); - } - set - { - this.SetConfigurationValue(this.Scope, "OrganisationName", value); - } - } - public bool MultiSiteMode - { - get - { - return this.GetConfigurationValue(this.Scope, "MultiSiteMode", false); - } - set - { - this.SetConfigurationValue(this.Scope, "MultiSiteMode", value); - } - } - - #region Proxy Configuration - public string ProxyAddress - { - get - { - return this.GetConfigurationValue(this.Scope, "ProxyAddress", null); - } - set - { - this.SetConfigurationValue(this.Scope, "ProxyAddress", value); - } - } - public int ProxyPort - { - get - { - return this.GetConfigurationValue(this.Scope, "ProxyPort", 8080); - } - set - { - this.SetConfigurationValue(this.Scope, "ProxyPort", value); - } - } - public string ProxyUsername - { - get - { - return this.GetConfigurationValue(this.Scope, "ProxyUsername", null); - } - set - { - this.SetConfigurationValue(this.Scope, "ProxyUsername", value); - } - } - public string ProxyPassword - { - get - { - return DeobsfucateValue(this.GetConfigurationValue(this.Scope, "ProxyPassword", null)); - } - set - { - this.SetConfigurationValue(this.Scope, "ProxyPassword", ObsfucateValue(value)); - } - } - #endregion - - #region UpdateCheck - public string DeploymentId - { - get - { - return this.GetConfigurationValue(this.Scope, "DeploymentId", null); - } - } - public UpdateResponse UpdateLastCheck - { - get - { - var json = this.GetConfigurationValue(this.Scope, "UpdateLastCheck", null); - if (json != null) - { - try - { - return JsonConvert.DeserializeObject(json); - } - catch (Exception) - { }// Ignore Serialization Issues - } - return null; - } - set - { - if (value == null) - this.SetConfigurationValue(this.Scope, "UpdateLastCheck", null); - - var json = JsonConvert.SerializeObject(value); - this.SetConfigurationValue(this.Scope, "UpdateLastCheck", json); - } - } - public bool UpdateBetaDeployment - { - get - { - return this.GetConfigurationValue(this.Scope, "UpdateBetaDeployment", false); - } - } - public string InstalledDatabaseVersion - { - get - { - return this.GetConfigurationValue(this.Scope, "InstalledDatabaseVersion", null); - } - set - { - this.SetConfigurationValue(this.Scope, "InstalledDatabaseVersion", value); - } - } - #endregion - - #endregion - - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using Disco.Data.Repository; +using Disco.Models.Repository; +using System.IO; +using System.Security.Cryptography; +using Disco.Models.BI.Interop.Community; +using Newtonsoft.Json; + +namespace Disco.Data.Configuration +{ + public class ConfigurationContext + { + private DiscoDataContext _dbContext; + private DiscoDataContext dbContext + { + get + { + if (_dbContext != null) + return _dbContext; + else + throw new InvalidOperationException("Cache-miss where Configuration Item requested from Cache-Only Configuration Context"); + } + } + + public bool CacheOnly + { + get + { + return _dbContext == null; + } + } + + public ConfigurationContext(DiscoDataContext dbContext) + { + this._dbContext = dbContext; + + // Init Modules + this.moduleBootstrapperConfiguration = new Lazy(() => new Modules.BootstrapperConfiguration(this)); + this.moduleDeviceProfilesConfiguration = new Lazy(() => new Modules.DeviceProfilesConfiguration(this)); + this.moduleOrganisationAddressesConfiguration = new Lazy(() => new Modules.OrganisationAddressesConfiguration(this)); + this.moduleWirelessConfiguration = new Lazy(() => new Modules.WirelessConfiguration(this)); + } + + #region Item Cache + + private static Dictionary> configDictionary = new Dictionary>(); + private static List configurationItems = new List(); + private static object configurationItemsLock = new object(); + + private void loadConfigurationItems(string Scope, bool Reload) + { + if (Reload || !configDictionary.ContainsKey(Scope)) + { + lock (configurationItemsLock) + { + if (Reload || !configDictionary.ContainsKey(Scope)) + { + var newItems = this.dbContext.ConfigurationItems.Where(ci => ci.Scope == Scope).ToArray(); + + if (configDictionary.ContainsKey(Scope)) + { + var existingItems = configDictionary[Scope]; + foreach (var existingItem in existingItems.Values) + { + configurationItems.Remove(existingItem); + } + } + configurationItems.AddRange(newItems); + configDictionary[Scope] = newItems.ToDictionary(ci => ci.Key); + } + } + } + } + public Dictionary> ConfigurationDictionary(string IncludingScope) + { + this.loadConfigurationItems(IncludingScope, false); + return configDictionary; + } + public ConfigurationItem ConfigurationItem(string Scope, string Key) + { + Dictionary scopeDict = default(Dictionary); + if (this.ConfigurationDictionary(Scope).TryGetValue(Scope, out scopeDict)) + { + ConfigurationItem item = default(ConfigurationItem); + if (scopeDict.TryGetValue(Key, out item)) + return item; + } + return null; + } + private List ConfigurationItems(string IncludingScope) + { + this.loadConfigurationItems(IncludingScope, false); + return configurationItems; + } + + #endregion + + #region Helpers + public ValueType GetConfigurationValue(string Scope, string Key, ValueType Default) + { + var ci = this.ConfigurationItem(Scope, Key); + if (ci == null) + return Default; + else + return (ValueType)Convert.ChangeType(ci.Value, typeof(ValueType)); + } + public void SetConfigurationValue(string Scope, string Key, ValueType Value) + { + if (CacheOnly) + throw new InvalidOperationException("Cannot save changes with a CacheOnly Context"); + + var ci = this.ConfigurationItem(Scope, Key); + if (ci == null && Value != null) + { + lock (configurationItemsLock) + { + ci = this.ConfigurationItem(Scope, Key); + if (ci == null) + { + // Create Configuration Item + ci = new ConfigurationItem() { Scope = Scope, Key = Key, Value = Value.ToString() }; + // Add Item to DB & Internal Collections + this.dbContext.ConfigurationItems.Add(ci); + this.ConfigurationItems(Scope).Add(ci); + this.ConfigurationDictionary(Scope)[Scope].Add(Key, ci); + ci = null; + } + } + } + if (ci != null) + { + lock (configurationItemsLock) + { + var entityInfo = dbContext.Entry(ci); + if (entityInfo.State == System.Data.EntityState.Detached) + { + // Reload Scope from DB + this.loadConfigurationItems(Scope, true); + ci = this.ConfigurationItem(Scope, Key); + } + + if (Value == null) + { + dbContext.ConfigurationItems.Remove(ci); + configurationItems.Remove(ci); + configDictionary[Scope].Remove(Key); + } + else + { + ci.Value = Value.ToString(); + } + } + } + } + + public static string ObsfucateValue(string Value) + { + if (string.IsNullOrEmpty(Value)) + return Value; + else + return Convert.ToBase64String(Encoding.Unicode.GetBytes(Value)); + } + public static string DeobsfucateValue(string ObsfucatedValue) + { + if (string.IsNullOrEmpty(ObsfucatedValue)) + return ObsfucatedValue; + else + return Encoding.Unicode.GetString(Convert.FromBase64String(ObsfucatedValue)); + } + #endregion + + #region Configuration Modules + + private Lazy moduleBootstrapperConfiguration; + private Lazy moduleDeviceProfilesConfiguration; + private Lazy moduleOrganisationAddressesConfiguration; + private Lazy moduleWirelessConfiguration; + + public Modules.BootstrapperConfiguration Bootstrapper + { + get + { + return moduleBootstrapperConfiguration.Value; + } + } + public Modules.DeviceProfilesConfiguration DeviceProfiles + { + get + { + return moduleDeviceProfilesConfiguration.Value; + } + } + public Modules.OrganisationAddressesConfiguration OrganisationAddresses + { + get + { + return moduleOrganisationAddressesConfiguration.Value; + } + } + public Modules.WirelessConfiguration Wireless + { + get + { + return moduleWirelessConfiguration.Value; + } + } + + #endregion + + #region System Configuration Items + + public string Scope { get { return "System"; } } + + public string DataStoreLocation + { + get + { + var result = this.GetConfigurationValue(this.Scope, "DataStoreLocation", null); + if (result == null) + { + var appDataPath = System.Web.HttpContext.Current.Server.MapPath("~/App_Data"); + if (appDataPath.EndsWith("\\")) + return appDataPath; + else + return string.Concat(appDataPath, '\\'); + } + else + return result; + } + set + { + if (value == null) + throw new ArgumentNullException("value"); + if (!System.IO.Directory.Exists(value)) + throw new System.IO.DirectoryNotFoundException(string.Format("DataStoreLocation: '{0}' could not be found", value)); + string storePath; + if (value.EndsWith("\\")) + storePath = value; + else + storePath = string.Concat(value, '\\'); + this.SetConfigurationValue(this.Scope, "DataStoreLocation", storePath); + } + } + public string PluginsLocation + { + get + { + return System.IO.Path.Combine(this.DataStoreLocation, @"Plugins\"); + } + } + public string PluginStorageLocation + { + get + { + return System.IO.Path.Combine(this.DataStoreLocation, @"PluginStorage\"); + } + } + public string PluginPackagesLocation + { + get + { + return System.IO.Path.Combine(this.DataStoreLocation, @"PluginPackages\"); + } + } + #region Organisation Logo + private string OrganisationLogoPath + { + get + { + return System.IO.Path.Combine(DataStoreLocation, "OrganisationLogo.png"); + } + } + //private static string _OrganisationLogoHash; + //private static byte[] _OrganisationLogo; + //private static object _OrganisationLogoLock = new object(); + //private static void LoadOrganisationLogo(ConfigurationContext context, bool reload = false) + //{ + // if (_OrganisationLogoHash == null || reload) + // { + // lock (_OrganisationLogoLock) + // { + // if (_OrganisationLogoHash == null || reload) + // { + // _OrganisationLogo = null; + // _OrganisationLogoHash = null; + + // string organisationLogoPath = context.OrganisationLogoPath; + // if (System.IO.File.Exists(organisationLogoPath)) + // _OrganisationLogo = System.IO.File.ReadAllBytes(organisationLogoPath); + // } + // if (_OrganisationLogo == null || _OrganisationLogo.Length == 0) + // { + // _OrganisationLogo = Disco.Data.Properties.Resources.EmptyLogo; + // } + // if (_OrganisationLogoHash == null) + // { + // using (SHA256 h = SHA256.Create()) + // { + // _OrganisationLogoHash = Convert.ToBase64String(h.ComputeHash(_OrganisationLogo)); + // } + // } + // } + // } + //} + public string OrganisationLogoHash + { + get + { + var path = this.OrganisationLogoPath; + if (File.Exists(path)) + return File.GetLastWriteTimeUtc(path).ToBinary().ToString(); + else + return "-1"; + } + } + public Stream OrganisationLogo + { + get + { + //LoadOrganisationLogo(this); + //if (_OrganisationLogo == null || _OrganisationLogo.Length != 0) + // return new MemoryStream(_OrganisationLogo); + //else + // return null; + var path = this.OrganisationLogoPath; + if (File.Exists(path)) + return new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read); + else + return new MemoryStream(Disco.Data.Properties.Resources.EmptyLogo); + } + set + { + string organisationLogoPath = this.OrganisationLogoPath; + if (value == null) + { + if (System.IO.File.Exists(organisationLogoPath)) + System.IO.File.Delete(organisationLogoPath); + } + else + { + using (FileStream fs = new FileStream(organisationLogoPath, FileMode.Create, FileAccess.Write, FileShare.None)) + { + value.CopyTo(fs); + } + } + //LoadOrganisationLogo(this, true); + } + } + #endregion + public string OrganisationName + { + get + { + return this.GetConfigurationValue(this.Scope, "OrganisationName", null); + } + set + { + this.SetConfigurationValue(this.Scope, "OrganisationName", value); + } + } + public bool MultiSiteMode + { + get + { + return this.GetConfigurationValue(this.Scope, "MultiSiteMode", false); + } + set + { + this.SetConfigurationValue(this.Scope, "MultiSiteMode", value); + } + } + + #region Proxy Configuration + public string ProxyAddress + { + get + { + return this.GetConfigurationValue(this.Scope, "ProxyAddress", null); + } + set + { + this.SetConfigurationValue(this.Scope, "ProxyAddress", value); + } + } + public int ProxyPort + { + get + { + return this.GetConfigurationValue(this.Scope, "ProxyPort", 8080); + } + set + { + this.SetConfigurationValue(this.Scope, "ProxyPort", value); + } + } + public string ProxyUsername + { + get + { + return this.GetConfigurationValue(this.Scope, "ProxyUsername", null); + } + set + { + this.SetConfigurationValue(this.Scope, "ProxyUsername", value); + } + } + public string ProxyPassword + { + get + { + return DeobsfucateValue(this.GetConfigurationValue(this.Scope, "ProxyPassword", null)); + } + set + { + this.SetConfigurationValue(this.Scope, "ProxyPassword", ObsfucateValue(value)); + } + } + #endregion + + #region UpdateCheck + public string DeploymentId + { + get + { + return this.GetConfigurationValue(this.Scope, "DeploymentId", null); + } + } + public UpdateResponse UpdateLastCheck + { + get + { + var json = this.GetConfigurationValue(this.Scope, "UpdateLastCheck", null); + if (json != null) + { + try + { + return JsonConvert.DeserializeObject(json); + } + catch (Exception) + { }// Ignore Serialization Issues + } + return null; + } + set + { + if (value == null) + this.SetConfigurationValue(this.Scope, "UpdateLastCheck", null); + + var json = JsonConvert.SerializeObject(value); + this.SetConfigurationValue(this.Scope, "UpdateLastCheck", json); + } + } + public bool UpdateBetaDeployment + { + get + { + return this.GetConfigurationValue(this.Scope, "UpdateBetaDeployment", false); + } + } + public string InstalledDatabaseVersion + { + get + { + return this.GetConfigurationValue(this.Scope, "InstalledDatabaseVersion", null); + } + set + { + this.SetConfigurationValue(this.Scope, "InstalledDatabaseVersion", value); + } + } + #endregion + + #endregion + + } +} diff --git a/Disco.Data/Properties/AssemblyInfo.cs b/Disco.Data/Properties/AssemblyInfo.cs index 4200fafc..29a49287 100644 --- a/Disco.Data/Properties/AssemblyInfo.cs +++ b/Disco.Data/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Disco - Data")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Disco")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("77cc3aa4-5055-44aa-97b1-c42e5f5e1acd")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0131.2002")] -[assembly: AssemblyFileVersion("1.2.0131.2002")] +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Disco - Data")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Disco")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("77cc3aa4-5055-44aa-97b1-c42e5f5e1acd")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.2.0207.1727")] +[assembly: AssemblyFileVersion("1.2.0207.1727")] diff --git a/Disco.Models/Properties/AssemblyInfo.cs b/Disco.Models/Properties/AssemblyInfo.cs index c9f40db8..aa936558 100644 --- a/Disco.Models/Properties/AssemblyInfo.cs +++ b/Disco.Models/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Disco - Data Models")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Disco")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("44f11caf-e8d3-4c5a-9406-d84779e6d427")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0131.2002")] -[assembly: AssemblyFileVersion("1.2.0131.2002")] +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Disco - Data Models")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Disco")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("44f11caf-e8d3-4c5a-9406-d84779e6d427")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.2.0207.1727")] +[assembly: AssemblyFileVersion("1.2.0207.1727")] diff --git a/Disco.Services/Disco.Services.csproj b/Disco.Services/Disco.Services.csproj index 8cb8522d..4372233e 100644 --- a/Disco.Services/Disco.Services.csproj +++ b/Disco.Services/Disco.Services.csproj @@ -1,188 +1,189 @@ - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {B80A737F-BD6A-4986-9182-DD7B932BD950} - Library - Properties - Disco.Services - Disco.Services - v4.5 - 512 - - ..\ - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - ..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll - - - True - ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll - - - False - ..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll - - - ..\Resources\Libraries\Quartz\Quartz.dll - - - False - ..\packages\RazorGenerator.Mvc.1.5.0.0\lib\net40\RazorGenerator.Mvc.dll - - - False - ..\packages\SignalR.Server.0.5.3\lib\net40\SignalR.dll - - - False - ..\packages\SignalR.Hosting.AspNet.0.5.3\lib\net45\SignalR.Hosting.AspNet.dll - - - ..\packages\SignalR.Hosting.Common.0.5.3\lib\net40\SignalR.Hosting.Common.dll - - - - - - - True - ..\packages\Microsoft.SqlServer.Compact.4.0.8876.1\lib\net40\System.Data.SqlServerCe.dll - - - - - - - - - - - - - False - ..\packages\WebActivator.1.5.3\lib\net40\WebActivator.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {85A6BD19-2C64-4746-8F2C-A68A86E8C2D7} - Disco.Data - - - {FBC05512-FCCA-4B16-9E76-8C413C5DE6C9} - Disco.Models - - - - - - - - - - - - - - - - if not exist "$(TargetDir)x86" md "$(TargetDir)x86" - xcopy /s /y "$(SolutionDir)packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\*.*" "$(TargetDir)x86" - if not exist "$(TargetDir)amd64" md "$(TargetDir)amd64" - xcopy /s /y "$(SolutionDir)packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\*.*" "$(TargetDir)amd64" - - - + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {B80A737F-BD6A-4986-9182-DD7B932BD950} + Library + Properties + Disco.Services + Disco.Services + v4.5 + 512 + + ..\ + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + false + + + + ..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll + + + True + ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll + + + False + ..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll + + + ..\Resources\Libraries\Quartz\Quartz.dll + + + False + ..\packages\RazorGenerator.Mvc.1.5.0.0\lib\net40\RazorGenerator.Mvc.dll + + + False + ..\packages\SignalR.Server.0.5.3\lib\net40\SignalR.dll + + + False + ..\packages\SignalR.Hosting.AspNet.0.5.3\lib\net45\SignalR.Hosting.AspNet.dll + + + ..\packages\SignalR.Hosting.Common.0.5.3\lib\net40\SignalR.Hosting.Common.dll + + + + + + + True + ..\packages\Microsoft.SqlServer.Compact.4.0.8876.1\lib\net40\System.Data.SqlServerCe.dll + + + + + + + + + + + + + False + ..\packages\WebActivator.1.5.3\lib\net40\WebActivator.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {85A6BD19-2C64-4746-8F2C-A68A86E8C2D7} + Disco.Data + + + {FBC05512-FCCA-4B16-9E76-8C413C5DE6C9} + Disco.Models + + + + + + + + + + + + + + + + if not exist "$(TargetDir)x86" md "$(TargetDir)x86" + xcopy /s /y "$(SolutionDir)packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\*.*" "$(TargetDir)x86" + if not exist "$(TargetDir)amd64" md "$(TargetDir)amd64" + xcopy /s /y "$(SolutionDir)packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\*.*" "$(TargetDir)amd64" + + + \ No newline at end of file diff --git a/Disco.Services/Plugins/InstallPluginTask.cs b/Disco.Services/Plugins/InstallPluginTask.cs new file mode 100644 index 00000000..d6056eee --- /dev/null +++ b/Disco.Services/Plugins/InstallPluginTask.cs @@ -0,0 +1,132 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.IO.Compression; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Disco.Data.Repository; +using Disco.Services.Tasks; +using Quartz; + +namespace Disco.Services.Plugins +{ + public class InstallPluginTask : ScheduledTask + { + public override string TaskName { get { return "Installing Plugin"; } } + + protected override void ExecuteTask() + { + string packageFilePath = (string)this.ExecutionContext.JobDetail.JobDataMap["PackageFilePath"]; + bool DeletePackageAfterInstall = (bool)this.ExecutionContext.JobDetail.JobDataMap["DeletePackageAfterInstall"]; + + if (!Plugins.PluginsLoaded) + throw new InvalidOperationException("Plugins have not been initialized"); + + this.Status.UpdateStatus(10, "Opening Plugin Package", Path.GetFileName(packageFilePath)); + + using (var packageStream = File.OpenRead(packageFilePath)) + { + using (ZipArchive packageArchive = new ZipArchive(packageStream, ZipArchiveMode.Read, false)) + { + + ZipArchiveEntry packageManifestEntry = packageArchive.GetEntry("manifest.json"); + if (packageManifestEntry == null) + throw new InvalidDataException("The plugin package does not contain the 'manifest.json' entry"); + + PluginManifest packageManifest; + + using (Stream packageManifestStream = packageManifestEntry.Open()) + { + packageManifest = PluginManifest.FromPluginManifestFile(packageManifestStream); + } + + this.Status.UpdateStatus(20, string.Format("{0} [{1} v{2}] by {3}", packageManifest.Name, packageManifest.Id, packageManifest.Version.ToString(4), packageManifest.Author), "Initializing Install Environment"); + + PluginsLog.LogInstalling(packageManifest); + + lock (Plugins._PluginLock) + { + if (!Plugins.PluginsLoaded) + throw new InvalidOperationException("Plugins have not been initialized"); + + // Ensure not already installed + if (Plugins.GetPlugins().FirstOrDefault(p => p.Id == packageManifest.Id) != null) + throw new InvalidOperationException(string.Format("The '{0} [{1}]' Plugin is already installed, please uninstall any existing versions before trying again", packageManifest.Name, packageManifest.Id)); + + using (DiscoDataContext dbContext = new DiscoDataContext()) + { + string packagePath = Path.Combine(dbContext.DiscoConfiguration.PluginsLocation, packageManifest.Id); + + // Force Delete of Existing Folder + if (Directory.Exists(packagePath)) + { + this.Status.UpdateStatus(25, "Removing Existing Files"); + Directory.Delete(packagePath, true); + } + Directory.CreateDirectory(packagePath); + + + this.Status.UpdateStatus(30, "Extracting Files"); + + double extractFileInterval = (double)50 / packageArchive.Entries.Count; + int countExtractedFiles = 0; + + // Extract Package Contents + foreach (var packageEntry in packageArchive.Entries) + { + this.Status.UpdateStatus(30 + (countExtractedFiles++ * extractFileInterval), string.Format("Extracting File: {0}", packageEntry.FullName)); + + // Determine Extraction Path + var packageEntryTarget = Path.Combine(packagePath, packageEntry.FullName); + + // Create Sub Directories + Directory.CreateDirectory(Path.GetDirectoryName(packageEntryTarget)); + + using (var packageEntryStream = packageEntry.Open()) + { + using (var packageTargetStream = File.Open(packageEntryTarget, FileMode.Create, FileAccess.Write, FileShare.None)) + { + packageEntryStream.CopyTo(packageTargetStream); + } + } + } + + // Reload Manifest + packageManifest = PluginManifest.FromPluginManifestFile(Path.Combine(packagePath, "manifest.json")); + + // Install Plugin + this.Status.UpdateStatus(80, "Initial Package Configuration"); + packageManifest.InstallPlugin(dbContext, this.Status); + + // Initialize Plugin + this.Status.UpdateStatus(98, "Initializing Plugin for Use"); + packageManifest.InitializePlugin(dbContext); + + // Add Plugin Manifest to Host Environment + Plugins.AddPlugin(packageManifest); + + PluginsLog.LogInstalled(packageManifest); + this.Status.Finished("Plugin Installation Completed", string.Format("/Config/Plugins/{0}", System.Web.HttpUtility.UrlEncode(packageManifest.Id))); + } + } + } + } + + if (DeletePackageAfterInstall) + File.Delete(packageFilePath); + } + + public static ScheduledTaskStatus InstallPlugin(string PackageFilePath, bool DeletePackageAfterInstall) + { + if (ScheduledTasks.GetTaskStatuses(typeof(InstallPluginTask)).Where(s => s.IsRunning).Count() > 0) + throw new InvalidOperationException("A plugin is already being Installed"); + + JobDataMap taskData = new JobDataMap() { { "PackageFilePath", PackageFilePath }, { "DeletePackageAfterInstall", DeletePackageAfterInstall } }; + + var instance = new InstallPluginTask(); + + return instance.ScheduleTask(taskData); + } + } +} diff --git a/Disco.Services/Plugins/Plugin.cs b/Disco.Services/Plugins/Plugin.cs index 9a12f7bc..4af99e36 100644 --- a/Disco.Services/Plugins/Plugin.cs +++ b/Disco.Services/Plugins/Plugin.cs @@ -1,31 +1,34 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Disco.Data.Repository; - -namespace Disco.Services.Plugins -{ - public abstract class Plugin : IDisposable - { - public PluginManifest Manifest {get; internal set;} - - #region Lifecycle - public abstract bool Install(DiscoDataContext dbContext); - public abstract bool Initalize(DiscoDataContext dbContext); - public abstract bool Uninstall(DiscoDataContext dbContext); - public abstract bool BeforeUpdate(DiscoDataContext dbContext, PluginManifest updateManifest); - #endregion - - public virtual void Dispose() - { - // Nothing in Base Class - } - - public override sealed string ToString() - { - return string.Format("{0} ({1}) - v{2}", this.Manifest.Name, this.Manifest.Id, this.Manifest.Version.ToString(4)); - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Disco.Data.Repository; +using Disco.Services.Tasks; + +namespace Disco.Services.Plugins +{ + public abstract class Plugin : IDisposable + { + public PluginManifest Manifest {get; internal set;} + + #region Lifecycle + // Events/Triggers for Custom Plugin Initialization (Optional) + public virtual void Install(DiscoDataContext dbContext, ScheduledTaskStatus Status) { return; } + public virtual void Initialize(DiscoDataContext dbContext) { return; } + public virtual void Uninstall(DiscoDataContext dbContext, bool UninstallData, ScheduledTaskStatus Status) { return; } + public virtual void BeforeUpdate(DiscoDataContext dbContext, PluginManifest UpdateManifest, ScheduledTaskStatus Status) { return; } + public virtual void AfterUpdate(DiscoDataContext dbContext, PluginManifest PreviousManifest) { return; } + #endregion + + public virtual void Dispose() + { + // Nothing in Base Class + } + + public override sealed string ToString() + { + return string.Format("{0} ({1}) - v{2}", this.Manifest.Name, this.Manifest.Id, this.Manifest.Version.ToString(4)); + } + } +} diff --git a/Disco.Services/Plugins/PluginFeature.cs b/Disco.Services/Plugins/PluginFeature.cs index 68d8b2f9..58bfc5cf 100644 --- a/Disco.Services/Plugins/PluginFeature.cs +++ b/Disco.Services/Plugins/PluginFeature.cs @@ -1,21 +1,22 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Disco.Data.Repository; - -namespace Disco.Services.Plugins -{ - public abstract class PluginFeature : IDisposable - { - public PluginFeatureManifest Manifest {get; internal set;} - - public abstract bool Initalize(DiscoDataContext dbContext); - - public virtual void Dispose() - { - // Nothing in Base Class - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Disco.Data.Repository; + +namespace Disco.Services.Plugins +{ + public abstract class PluginFeature : IDisposable + { + public PluginFeatureManifest Manifest {get; internal set;} + + // Allow Custom Initialization (Optional) + public virtual void Initialize(DiscoDataContext dbContext) { return; } + + public virtual void Dispose() + { + // Nothing in Base Class + } + } +} diff --git a/Disco.Services/Plugins/PluginFeatureManifest.cs b/Disco.Services/Plugins/PluginFeatureManifest.cs index b5d55082..d17bb102 100644 --- a/Disco.Services/Plugins/PluginFeatureManifest.cs +++ b/Disco.Services/Plugins/PluginFeatureManifest.cs @@ -1,107 +1,107 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Disco.Data.Repository; -using Newtonsoft.Json; -using System.Reflection; - -namespace Disco.Services.Plugins -{ - public class PluginFeatureManifest - { - public string Id { get; set; } - public string Name { get; set; } - public string TypeName { get; set; } - - [JsonProperty] - private string CategoryTypeName { get; set; } - - [JsonIgnore] - public PluginManifest PluginManifest { get; private set; } - [JsonIgnore] - internal Type Type { get; private set; } - [JsonIgnore] - public Type CategoryType { get; private set; } - - internal bool Initialize(DiscoDataContext dbContext, PluginManifest pluginManifest) - { - this.PluginManifest = pluginManifest; - - if (this.Type == null) - this.Type = this.PluginManifest.PluginAssembly.GetType(this.TypeName, true, true); - - if (this.CategoryType == null) - this.CategoryType = Type.GetType(this.CategoryTypeName, true, true); - - using (var instance = this.CreateInstance()) - { - instance.Initalize(dbContext); - } - - PluginsLog.LogInitializedPluginFeature(this.PluginManifest, this); - - return true; - } - - public PluginFeature CreateInstance() - { - var i = (PluginFeature)Activator.CreateInstance(Type); - i.Manifest = this; - return i; - } - public CategoryType CreateInstance() where CategoryType : PluginFeature - { - if (typeof(CategoryType).IsAssignableFrom(this.Type)) - { - var i = (CategoryType)Activator.CreateInstance(Type); - i.Manifest = this; - return i; - } - else - throw new InvalidOperationException(string.Format("The feature [{0}] cannot be cast into type [{1}]", this.Type.Name, typeof(CategoryType).Name)); - } - - /// - /// Uses reflection to build a Plugin Manifest - /// - /// Assembly containing a plugin - /// A plugin manifest for the first encountered plugin within the assembly - public static PluginFeatureManifest FromPluginFeatureType(Type featureType, PluginManifest pluginManifest) - { - var featureAttribute = (PluginFeatureAttribute)featureType.GetCustomAttributes(typeof(PluginFeatureAttribute), false).FirstOrDefault(); - - if (featureAttribute == null) - throw new ArgumentException(string.Format("Plugin Feature found [{0}], but no PluginFeatureAttribute found", featureType.Name), "featureType"); - - var featureId = featureAttribute.Id; - var featureName = featureAttribute.Name; - - // Determine Feature Category - var featureCategoryType = featureType.BaseType; - - if (featureCategoryType == null) - throw new ArgumentException(string.Format("Plugin Feature found [{0}], but has no Base Type to determine its Category", featureType.Name), "featureType"); - - if (featureCategoryType == typeof(PluginFeature) || !typeof(PluginFeature).IsAssignableFrom(featureCategoryType)) - throw new ArgumentException(string.Format("Plugin Feature found [{0}], but its Base Type is not a valid Feature Category Type (Base Feature or not assignable)", featureType.Name), "featureType"); - - var featureCategoryAttribute = (PluginFeatureCategoryAttribute)featureCategoryType.GetCustomAttributes(typeof(PluginFeatureCategoryAttribute), false).FirstOrDefault(); - - if (featureCategoryAttribute == null) - throw new ArgumentException(string.Format("Plugin Feature found [{0}], but its Base Type is not a valid Feature Category Type (no attribute)", featureType.Name), "featureType"); - - return new PluginFeatureManifest() - { - PluginManifest = pluginManifest, - Id = featureId, - Name = featureName, - Type = featureType, - TypeName = featureType.FullName, - CategoryType = featureCategoryType, - CategoryTypeName = featureCategoryType.FullName - }; - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Disco.Data.Repository; +using Newtonsoft.Json; +using System.Reflection; + +namespace Disco.Services.Plugins +{ + public class PluginFeatureManifest + { + public string Id { get; set; } + public string Name { get; set; } + public string TypeName { get; set; } + + [JsonProperty] + private string CategoryTypeName { get; set; } + + [JsonIgnore] + public PluginManifest PluginManifest { get; private set; } + [JsonIgnore] + internal Type Type { get; private set; } + [JsonIgnore] + public Type CategoryType { get; private set; } + + internal bool Initialize(DiscoDataContext dbContext, PluginManifest pluginManifest) + { + this.PluginManifest = pluginManifest; + + if (this.Type == null) + this.Type = this.PluginManifest.PluginAssembly.GetType(this.TypeName, true, true); + + if (this.CategoryType == null) + this.CategoryType = Type.GetType(this.CategoryTypeName, true, true); + + using (var instance = this.CreateInstance()) + { + instance.Initialize(dbContext); + } + + PluginsLog.LogInitializedPluginFeature(this.PluginManifest, this); + + return true; + } + + public PluginFeature CreateInstance() + { + var i = (PluginFeature)Activator.CreateInstance(Type); + i.Manifest = this; + return i; + } + public CategoryType CreateInstance() where CategoryType : PluginFeature + { + if (typeof(CategoryType).IsAssignableFrom(this.Type)) + { + var i = (CategoryType)Activator.CreateInstance(Type); + i.Manifest = this; + return i; + } + else + throw new InvalidOperationException(string.Format("The feature [{0}] cannot be cast into type [{1}]", this.Type.Name, typeof(CategoryType).Name)); + } + + /// + /// Uses reflection to build a Plugin Manifest + /// + /// Assembly containing a plugin + /// A plugin manifest for the first encountered plugin within the assembly + public static PluginFeatureManifest FromPluginFeatureType(Type featureType, PluginManifest pluginManifest) + { + var featureAttribute = (PluginFeatureAttribute)featureType.GetCustomAttributes(typeof(PluginFeatureAttribute), false).FirstOrDefault(); + + if (featureAttribute == null) + throw new ArgumentException(string.Format("Plugin Feature found [{0}], but no PluginFeatureAttribute found", featureType.Name), "featureType"); + + var featureId = featureAttribute.Id; + var featureName = featureAttribute.Name; + + // Determine Feature Category + var featureCategoryType = featureType.BaseType; + + if (featureCategoryType == null) + throw new ArgumentException(string.Format("Plugin Feature found [{0}], but has no Base Type to determine its Category", featureType.Name), "featureType"); + + if (featureCategoryType == typeof(PluginFeature) || !typeof(PluginFeature).IsAssignableFrom(featureCategoryType)) + throw new ArgumentException(string.Format("Plugin Feature found [{0}], but its Base Type is not a valid Feature Category Type (Base Feature or not assignable)", featureType.Name), "featureType"); + + var featureCategoryAttribute = (PluginFeatureCategoryAttribute)featureCategoryType.GetCustomAttributes(typeof(PluginFeatureCategoryAttribute), false).FirstOrDefault(); + + if (featureCategoryAttribute == null) + throw new ArgumentException(string.Format("Plugin Feature found [{0}], but its Base Type is not a valid Feature Category Type (no attribute)", featureType.Name), "featureType"); + + return new PluginFeatureManifest() + { + PluginManifest = pluginManifest, + Id = featureId, + Name = featureName, + Type = featureType, + TypeName = featureType.FullName, + CategoryType = featureCategoryType, + CategoryTypeName = featureCategoryType.FullName + }; + } + } +} diff --git a/Disco.Services/Plugins/PluginManifest.cs b/Disco.Services/Plugins/PluginManifest.cs index 719535fc..f860b3d9 100644 --- a/Disco.Services/Plugins/PluginManifest.cs +++ b/Disco.Services/Plugins/PluginManifest.cs @@ -1,321 +1,386 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Reflection; -using System.Security.Cryptography; -using System.Text; -using System.Threading.Tasks; -using System.Web; -using System.Web.Mvc; -using Disco.Data.Repository; -using Newtonsoft.Json; - -namespace Disco.Services.Plugins -{ - public class PluginManifest - { - public string Id { get; set; } - public string Name { get; set; } - public string Author { get; set; } - public Version Version { get; set; } - [JsonProperty] - internal string AssemblyPath { get; set; } - [JsonProperty] - private string TypeName { get; set; } - [JsonProperty] - private string ConfigurationHandlerTypeName { get; set; } - [JsonProperty] - private string WebHandlerTypeName { get; set; } - - [JsonProperty] - internal Dictionary AssemblyReferences { get; set; } - - [JsonProperty] - public List Features { get; private set; } - - [JsonIgnore] - internal Assembly PluginAssembly { get; private set; } - [JsonIgnore] - internal Type Type { get; private set; } - [JsonIgnore] - private Type ConfigurationHandlerType { get; set; } - [JsonIgnore] - private Type WebHandlerType { get; set; } - - [JsonIgnore] - public string PluginLocation { get; private set; } - [JsonIgnore] - public string StorageLocation { get; private set; } - - private static Dictionary> WebResourceHashes = new Dictionary>(); - - public List GetFeatures(Type FeatureCategoryType) - { - return this.Features.Where(fm => fm.CategoryType.IsAssignableFrom(FeatureCategoryType)).ToList(); - } - public PluginFeatureManifest GetFeature(string PluginFeatureId) - { - return this.Features.Where(fm => fm.Id == PluginFeatureId).FirstOrDefault(); - } - - public Plugin CreateInstance() - { - var i = (Plugin)Activator.CreateInstance(Type); - i.Manifest = this; - return i; - } - - /// - /// Deserializes a Json Manifest - /// - /// Path to the Json Manifest file - /// - public static PluginManifest FromPluginManifestFile(string FilePath) - { - using (Stream manifestStream = File.OpenRead(FilePath)) - { - PluginManifest manifest = FromPluginManifestFile(manifestStream, Path.GetDirectoryName(FilePath)); - return manifest; - } - } - - /// - /// Deserializes a Json Manifest - /// - /// Stream containing the encoded Json Manifest File - /// PluginLocation to be set in the manifest - /// - public static PluginManifest FromPluginManifestFile(Stream FileStream, string PluginLocation = null) - { - string manifestString; - using (StreamReader manifestStreamReader = new StreamReader(FileStream)) - { - manifestString = manifestStreamReader.ReadToEnd(); - } - - var manifest = JsonConvert.DeserializeObject(manifestString); - - manifest.PluginLocation = PluginLocation; - - return manifest; - } - /// - /// Uses reflection to build a Plugin Manifest - /// - /// Assembly containing a plugin - /// A plugin manifest for the first encountered plugin within the assembly - public static PluginManifest FromPluginAssembly(Assembly assembly) - { - // Determine Plugin Properties - var pluginType = (from type in assembly.GetTypes() - where typeof(Plugin).IsAssignableFrom(type) && !type.IsAbstract - select type).FirstOrDefault(); - - if (pluginType == null) - throw new ArgumentException("No Plugin was found in this Assembly", "pluginAssembly"); - - var assemblyName = assembly.GetName(); - - var pluginAttributes = pluginType.GetCustomAttribute(false); - - if (pluginAttributes == null) - throw new ArgumentException(string.Format("Plugin found [{0}], but no PluginAttribute found", pluginType.Name), "pluginAssembly"); - - var pluginId = pluginAttributes.Id; - var pluginName = pluginAttributes.Name; - var pluginAuthor = pluginAttributes.Author; - - var pluginVersion = assemblyName.Version; - var pluginAssemblyPath = Path.GetFileName(assembly.Location); - var pluginTypeName = pluginType.FullName; - var pluginLocation = Path.GetDirectoryName(assembly.Location); - - // Find Configuration Handler - var pluginConfigurationHandlerType = (from type in assembly.GetTypes() - where typeof(PluginConfigurationHandler).IsAssignableFrom(type) && !type.IsAbstract - select type).FirstOrDefault(); - if (pluginConfigurationHandlerType == null) - throw new ArgumentException("A Plugin was found, but no Configuration Handler was found in this Assembly - this is required", "pluginAssembly"); - - // Find Web Handler - var pluginWebHandlerType = (from type in assembly.GetTypes() - where typeof(PluginWebHandler).IsAssignableFrom(type) && !type.IsAbstract - select type).FirstOrDefault(); - - Dictionary pluginAssemblyReferences = new Dictionary(); - foreach (string referenceFilename in Directory.EnumerateFiles(pluginLocation, "*.dll", SearchOption.TopDirectoryOnly)) - { - if (!referenceFilename.Equals(assembly.Location, StringComparison.InvariantCultureIgnoreCase)) - { - try - { - Assembly pluginRefAssembly = Assembly.ReflectionOnlyLoadFrom(referenceFilename); - pluginAssemblyReferences[pluginRefAssembly.FullName] = referenceFilename.Substring(pluginLocation.Length + 1); - } - catch (Exception) { } // Ignore Load Exceptions - } - } - - PluginManifest pluginManifest = new PluginManifest() - { - Id = pluginId, - Name = pluginName, - Author = pluginAuthor, - Version = pluginVersion, - AssemblyPath = pluginAssemblyPath, - TypeName = pluginTypeName, - AssemblyReferences = pluginAssemblyReferences, - PluginAssembly = assembly, - Type = pluginType, - PluginLocation = pluginLocation, - ConfigurationHandlerType = pluginConfigurationHandlerType, - ConfigurationHandlerTypeName = pluginConfigurationHandlerType.FullName, - WebHandlerType = pluginWebHandlerType, - WebHandlerTypeName = (pluginWebHandlerType == null ? null : pluginWebHandlerType.FullName) - }; - - pluginManifest.Features = (from type in assembly.GetTypes() - where typeof(PluginFeature).IsAssignableFrom(type) && !type.IsAbstract - select PluginFeatureManifest.FromPluginFeatureType(type, pluginManifest)).ToList(); - - return pluginManifest; - } - - public string ToManifestFile() - { - return JsonConvert.SerializeObject(this, Formatting.Indented); - } - public bool InitializePlugin(DiscoDataContext dbContext) - { - var assemblyFullPath = Path.Combine(this.PluginLocation, this.AssemblyPath); - - if (!File.Exists(assemblyFullPath)) - throw new FileNotFoundException(string.Format("Plugin Assembly [{0}] not found at: {1}", this.Id, assemblyFullPath), assemblyFullPath); - - if (this.PluginAssembly == null) - this.PluginAssembly = Assembly.LoadFile(assemblyFullPath); - - if (this.PluginAssembly == null) - throw new InvalidOperationException(string.Format("Unable to load Plugin Assembly [{0}] at: {1}", this.Id, assemblyFullPath)); - - PluginsLog.LogInitializingPluginAssembly(this.PluginAssembly); - - // Check Manifest/Assembly Versions Match - if (this.Version != this.PluginAssembly.GetName().Version) - throw new InvalidOperationException(string.Format("The plugin [{0}] manifest version [{1}] doesn't match the plugin assembly [{2} : {3}]", this.Id, this.Version, assemblyFullPath, this.PluginAssembly.GetName().Version)); - - if (this.Type == null) - this.Type = this.PluginAssembly.GetType(this.TypeName, true, true); - - if (this.ConfigurationHandlerType == null) - this.ConfigurationHandlerType = this.PluginAssembly.GetType(this.ConfigurationHandlerTypeName, true, true); - - if (!string.IsNullOrEmpty(this.WebHandlerTypeName) && this.WebHandlerType == null) - this.WebHandlerType = this.PluginAssembly.GetType(this.WebHandlerTypeName, true, true); - - // Update non-static values - this.StorageLocation = Path.Combine(dbContext.DiscoConfiguration.PluginStorageLocation, this.Id); - - // Initialize Plugin - using (var pluginInstance = this.CreateInstance()) - { - pluginInstance.Initalize(dbContext); - } - PluginsLog.LogInitializedPlugin(this); - - // Initialize Plugin Features - if (Features != null) - { - foreach (var feature in Features) - { - feature.Initialize(dbContext, this); - } - } - else - { - Features = new List(); - } - - return true; - } - - public PluginConfigurationHandler CreateConfigurationHandler() - { - // Configuration Handler is Required - if (this.ConfigurationHandlerType == null) - throw new ArgumentNullException("ConfigurationType"); - if (!typeof(PluginConfigurationHandler).IsAssignableFrom(this.ConfigurationHandlerType)) - throw new ArgumentException("The Plugin ConfigurationHandlerType must inherit Disco.Services.Plugins.PluginConfigurationHandler", "ConfigurationHandlerType"); - - var handler = (PluginConfigurationHandler)Activator.CreateInstance(this.ConfigurationHandlerType); - - handler.Manifest = this; - - return handler; - } - [JsonIgnore] - public bool HasWebHandler - { - get - { - return this.WebHandlerType != null; - } - } - public PluginWebHandler CreateWebHandler(Controller HostController) - { - // Web Handler is Not Required - if (this.WebHandlerType == null) - return null; - - if (!typeof(PluginWebHandler).IsAssignableFrom(this.WebHandlerType)) - throw new ArgumentException("The Plugin WebHandlerType must inherit Disco.Services.Plugins.PluginWebHandler", "WebHandlerType"); - - var handler = (PluginWebHandler)Activator.CreateInstance(this.WebHandlerType); - - handler.Manifest = this; - handler.HostController = HostController; - - return handler; - } - - public Tuple WebResourcePath(string Resource) - { - if (string.IsNullOrWhiteSpace(Resource)) - throw new ArgumentNullException("Resource"); - - if (Resource.Contains("..")) - throw new ArgumentException("Resource Paths cannot navigate to the parent", "Resource"); - - var resourcePath = Path.Combine(this.PluginLocation, "WebResources", Resource.Replace(@"/", @"\")); - - Tuple resourceHash; - string resourceKey = string.Format("{0}://{1}", this.Name, Resource); - if (WebResourceHashes.TryGetValue(resourceKey, out resourceHash)) - { -#if DEBUG - var fileDateCheck = System.IO.File.GetLastWriteTime(resourcePath); - if (fileDateCheck == resourceHash.Item2) -#endif - return new Tuple(resourcePath, resourceHash.Item1); - } - - if (!File.Exists(resourcePath)) - throw new FileNotFoundException(string.Format("Resource [{0}] not found", Resource), resourcePath); - - var fileDate = System.IO.File.GetLastWriteTime(resourcePath); - var fileBytes = System.IO.File.ReadAllBytes(resourcePath); - if (fileBytes.Length > 0) - { - using (SHA256 sha = SHA256.Create()) - { - byte[] hash = sha.ComputeHash(fileBytes); - resourceHash = new Tuple(HttpServerUtility.UrlTokenEncode(hash), fileDate); - } - } - WebResourceHashes[resourceKey] = resourceHash; - - return new Tuple(resourcePath, resourceHash.Item1); - } - } -} +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Reflection; +using System.Security.Cryptography; +using System.Text; +using System.Threading.Tasks; +using System.Web; +using System.Web.Mvc; +using Disco.Data.Repository; +using Disco.Services.Tasks; +using Newtonsoft.Json; + +namespace Disco.Services.Plugins +{ + public class PluginManifest + { + public string Id { get; set; } + public string Name { get; set; } + public string Author { get; set; } + public Version Version { get; set; } + [JsonProperty] + internal string AssemblyPath { get; set; } + [JsonProperty] + private string TypeName { get; set; } + [JsonProperty] + private string ConfigurationHandlerTypeName { get; set; } + [JsonProperty] + private string WebHandlerTypeName { get; set; } + + [JsonProperty] + internal Dictionary AssemblyReferences { get; set; } + + [JsonProperty] + public List Features { get; private set; } + + [JsonIgnore] + internal Assembly PluginAssembly { get; private set; } + [JsonIgnore] + internal Type Type { get; private set; } + [JsonIgnore] + private Type ConfigurationHandlerType { get; set; } + [JsonIgnore] + private Type WebHandlerType { get; set; } + + [JsonIgnore] + public string PluginLocation { get; private set; } + [JsonIgnore] + public string StorageLocation { get; private set; } + + [JsonIgnore] + private bool environmentInitalized { get; set; } + + private static Dictionary> WebResourceHashes = new Dictionary>(); + + public List GetFeatures(Type FeatureCategoryType) + { + return this.Features.Where(fm => fm.CategoryType.IsAssignableFrom(FeatureCategoryType)).ToList(); + } + public PluginFeatureManifest GetFeature(string PluginFeatureId) + { + return this.Features.Where(fm => fm.Id == PluginFeatureId).FirstOrDefault(); + } + + public Plugin CreateInstance() + { + var i = (Plugin)Activator.CreateInstance(Type); + i.Manifest = this; + return i; + } + + /// + /// Deserializes a Json Manifest + /// + /// Path to the Json Manifest file + /// + public static PluginManifest FromPluginManifestFile(string FilePath) + { + using (Stream manifestStream = File.OpenRead(FilePath)) + { + PluginManifest manifest = FromPluginManifestFile(manifestStream, Path.GetDirectoryName(FilePath)); + return manifest; + } + } + + /// + /// Deserializes a Json Manifest + /// + /// Stream containing the encoded Json Manifest File + /// PluginLocation to be set in the manifest + /// + public static PluginManifest FromPluginManifestFile(Stream FileStream, string PluginLocation = null) + { + string manifestString; + using (StreamReader manifestStreamReader = new StreamReader(FileStream)) + { + manifestString = manifestStreamReader.ReadToEnd(); + } + + var manifest = JsonConvert.DeserializeObject(manifestString); + + manifest.PluginLocation = PluginLocation; + + return manifest; + } + /// + /// Uses reflection to build a Plugin Manifest + /// + /// Assembly containing a plugin + /// A plugin manifest for the first encountered plugin within the assembly + public static PluginManifest FromPluginAssembly(Assembly assembly) + { + // Determine Plugin Properties + var pluginType = (from type in assembly.GetTypes() + where typeof(Plugin).IsAssignableFrom(type) && !type.IsAbstract + select type).FirstOrDefault(); + + if (pluginType == null) + throw new ArgumentException("No Plugin was found in this Assembly", "pluginAssembly"); + + var assemblyName = assembly.GetName(); + + var pluginAttributes = pluginType.GetCustomAttribute(false); + + if (pluginAttributes == null) + throw new ArgumentException(string.Format("Plugin found [{0}], but no PluginAttribute found", pluginType.Name), "pluginAssembly"); + + var pluginId = pluginAttributes.Id; + var pluginName = pluginAttributes.Name; + var pluginAuthor = pluginAttributes.Author; + + var pluginVersion = assemblyName.Version; + var pluginAssemblyPath = Path.GetFileName(assembly.Location); + var pluginTypeName = pluginType.FullName; + var pluginLocation = Path.GetDirectoryName(assembly.Location); + + // Find Configuration Handler + var pluginConfigurationHandlerType = (from type in assembly.GetTypes() + where typeof(PluginConfigurationHandler).IsAssignableFrom(type) && !type.IsAbstract + select type).FirstOrDefault(); + if (pluginConfigurationHandlerType == null) + throw new ArgumentException("A Plugin was found, but no Configuration Handler was found in this Assembly - this is required", "pluginAssembly"); + + // Find Web Handler + var pluginWebHandlerType = (from type in assembly.GetTypes() + where typeof(PluginWebHandler).IsAssignableFrom(type) && !type.IsAbstract + select type).FirstOrDefault(); + + Dictionary pluginAssemblyReferences = new Dictionary(); + foreach (string referenceFilename in Directory.EnumerateFiles(pluginLocation, "*.dll", SearchOption.TopDirectoryOnly)) + { + if (!referenceFilename.Equals(assembly.Location, StringComparison.InvariantCultureIgnoreCase)) + { + try + { + Assembly pluginRefAssembly = Assembly.ReflectionOnlyLoadFrom(referenceFilename); + pluginAssemblyReferences[pluginRefAssembly.FullName] = referenceFilename.Substring(pluginLocation.Length + 1); + } + catch (Exception) { } // Ignore Load Exceptions + } + } + + PluginManifest pluginManifest = new PluginManifest() + { + Id = pluginId, + Name = pluginName, + Author = pluginAuthor, + Version = pluginVersion, + AssemblyPath = pluginAssemblyPath, + TypeName = pluginTypeName, + AssemblyReferences = pluginAssemblyReferences, + PluginAssembly = assembly, + Type = pluginType, + PluginLocation = pluginLocation, + ConfigurationHandlerType = pluginConfigurationHandlerType, + ConfigurationHandlerTypeName = pluginConfigurationHandlerType.FullName, + WebHandlerType = pluginWebHandlerType, + WebHandlerTypeName = (pluginWebHandlerType == null ? null : pluginWebHandlerType.FullName) + }; + + pluginManifest.Features = (from type in assembly.GetTypes() + where typeof(PluginFeature).IsAssignableFrom(type) && !type.IsAbstract + select PluginFeatureManifest.FromPluginFeatureType(type, pluginManifest)).ToList(); + + return pluginManifest; + } + + public string ToManifestFile() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + private bool InitializePluginEnvironment(DiscoDataContext dbContext) + { + if (!environmentInitalized) + { + + var assemblyFullPath = Path.Combine(this.PluginLocation, this.AssemblyPath); + + if (!File.Exists(assemblyFullPath)) + throw new FileNotFoundException(string.Format("Plugin Assembly [{0}] not found at: {1}", this.Id, assemblyFullPath), assemblyFullPath); + + if (this.PluginAssembly == null) + this.PluginAssembly = Assembly.LoadFile(assemblyFullPath); + + if (this.PluginAssembly == null) + throw new InvalidOperationException(string.Format("Unable to load Plugin Assembly [{0}] at: {1}", this.Id, assemblyFullPath)); + + PluginsLog.LogInitializingPluginAssembly(this.PluginAssembly); + + // Check Manifest/Assembly Versions Match + if (this.Version != this.PluginAssembly.GetName().Version) + throw new InvalidOperationException(string.Format("The plugin [{0}] manifest version [{1}] doesn't match the plugin assembly [{2} : {3}]", this.Id, this.Version, assemblyFullPath, this.PluginAssembly.GetName().Version)); + + if (this.Type == null) + this.Type = this.PluginAssembly.GetType(this.TypeName, true, true); + + if (this.ConfigurationHandlerType == null) + this.ConfigurationHandlerType = this.PluginAssembly.GetType(this.ConfigurationHandlerTypeName, true, true); + + if (!string.IsNullOrEmpty(this.WebHandlerTypeName) && this.WebHandlerType == null) + this.WebHandlerType = this.PluginAssembly.GetType(this.WebHandlerTypeName, true, true); + + // Update non-static values + this.StorageLocation = Path.Combine(dbContext.DiscoConfiguration.PluginStorageLocation, this.Id); + + environmentInitalized = true; + } + + return true; + } + internal bool BeforePluginUpdate(DiscoDataContext dbContext, PluginManifest UpdateManifest, ScheduledTaskStatus Status) + { + // Initialize Plugin + InitializePluginEnvironment(dbContext); + + using (var pluginInstance = this.CreateInstance()) + { + pluginInstance.BeforeUpdate(dbContext, UpdateManifest, Status); + } + + return true; + } + internal bool AfterPluginUpdate(DiscoDataContext dbContext, PluginManifest PreviousManifest) + { + // Initialize Plugin + InitializePluginEnvironment(dbContext); + + using (var pluginInstance = this.CreateInstance()) + { + pluginInstance.AfterUpdate(dbContext, PreviousManifest); + } + + return true; + } + internal bool UninstallPlugin(DiscoDataContext dbContext, bool UninstallData, ScheduledTaskStatus Status) + { + // Initialize Plugin + InitializePluginEnvironment(dbContext); + + using (var pluginInstance = this.CreateInstance()) + { + pluginInstance.Uninstall(dbContext, UninstallData, Status); + } + + return true; + } + internal bool InstallPlugin(DiscoDataContext dbContext, ScheduledTaskStatus Status) + { + // Initialize Plugin + InitializePluginEnvironment(dbContext); + + using (var pluginInstance = this.CreateInstance()) + { + pluginInstance.Install(dbContext, Status); + } + + return true; + } + internal bool InitializePlugin(DiscoDataContext dbContext) + { + // Initialize Plugin + InitializePluginEnvironment(dbContext); + + // Initialize Plugin + using (var pluginInstance = this.CreateInstance()) + { + pluginInstance.Initialize(dbContext); + } + PluginsLog.LogInitializedPlugin(this); + + // Initialize Plugin Features + if (Features != null) + { + foreach (var feature in Features) + { + feature.Initialize(dbContext, this); + } + } + else + { + Features = new List(); + } + + return true; + } + + public PluginConfigurationHandler CreateConfigurationHandler() + { + // Configuration Handler is Required + if (this.ConfigurationHandlerType == null) + throw new ArgumentNullException("ConfigurationType"); + if (!typeof(PluginConfigurationHandler).IsAssignableFrom(this.ConfigurationHandlerType)) + throw new ArgumentException("The Plugin ConfigurationHandlerType must inherit Disco.Services.Plugins.PluginConfigurationHandler", "ConfigurationHandlerType"); + + var handler = (PluginConfigurationHandler)Activator.CreateInstance(this.ConfigurationHandlerType); + + handler.Manifest = this; + + return handler; + } + [JsonIgnore] + public bool HasWebHandler + { + get + { + return this.WebHandlerType != null; + } + } + public PluginWebHandler CreateWebHandler(Controller HostController) + { + // Web Handler is Not Required + if (this.WebHandlerType == null) + return null; + + if (!typeof(PluginWebHandler).IsAssignableFrom(this.WebHandlerType)) + throw new ArgumentException("The Plugin WebHandlerType must inherit Disco.Services.Plugins.PluginWebHandler", "WebHandlerType"); + + var handler = (PluginWebHandler)Activator.CreateInstance(this.WebHandlerType); + + handler.Manifest = this; + handler.HostController = HostController; + + return handler; + } + + public Tuple WebResourcePath(string Resource) + { + if (string.IsNullOrWhiteSpace(Resource)) + throw new ArgumentNullException("Resource"); + + if (Resource.Contains("..")) + throw new ArgumentException("Resource Paths cannot navigate to the parent", "Resource"); + + var resourcePath = Path.Combine(this.PluginLocation, "WebResources", Resource.Replace(@"/", @"\")); + + Tuple resourceHash; + string resourceKey = string.Format("{0}://{1}", this.Name, Resource); + if (WebResourceHashes.TryGetValue(resourceKey, out resourceHash)) + { +#if DEBUG + var fileDateCheck = System.IO.File.GetLastWriteTime(resourcePath); + if (fileDateCheck == resourceHash.Item2) +#endif + return new Tuple(resourcePath, resourceHash.Item1); + } + + if (!File.Exists(resourcePath)) + throw new FileNotFoundException(string.Format("Resource [{0}] not found", Resource), resourcePath); + + var fileDate = System.IO.File.GetLastWriteTime(resourcePath); + var fileBytes = System.IO.File.ReadAllBytes(resourcePath); + if (fileBytes.Length > 0) + { + using (SHA256 sha = SHA256.Create()) + { + byte[] hash = sha.ComputeHash(fileBytes); + resourceHash = new Tuple(HttpServerUtility.UrlTokenEncode(hash), fileDate); + } + } + WebResourceHashes[resourceKey] = resourceHash; + + return new Tuple(resourcePath, resourceHash.Item1); + } + } +} diff --git a/Disco.Services/Plugins/Plugins.cs b/Disco.Services/Plugins/Plugins.cs index 027dfe46..8456c526 100644 --- a/Disco.Services/Plugins/Plugins.cs +++ b/Disco.Services/Plugins/Plugins.cs @@ -1,363 +1,427 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using Disco.Data.Repository; -using System.IO.Compression; - -namespace Disco.Services.Plugins -{ - public static class Plugins - { - private static Dictionary _PluginAssemblyManifests; - private static Dictionary _PluginManifests; - internal static Dictionary FeatureCategoryDisplayNames; - - private static object _PluginLock = new object(); - public static string PluginPath { get; private set; } - - public static PluginManifest GetPlugin(string PluginId, Type ContainsCategoryType) - { - if (_PluginManifests == null) - throw new InvalidOperationException("Plugins have not been initialized"); - - PluginManifest manifest; - if (_PluginManifests.TryGetValue(PluginId, out manifest)) - { - if (ContainsCategoryType == null) - return manifest; - else - { - foreach (var featureManifest in manifest.Features) - { - if (ContainsCategoryType.IsAssignableFrom(featureManifest.CategoryType)) - return manifest; - } - - throw new InvalidFeatureCategoryTypeException(ContainsCategoryType, PluginId); - } - } - else - { - throw new UnknownPluginException(PluginId); - } - } - public static PluginManifest GetPlugin(string PluginId) - { - return GetPlugin(PluginId, null); - } - public static PluginManifest GetPlugin(Assembly PluginAssembly) - { - if (_PluginAssemblyManifests == null) - throw new InvalidOperationException("Plugins have not been initialized"); - - PluginManifest manifest; - if (_PluginAssemblyManifests.TryGetValue(PluginAssembly, out manifest)) - { - return manifest; - } - else - { - throw new UnknownPluginException(PluginAssembly.FullName); - } - } - public static List GetPlugins() - { - if (_PluginManifests == null) - throw new InvalidOperationException("Plugins have not been initialized"); - - return _PluginManifests.Values.ToList(); - } - - public static PluginFeatureManifest GetPluginFeature(string PluginFeatureId, Type CategoryType) - { - if (_PluginManifests == null) - throw new InvalidOperationException("Plugins have not been initialized"); - - var featureManifest = _PluginManifests.Values.SelectMany(pm => pm.Features).Where(fm => fm.Id == PluginFeatureId).FirstOrDefault(); - - if (featureManifest == null) - throw new UnknownPluginException(PluginFeatureId, "Unknown Feature"); - - if (CategoryType == null) - return featureManifest; - else - if (CategoryType.IsAssignableFrom(featureManifest.CategoryType)) - return featureManifest; - else - throw new InvalidFeatureCategoryTypeException(CategoryType, PluginFeatureId); - } - public static PluginFeatureManifest GetPluginFeature(string PluginFeatureId) - { - return GetPluginFeature(PluginFeatureId, null); - } - public static List GetPluginFeatures(Type FeatureCategoryType) - { - if (_PluginManifests == null) - throw new InvalidOperationException("Plugins have not been initialized"); - - return _PluginManifests.Values.SelectMany(pm => pm.Features).Where(fm => fm.CategoryType.IsAssignableFrom(FeatureCategoryType)).OrderBy(fm => fm.PluginManifest.Name).ToList(); - } - public static List GetPluginFeatures() - { - if (_PluginManifests == null) - throw new InvalidOperationException("Plugins have not been initialized"); - - return _PluginManifests.Values.SelectMany(pm => pm.Features).ToList(); - } - - - public static string PluginFeatureCategoryDisplayName(Type FeatureCategoryType) - { - if (FeatureCategoryType == null) - throw new ArgumentNullException("FeatureType"); - - string displayName; - if (FeatureCategoryDisplayNames.TryGetValue(FeatureCategoryType, out displayName)) - return displayName; - else - throw new InvalidOperationException(string.Format("Unknown Plugin Feature Category Type: [{0}]", FeatureCategoryType.Name)); - } - - public static void InitalizePlugins(DiscoDataContext dbContext) - { - if (_PluginManifests == null) - { - lock (_PluginLock) - { - if (_PluginManifests == null) - { - Dictionary loadedPlugins = new Dictionary(); - - PluginPath = dbContext.DiscoConfiguration.PluginsLocation; - - AppDomain appDomain = AppDomain.CurrentDomain; - - // Subscribe to Assembly Resolving - appDomain.AssemblyResolve += CurrentDomain_AssemblyResolve; - - DirectoryInfo pluginDirectoryRoot = new DirectoryInfo(PluginPath); - if (pluginDirectoryRoot.Exists) - { - foreach (DirectoryInfo pluginDirectory in pluginDirectoryRoot.EnumerateDirectories()) - { - string pluginManifestFilename = Path.Combine(pluginDirectory.FullName, "manifest.json"); - if (File.Exists(pluginManifestFilename)) - { - PluginManifest pluginManifest = null; - try - { - pluginManifest = PluginManifest.FromPluginManifestFile(pluginManifestFilename); - - if (pluginManifest != null) - { - if (loadedPlugins.ContainsKey(pluginManifest.Id)) - throw new InvalidOperationException(string.Format("The plugin [{0}] is already initialized", pluginManifest.Id)); - - pluginManifest.InitializePlugin(dbContext); - - loadedPlugins[pluginManifest.Id] = pluginManifest; - } - } - catch (Exception ex) { PluginsLog.LogInitializeException(pluginManifestFilename, ex); } - } - } - } - - _PluginManifests = loadedPlugins; - - ReinitializePluginEnvironment(); - - // Install Plugins - TEMPORARY? Workaround until UI in place? Or Useful for 'built-in' plugins? - if (pluginDirectoryRoot.Exists) - { - foreach (FileInfo pluginPackageFile in pluginDirectoryRoot.EnumerateFiles("*.discoPlugin", SearchOption.TopDirectoryOnly)) - { - // Install Plugin - InstallPlugin(dbContext, pluginPackageFile.FullName); - // Delete Package File - pluginPackageFile.Delete(); - } - } - } - } - } - } - - private static void ReinitializePluginEnvironment() - { - FeatureCategoryDisplayNames = InitializeFeatureCategoryDetails(_PluginManifests.Values); - _PluginAssemblyManifests = _PluginManifests.Values.ToDictionary(p => p.PluginAssembly, p => p); - } - - public static void InstallPlugin(DiscoDataContext dbContext, String PackageFilePath) - { - using (var packageStream = File.OpenRead(PackageFilePath)) - { - InstallPlugin(dbContext, packageStream); - } - } - - public static void InstallPlugin(DiscoDataContext dbContext, Stream PluginPackage) - { - if (_PluginManifests == null) - throw new InvalidOperationException("Plugins have not been initialized"); - - using (MemoryStream packageStream = new MemoryStream()) - { - PluginPackage.CopyTo(packageStream); - packageStream.Position = 0; - - using (ZipArchive packageArchive = new ZipArchive(packageStream, ZipArchiveMode.Read, false)) - { - - ZipArchiveEntry packageManifestEntry = packageArchive.GetEntry("manifest.json"); - if (packageManifestEntry == null) - throw new InvalidDataException("The plugin package does not contain the 'manifest.json' entry"); - - PluginManifest packageManifest; - - using (Stream packageManifestStream = packageManifestEntry.Open()) - { - packageManifest = PluginManifest.FromPluginManifestFile(packageManifestStream); - } - - lock (_PluginLock) - { - if (_PluginManifests == null) - throw new InvalidOperationException("Plugins have not been initialized"); - - // Ensure not already installed - if (_PluginManifests.ContainsKey(packageManifest.Id)) - throw new InvalidOperationException(string.Format("The '{0} [{1}]' Plugin is already installed, please uninstall any existing versions before trying again", packageManifest.Name, packageManifest.Id)); - - string packagePath = Path.Combine(dbContext.DiscoConfiguration.PluginsLocation, packageManifest.Id); - - // Force Delete of Existing Folder - if (Directory.Exists(packagePath)) - Directory.Delete(packagePath, true); - - Directory.CreateDirectory(packagePath); - - // Extract Package Contents - foreach (var packageEntry in packageArchive.Entries) - { - // Determine Extraction Path - var packageEntryTarget = Path.Combine(packagePath, packageEntry.FullName); - - // Create Sub Directories - Directory.CreateDirectory(Path.GetDirectoryName(packageEntryTarget)); - - using (var packageEntryStream = packageEntry.Open()) - { - using (var packageTargetStream = File.Open(packageEntryTarget, FileMode.Create, FileAccess.Write, FileShare.None)) - { - packageEntryStream.CopyTo(packageTargetStream); - } - } - } - - // Reload Manifest - packageManifest = PluginManifest.FromPluginManifestFile(Path.Combine(packagePath, "manifest.json")); - - // Initialize Plugin - packageManifest.InitializePlugin(dbContext); - - // Add Plugin Manifest to Environment - _PluginManifests[packageManifest.Id] = packageManifest; - - // Reinitialize Plugin Environment - ReinitializePluginEnvironment(); - } - - } - } - } - - private static Dictionary InitializeFeatureCategoryDetails(IEnumerable pluginManifests) - { - Dictionary categoryDisplayNames = new Dictionary(); - - // Always add 'Other' - var otherFeatureType = typeof(Features.Other.OtherFeature); - categoryDisplayNames.Add(otherFeatureType, ((PluginFeatureCategoryAttribute)otherFeatureType.GetCustomAttributes(typeof(PluginFeatureCategoryAttribute), false).FirstOrDefault()).DisplayName); - - foreach (var pluginManifest in pluginManifests) - { - foreach (var featureManifest in pluginManifest.Features) - { - if (!categoryDisplayNames.ContainsKey(featureManifest.CategoryType)) - { - string displayName = null; - - var displayAttributes = featureManifest.CategoryType.GetCustomAttributes(typeof(PluginFeatureCategoryAttribute), true); - if (displayAttributes != null && displayAttributes.Length > 0) - displayName = ((PluginFeatureCategoryAttribute)(displayAttributes[0])).DisplayName; - - if (string.IsNullOrWhiteSpace(displayName)) - displayName = featureManifest.CategoryType.Name; - - categoryDisplayNames[featureManifest.CategoryType] = displayName; - } - } - } - return categoryDisplayNames; - } - - #region Plugin Referenced Assemblies Resolving - - public static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args) - { - if (args.RequestingAssembly.Location.StartsWith(PluginPath, StringComparison.InvariantCultureIgnoreCase) && _PluginManifests != null) - { - // Try best guess first - PluginManifest requestingPlugin = _PluginManifests.Values.Where(p => p.Type.Assembly == args.RequestingAssembly).FirstOrDefault(); - if (requestingPlugin != null) - { - Assembly loadedAssembly = CurrentDomain_AssemblyResolve_ByPlugin(requestingPlugin, args); - if (loadedAssembly != null) - return loadedAssembly; - } - - // Try all Plugin References - foreach (var pluginDef in _PluginManifests.Values) - { - Assembly loadedAssembly = CurrentDomain_AssemblyResolve_ByPlugin(pluginDef, args); - if (loadedAssembly != null) - return loadedAssembly; - } - } - return null; - } - private static Assembly CurrentDomain_AssemblyResolve_ByPlugin(PluginManifest pluginManifest, ResolveEventArgs args) - { - if (pluginManifest.AssemblyReferences != null) - { - string assemblyPath; - if (pluginManifest.AssemblyReferences.TryGetValue(args.Name, out assemblyPath)) - { - var resolvedAssemblyPath = Path.Combine(pluginManifest.PluginLocation, assemblyPath); - - try - { - Assembly loadedAssembly = Assembly.LoadFile(resolvedAssemblyPath); - - PluginsLog.LogPluginReferenceAssemblyLoaded(args.Name, resolvedAssemblyPath, args.RequestingAssembly.FullName); - - return loadedAssembly; - } - catch (Exception ex) - { - PluginsLog.LogPluginException(string.Format("Resolving Plugin Reference Assembly: '{0}' [{1}]; Requested by: '{2}' [{3}]; Disco.Plugins.DiscoPlugins.CurrentDomain_AssemblyResolve()", args.Name, resolvedAssemblyPath, args.RequestingAssembly.FullName, args.RequestingAssembly.Location), ex); - } - } - } - return null; - } - - #endregion - } -} +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using Disco.Data.Repository; +using System.IO.Compression; + +namespace Disco.Services.Plugins +{ + public static class Plugins + { + private static Dictionary _PluginAssemblyManifests; + private static Dictionary _PluginManifests; + internal static Dictionary FeatureCategoryDisplayNames; + + internal static object _PluginLock = new object(); + public static string PluginPath { get; private set; } + + public static bool PluginsLoaded + { + get + { + return (_PluginManifests != null); + } + } + + internal static void AddPlugin(PluginManifest Manifest) + { + lock (_PluginLock) + { + if (_PluginManifests.ContainsKey(Manifest.Id)) + throw new InvalidOperationException(string.Format("The '{0} [{1}]' Plugin is already installed, please uninstall any existing versions before trying again", Manifest.Name, Manifest.Id)); + + // Add Plugin Manifest to Environment + _PluginManifests[Manifest.Id] = Manifest; + + // Reinitialize Plugin Host Environment + Plugins.ReinitializePluginHostEnvironment(); + } + } + + public static PluginManifest GetPlugin(string PluginId, Type ContainsCategoryType) + { + if (_PluginManifests == null) + throw new InvalidOperationException("Plugins have not been initialized"); + + PluginManifest manifest; + if (_PluginManifests.TryGetValue(PluginId, out manifest)) + { + if (ContainsCategoryType == null) + return manifest; + else + { + foreach (var featureManifest in manifest.Features) + { + if (ContainsCategoryType.IsAssignableFrom(featureManifest.CategoryType)) + return manifest; + } + + throw new InvalidFeatureCategoryTypeException(ContainsCategoryType, PluginId); + } + } + else + { + throw new UnknownPluginException(PluginId); + } + } + public static PluginManifest GetPlugin(string PluginId) + { + return GetPlugin(PluginId, null); + } + public static PluginManifest GetPlugin(Assembly PluginAssembly) + { + if (_PluginAssemblyManifests == null) + throw new InvalidOperationException("Plugins have not been initialized"); + + PluginManifest manifest; + if (_PluginAssemblyManifests.TryGetValue(PluginAssembly, out manifest)) + { + return manifest; + } + else + { + throw new UnknownPluginException(PluginAssembly.FullName); + } + } + public static List GetPlugins() + { + if (_PluginManifests == null) + throw new InvalidOperationException("Plugins have not been initialized"); + + return _PluginManifests.Values.ToList(); + } + + public static PluginFeatureManifest GetPluginFeature(string PluginFeatureId, Type CategoryType) + { + if (_PluginManifests == null) + throw new InvalidOperationException("Plugins have not been initialized"); + + var featureManifest = _PluginManifests.Values.SelectMany(pm => pm.Features).Where(fm => fm.Id == PluginFeatureId).FirstOrDefault(); + + if (featureManifest == null) + throw new UnknownPluginException(PluginFeatureId, "Unknown Feature"); + + if (CategoryType == null) + return featureManifest; + else + if (CategoryType.IsAssignableFrom(featureManifest.CategoryType)) + return featureManifest; + else + throw new InvalidFeatureCategoryTypeException(CategoryType, PluginFeatureId); + } + public static PluginFeatureManifest GetPluginFeature(string PluginFeatureId) + { + return GetPluginFeature(PluginFeatureId, null); + } + public static List GetPluginFeatures(Type FeatureCategoryType) + { + if (_PluginManifests == null) + throw new InvalidOperationException("Plugins have not been initialized"); + + return _PluginManifests.Values.SelectMany(pm => pm.Features).Where(fm => fm.CategoryType.IsAssignableFrom(FeatureCategoryType)).OrderBy(fm => fm.PluginManifest.Name).ToList(); + } + public static List GetPluginFeatures() + { + if (_PluginManifests == null) + throw new InvalidOperationException("Plugins have not been initialized"); + + return _PluginManifests.Values.SelectMany(pm => pm.Features).ToList(); + } + + + public static string PluginFeatureCategoryDisplayName(Type FeatureCategoryType) + { + if (FeatureCategoryType == null) + throw new ArgumentNullException("FeatureType"); + + string displayName; + if (FeatureCategoryDisplayNames.TryGetValue(FeatureCategoryType, out displayName)) + return displayName; + else + throw new InvalidOperationException(string.Format("Unknown Plugin Feature Category Type: [{0}]", FeatureCategoryType.Name)); + } + + public static void InitalizePlugins(DiscoDataContext dbContext) + { + if (_PluginManifests == null) + { + lock (_PluginLock) + { + if (_PluginManifests == null) + { + Dictionary loadedPlugins = new Dictionary(); + + PluginPath = dbContext.DiscoConfiguration.PluginsLocation; + + AppDomain appDomain = AppDomain.CurrentDomain; + + // Subscribe to Assembly Resolving + appDomain.AssemblyResolve += CurrentDomain_AssemblyResolve; + + DirectoryInfo pluginDirectoryRoot = new DirectoryInfo(PluginPath); + if (pluginDirectoryRoot.Exists) + { + foreach (DirectoryInfo pluginDirectory in pluginDirectoryRoot.EnumerateDirectories()) + { + string pluginManifestFilename = Path.Combine(pluginDirectory.FullName, "manifest.json"); + if (File.Exists(pluginManifestFilename)) + { + PluginManifest pluginManifest = null; + try + { + pluginManifest = PluginManifest.FromPluginManifestFile(pluginManifestFilename); + + if (pluginManifest != null) + { + if (loadedPlugins.ContainsKey(pluginManifest.Id)) + throw new InvalidOperationException(string.Format("The plugin [{0}] is already initialized", pluginManifest.Id)); + + // Check for Update + string updatePackagePath = Path.Combine(pluginDirectoryRoot.FullName, string.Format("{0}.discoPlugin", pluginManifest.Id)); + if (File.Exists(updatePackagePath)) + { + // Update Plugin + pluginManifest = UpdatePlugin(dbContext, pluginManifest, updatePackagePath); + } + + if (pluginManifest != null) + { + pluginManifest.InitializePlugin(dbContext); + loadedPlugins[pluginManifest.Id] = pluginManifest; + } + } + } + catch (Exception ex) { PluginsLog.LogInitializeException(pluginManifestFilename, ex); } + } + else + { + string pluginManifestUninstallFilename = Path.Combine(pluginDirectory.FullName, "manifest.uninstall.json"); + if (File.Exists(pluginManifestUninstallFilename)) + { + PluginManifest uninstallManifest = PluginManifest.FromPluginManifestFile(pluginManifestUninstallFilename); + + // Remove All Files + DateTime removeRetryTime = DateTime.Now.AddSeconds(60); + while (true) + { + UnauthorizedAccessException lastAccessException; + try + { + pluginDirectory.Delete(true); + break; + } + catch (UnauthorizedAccessException ex) { lastAccessException = ex; } + if (removeRetryTime < DateTime.Now) + throw lastAccessException; + System.Threading.Thread.Sleep(2000); + } + + // Check for Data Removal + bool DataUninstalled = false; + string pluginStorageLocation = Path.Combine(dbContext.DiscoConfiguration.PluginStorageLocation, uninstallManifest.Id); + + string pluginManifestUninstallDataFilename = Path.Combine(pluginStorageLocation, "manifest.uninstall.json"); + if (File.Exists(pluginManifestUninstallDataFilename)) + { + DataUninstalled = true; + Directory.Delete(pluginStorageLocation, true); + } + + PluginsLog.LogUninstalled(uninstallManifest, DataUninstalled); + } + } + } + } + + _PluginManifests = loadedPlugins; + + ReinitializePluginHostEnvironment(); + } + } + } + } + + private static void ReinitializePluginHostEnvironment() + { + FeatureCategoryDisplayNames = InitializeFeatureCategoryDetails(_PluginManifests.Values); + _PluginAssemblyManifests = _PluginManifests.Values.ToDictionary(p => p.PluginAssembly, p => p); + } + + public static PluginManifest UpdatePlugin(DiscoDataContext dbContext, PluginManifest ExistingManifest, String UpdatePluginPackageFilePath) + { + PluginManifest updatedManifest; + + using (var packageStream = File.OpenRead(UpdatePluginPackageFilePath)) + { + updatedManifest = UpdatePlugin(dbContext, ExistingManifest, packageStream); + } + + // Remove Update after processing + File.Delete(UpdatePluginPackageFilePath); + + return updatedManifest; + } + + public static PluginManifest UpdatePlugin(DiscoDataContext dbContext, PluginManifest ExistingManifest, Stream UpdatePluginPackage) + { + using (MemoryStream packageStream = new MemoryStream()) + { + if (UpdatePluginPackage.Position != 0) + UpdatePluginPackage.Position = 0; + + UpdatePluginPackage.CopyTo(packageStream); + packageStream.Position = 0; + + using (ZipArchive packageArchive = new ZipArchive(packageStream, ZipArchiveMode.Read, false)) + { + + ZipArchiveEntry packageManifestEntry = packageArchive.GetEntry("manifest.json"); + if (packageManifestEntry == null) + throw new InvalidDataException("The plugin package does not contain the 'manifest.json' entry"); + + PluginManifest packageManifest; + + using (Stream packageManifestStream = packageManifestEntry.Open()) + { + packageManifest = PluginManifest.FromPluginManifestFile(packageManifestStream); + } + + if (ExistingManifest.Version == packageManifest.Version) + { + // Skip Update if already installed + PluginsLog.LogInitializeWarning(string.Format("This plugin [{0}] version [{1}] is already installed, skipping Update", ExistingManifest.Id, ExistingManifest.Version)); + return ExistingManifest; + } + if (ExistingManifest.Version > packageManifest.Version) + { + throw new InvalidDataException("A newer version of this plugin is already installed"); + } + + string packagePath = Path.Combine(dbContext.DiscoConfiguration.PluginsLocation, packageManifest.Id); + + // Force Delete of Existing Folder + if (Directory.Exists(packagePath)) + Directory.Delete(packagePath, true); + + Directory.CreateDirectory(packagePath); + + // Extract Package Contents + foreach (var packageEntry in packageArchive.Entries) + { + // Determine Extraction Path + var packageEntryTarget = Path.Combine(packagePath, packageEntry.FullName); + + // Create Sub Directories + Directory.CreateDirectory(Path.GetDirectoryName(packageEntryTarget)); + + using (var packageEntryStream = packageEntry.Open()) + { + using (var packageTargetStream = File.Open(packageEntryTarget, FileMode.Create, FileAccess.Write, FileShare.None)) + { + packageEntryStream.CopyTo(packageTargetStream); + } + } + } + + // Reload Manifest + packageManifest = PluginManifest.FromPluginManifestFile(Path.Combine(packagePath, "manifest.json")); + + // Trigger AfterPluginUpdate + packageManifest.AfterPluginUpdate(dbContext, ExistingManifest); + + PluginsLog.LogAfterUpdate(ExistingManifest, packageManifest); + + // Return Updated Manifest + return packageManifest; + } + } + } + + private static Dictionary InitializeFeatureCategoryDetails(IEnumerable pluginManifests) + { + Dictionary categoryDisplayNames = new Dictionary(); + + // Always add 'Other' + var otherFeatureType = typeof(Features.Other.OtherFeature); + categoryDisplayNames.Add(otherFeatureType, ((PluginFeatureCategoryAttribute)otherFeatureType.GetCustomAttributes(typeof(PluginFeatureCategoryAttribute), false).FirstOrDefault()).DisplayName); + + foreach (var pluginManifest in pluginManifests) + { + foreach (var featureManifest in pluginManifest.Features) + { + if (!categoryDisplayNames.ContainsKey(featureManifest.CategoryType)) + { + string displayName = null; + + var displayAttributes = featureManifest.CategoryType.GetCustomAttributes(typeof(PluginFeatureCategoryAttribute), true); + if (displayAttributes != null && displayAttributes.Length > 0) + displayName = ((PluginFeatureCategoryAttribute)(displayAttributes[0])).DisplayName; + + if (string.IsNullOrWhiteSpace(displayName)) + displayName = featureManifest.CategoryType.Name; + + categoryDisplayNames[featureManifest.CategoryType] = displayName; + } + } + } + return categoryDisplayNames; + } + + #region Plugin Referenced Assemblies Resolving + + public static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args) + { + if (args.RequestingAssembly.Location.StartsWith(PluginPath, StringComparison.InvariantCultureIgnoreCase) && _PluginManifests != null) + { + // Try best guess first + PluginManifest requestingPlugin = _PluginManifests.Values.Where(p => p.Type.Assembly == args.RequestingAssembly).FirstOrDefault(); + if (requestingPlugin != null) + { + Assembly loadedAssembly = CurrentDomain_AssemblyResolve_ByPlugin(requestingPlugin, args); + if (loadedAssembly != null) + return loadedAssembly; + } + + // Try all Plugin References + foreach (var pluginDef in _PluginManifests.Values) + { + Assembly loadedAssembly = CurrentDomain_AssemblyResolve_ByPlugin(pluginDef, args); + if (loadedAssembly != null) + return loadedAssembly; + } + } + return null; + } + private static Assembly CurrentDomain_AssemblyResolve_ByPlugin(PluginManifest pluginManifest, ResolveEventArgs args) + { + if (pluginManifest.AssemblyReferences != null) + { + string assemblyPath; + if (pluginManifest.AssemblyReferences.TryGetValue(args.Name, out assemblyPath)) + { + var resolvedAssemblyPath = Path.Combine(pluginManifest.PluginLocation, assemblyPath); + + try + { + Assembly loadedAssembly = Assembly.LoadFile(resolvedAssemblyPath); + + PluginsLog.LogPluginReferenceAssemblyLoaded(args.Name, resolvedAssemblyPath, args.RequestingAssembly.FullName); + + return loadedAssembly; + } + catch (Exception ex) + { + PluginsLog.LogPluginException(string.Format("Resolving Plugin Reference Assembly: '{0}' [{1}]; Requested by: '{2}' [{3}]; Disco.Plugins.DiscoPlugins.CurrentDomain_AssemblyResolve()", args.Name, resolvedAssemblyPath, args.RequestingAssembly.FullName, args.RequestingAssembly.Location), ex); + } + } + } + return null; + } + + #endregion + } +} diff --git a/Disco.Services/Plugins/PluginsLog.cs b/Disco.Services/Plugins/PluginsLog.cs index 895ed691..43e4deeb 100644 --- a/Disco.Services/Plugins/PluginsLog.cs +++ b/Disco.Services/Plugins/PluginsLog.cs @@ -1,275 +1,373 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Disco.Services.Logging; -using Disco.Services.Logging.Models; -using System.Reflection; - -namespace Disco.Services.Plugins -{ - public class PluginsLog : LogBase - { - private const int _ModuleId = 10; - - public override string ModuleDescription { get { return "Plugins"; } } - public override int ModuleId { get { return _ModuleId; } } - public override string ModuleName { get { return "Plugins"; } } - - public enum EventTypeIds - { - InitializingPlugins = 10, - InitializingPluginAssembly, - InitializedPlugin, - InitializedPluginFeature, - InitializeWarning = 15, - InitializeError, - InitializeException, - InitializeExceptionWithInner, - PluginException = 20, - PluginExceptionWithInner, - PluginReferenceAssemblyLoaded = 50, - PluginConfigurationLoaded = 100, - PluginConfigurationSaved = 104, - PluginWebControllerAccessed = 200 - } - - public static PluginsLog Current - { - get - { - return (PluginsLog)LogContext.LogModules[_ModuleId]; - } - } - private static void Log(EventTypeIds EventTypeId, params object[] Args) - { - Current.Log((int)EventTypeId, Args); - } - - public static void LogInitializingPlugins(string PluginDirectory) - { - Current.Log((int)EventTypeIds.InitializingPlugins, PluginDirectory); - } - public static void LogInitializingPluginAssembly(Assembly PluginAssembly) - { - Current.Log((int)EventTypeIds.InitializingPluginAssembly, PluginAssembly.FullName, PluginAssembly.Location); - } - public static void LogInitializedPlugin(PluginManifest Menifest) - { - Current.Log((int)EventTypeIds.InitializedPlugin, Menifest.Id, Menifest.Version.ToString(3), Menifest.Type.Name, Menifest.Type.Assembly.Location); - } - public static void LogInitializedPluginFeature(PluginManifest PluginMenifest, PluginFeatureManifest FeatureManifest) - { - Current.Log((int)EventTypeIds.InitializedPluginFeature, PluginMenifest.Id, FeatureManifest.Type.Name); - } - public static void LogInitializeWarning(string Warning) - { - Current.Log((int)EventTypeIds.InitializeWarning, Warning); - } - public static void LogInitializeError(string Error) - { - Current.Log((int)EventTypeIds.InitializeError, Error); - } - public static void LogPluginReferenceAssemblyLoaded(string AssemblyFullName, string AssemblyPath, string RequestedBy) - { - Current.Log((int)EventTypeIds.PluginReferenceAssemblyLoaded, AssemblyFullName, AssemblyPath, RequestedBy); - } - public static void LogPluginConfigurationLoaded(string PluginId, string UserId) - { - Current.Log((int)EventTypeIds.PluginConfigurationLoaded, PluginId, UserId); - } - public static void LogPluginConfigurationSaved(string PluginId, string UserId) - { - Current.Log((int)EventTypeIds.PluginConfigurationSaved, PluginId, UserId); - } - public static void LogPluginWebControllerAccessed(string PluginId, string PluginAction, string UserId) - { - Current.Log((int)EventTypeIds.PluginWebControllerAccessed, PluginId, PluginAction, UserId); - } - - public static void LogInitializeException(string PluginFilename, Exception ex) - { - if (ex.InnerException != null) - { - Log(EventTypeIds.InitializeExceptionWithInner, PluginFilename, ex.GetType().Name, ex.Message, ex.StackTrace, ex.InnerException.GetType().Name, ex.InnerException.Message, ex.InnerException.StackTrace); - } - else - { - Log(EventTypeIds.InitializeException, PluginFilename, ex.GetType().Name, ex.Message, ex.StackTrace); - } - } - - public static void LogPluginException(string Component, Exception ex) - { - if (ex.InnerException != null) - { - Log(EventTypeIds.PluginExceptionWithInner, Component, ex.GetType().Name, ex.Message, ex.StackTrace, ex.InnerException.GetType().Name, ex.InnerException.Message, ex.InnerException.StackTrace); - } - else - { - Log(EventTypeIds.PluginException, Component, ex.GetType().Name, ex.Message, ex.StackTrace); - } - } - - protected override List LoadEventTypes() - { - return new System.Collections.Generic.List - { - new LogEventType - { - Id = (int)EventTypeIds.InitializingPlugins, - ModuleId = _ModuleId, - Name = "Initializing Plugins", - Format = "Starting plugin discovery and initialization from: {0}", - Severity = (int)LogEventType.Severities.Information, - UseLive = false, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.InitializingPluginAssembly, - ModuleId = _ModuleId, - Name = "Initializing Plugin Assembly", - Format = "Initializing Plugin Assembly: [{0}] From '{1}'", - Severity = (int)LogEventType.Severities.Information, - UseLive = false, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.InitializedPlugin, - ModuleId = _ModuleId, - Name = "Initialized Plugin", - Format = "Initialized Plugin: '{0} (v{1})' [{2}] From '{3}'", - Severity = (int)LogEventType.Severities.Information, - UseLive = false, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.InitializedPluginFeature, - ModuleId = _ModuleId, - Name = "Initialized Plugin Feature", - Format = "Initialized Plugin Feature: '{1}' From '{0}'", - Severity = (int)LogEventType.Severities.Information, - UseLive = false, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.InitializeWarning, - ModuleId = _ModuleId, - Name = "Initialize Warning", - Format = "Initialize Warning: {0}", - Severity = (int)LogEventType.Severities.Warning, - UseLive = false, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.InitializeError, - ModuleId = _ModuleId, - Name = "Initialize Error", - Format = "Initialize Error: {0}", - Severity = (int)LogEventType.Severities.Error, - UseLive = false, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.InitializeException, - ModuleId = _ModuleId, - Name = "Initialize Exception", - Format = "Exception: {0}; {1}: {2}; {3}", - Severity = (int)LogEventType.Severities.Error, - UseLive = false, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.InitializeExceptionWithInner, - ModuleId = _ModuleId, - Name = "Initialize Exception with Inner Exception", - Format = "Exception: {0}; {1}: {2}; {3}; Inner: {4}: {5}; {6}", - Severity = (int)LogEventType.Severities.Error, - UseLive = false, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.PluginException, - ModuleId = _ModuleId, - Name = "Plugin Exception", - Format = "Exception: {0}; {1}: {2}; {3}", - Severity = (int)LogEventType.Severities.Error, - UseLive = true, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.PluginExceptionWithInner, - ModuleId = _ModuleId, - Name = "Plugin Exception with Inner Exception", - Format = "Exception: {0}; {1}: {2}; {3}; Inner: {4}: {5}; {6}", - Severity = (int)LogEventType.Severities.Error, - UseLive = true, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.PluginReferenceAssemblyLoaded, - ModuleId = _ModuleId, - Name = "Plugin Reference Assembly Loaded", - Format = "Loaded Plugin Reference Assembly: [{0}] From: '{1}'; Requested by: [{2}]", - Severity = (int)LogEventType.Severities.Information, - UseLive = true, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.PluginConfigurationLoaded, - ModuleId = _ModuleId, - Name = "Plugin Configuration Loaded", - Format = "Plugin Configuration Loaded: [{0}] by [{1}]", - Severity = (int)LogEventType.Severities.Information, - UseLive = true, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.PluginConfigurationSaved, - ModuleId = _ModuleId, - Name = "Plugin Configuration Saved", - Format = "Plugin Configuration Saved: [{0}] by [{1}]", - Severity = (int)LogEventType.Severities.Information, - UseLive = true, - UsePersist = true, - UseDisplay = true - }, - new LogEventType - { - Id = (int)EventTypeIds.PluginWebControllerAccessed, - ModuleId = _ModuleId, - Name = "Plugin Web Controller Accessed", - Format = "Plugin Web Controller Accessed: Plugin [{0}], Action [{1}], By [{2}]", - Severity = (int)LogEventType.Severities.Information, - UseLive = true, - UsePersist = true, - UseDisplay = true - } - }; - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using Disco.Services.Logging; +using Disco.Services.Logging.Models; +using System.Reflection; + +namespace Disco.Services.Plugins +{ + public class PluginsLog : LogBase + { + private const int _ModuleId = 10; + + public override string ModuleDescription { get { return "Plugins"; } } + public override int ModuleId { get { return _ModuleId; } } + public override string ModuleName { get { return "Plugins"; } } + + public enum EventTypeIds + { + InitializingPlugins = 10, + InitializingPluginAssembly, + InitializedPlugin, + InitializedPluginFeature, + InitializeWarning = 15, + InitializeError, + InitializeException, + InitializeExceptionWithInner, + PluginException = 20, + PluginExceptionWithInner, + PluginReferenceAssemblyLoaded = 50, + PluginConfigurationLoaded = 100, + PluginConfigurationSaved = 104, + PluginWebControllerAccessed = 200, + + Installing = 500, + Installed = 550, + BeforeUpdate = 600, + AfterUpdate = 700, + Uninstalling = 800, + Uninstalled = 850 + } + + public static PluginsLog Current + { + get + { + return (PluginsLog)LogContext.LogModules[_ModuleId]; + } + } + private static void Log(EventTypeIds EventTypeId, params object[] Args) + { + Current.Log((int)EventTypeId, Args); + } + + public static void LogInitializingPlugins(string PluginDirectory) + { + Current.Log((int)EventTypeIds.InitializingPlugins, PluginDirectory); + } + public static void LogInitializingPluginAssembly(Assembly PluginAssembly) + { + Current.Log((int)EventTypeIds.InitializingPluginAssembly, PluginAssembly.FullName, PluginAssembly.Location); + } + public static void LogInitializedPlugin(PluginManifest Menifest) + { + Current.Log((int)EventTypeIds.InitializedPlugin, Menifest.Id, Menifest.Version.ToString(3), Menifest.Type.Name, Menifest.Type.Assembly.Location); + } + public static void LogInitializedPluginFeature(PluginManifest PluginMenifest, PluginFeatureManifest FeatureManifest) + { + Current.Log((int)EventTypeIds.InitializedPluginFeature, PluginMenifest.Id, FeatureManifest.Type.Name); + } + public static void LogInitializeWarning(string Warning) + { + Current.Log((int)EventTypeIds.InitializeWarning, Warning); + } + public static void LogInitializeError(string Error) + { + Current.Log((int)EventTypeIds.InitializeError, Error); + } + public static void LogPluginReferenceAssemblyLoaded(string AssemblyFullName, string AssemblyPath, string RequestedBy) + { + Current.Log((int)EventTypeIds.PluginReferenceAssemblyLoaded, AssemblyFullName, AssemblyPath, RequestedBy); + } + public static void LogPluginConfigurationLoaded(string PluginId, string UserId) + { + Current.Log((int)EventTypeIds.PluginConfigurationLoaded, PluginId, UserId); + } + public static void LogPluginConfigurationSaved(string PluginId, string UserId) + { + Current.Log((int)EventTypeIds.PluginConfigurationSaved, PluginId, UserId); + } + public static void LogPluginWebControllerAccessed(string PluginId, string PluginAction, string UserId) + { + Current.Log((int)EventTypeIds.PluginWebControllerAccessed, PluginId, PluginAction, UserId); + } + + public static void LogInstalling(PluginManifest Manifest) + { + Current.Log((int)EventTypeIds.Installing, Manifest.Id, Manifest.Version.ToString(4), Manifest.Name); + } + public static void LogInstalled(PluginManifest Manifest) + { + Current.Log((int)EventTypeIds.Installing, Manifest.Id, Manifest.Version.ToString(4), Manifest.Name, Manifest.PluginLocation); + } + public static void LogBeforeUpdate(PluginManifest ExistingManifest, PluginManifest UpdateManifest) + { + Current.Log((int)EventTypeIds.BeforeUpdate, ExistingManifest.Id, ExistingManifest.Name, ExistingManifest.PluginLocation, ExistingManifest.Version.ToString(4), UpdateManifest.Version.ToString(4)); + } + public static void LogAfterUpdate(PluginManifest ExistingManifest, PluginManifest UpdateManifest) + { + Current.Log((int)EventTypeIds.AfterUpdate, UpdateManifest.Id, UpdateManifest.Name, UpdateManifest.PluginLocation, ExistingManifest.Version.ToString(4), UpdateManifest.Version.ToString(4)); + } + public static void LogUninstalling(PluginManifest Manifest, bool UninstallData) + { + Current.Log((int)EventTypeIds.Uninstalling, Manifest.Id, Manifest.Name, Manifest.PluginLocation, Manifest.Version.ToString(4), UninstallData); + } + public static void LogUninstalled(PluginManifest Manifest, bool UninstalledData) + { + Current.Log((int)EventTypeIds.Uninstalled, Manifest.Id, Manifest.Name, Manifest.PluginLocation, Manifest.Version.ToString(4), UninstalledData); + } + + public static void LogInitializeException(string PluginFilename, Exception ex) + { + if (ex.InnerException != null) + { + Log(EventTypeIds.InitializeExceptionWithInner, PluginFilename, ex.GetType().Name, ex.Message, ex.StackTrace, ex.InnerException.GetType().Name, ex.InnerException.Message, ex.InnerException.StackTrace); + } + else + { + Log(EventTypeIds.InitializeException, PluginFilename, ex.GetType().Name, ex.Message, ex.StackTrace); + } + } + + public static void LogPluginException(string Component, Exception ex) + { + if (ex.InnerException != null) + { + Log(EventTypeIds.PluginExceptionWithInner, Component, ex.GetType().Name, ex.Message, ex.StackTrace, ex.InnerException.GetType().Name, ex.InnerException.Message, ex.InnerException.StackTrace); + } + else + { + Log(EventTypeIds.PluginException, Component, ex.GetType().Name, ex.Message, ex.StackTrace); + } + } + + protected override List LoadEventTypes() + { + return new System.Collections.Generic.List + { + new LogEventType + { + Id = (int)EventTypeIds.InitializingPlugins, + ModuleId = _ModuleId, + Name = "Initializing Plugins", + Format = "Starting plugin discovery and initialization from: {0}", + Severity = (int)LogEventType.Severities.Information, + UseLive = false, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.InitializingPluginAssembly, + ModuleId = _ModuleId, + Name = "Initializing Plugin Assembly", + Format = "Initializing Plugin Assembly: [{0}] From '{1}'", + Severity = (int)LogEventType.Severities.Information, + UseLive = false, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.InitializedPlugin, + ModuleId = _ModuleId, + Name = "Initialized Plugin", + Format = "Initialized Plugin: '{0} (v{1})' [{2}] From '{3}'", + Severity = (int)LogEventType.Severities.Information, + UseLive = false, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.InitializedPluginFeature, + ModuleId = _ModuleId, + Name = "Initialized Plugin Feature", + Format = "Initialized Plugin Feature: '{1}' From '{0}'", + Severity = (int)LogEventType.Severities.Information, + UseLive = false, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.InitializeWarning, + ModuleId = _ModuleId, + Name = "Initialize Warning", + Format = "Initialize Warning: {0}", + Severity = (int)LogEventType.Severities.Warning, + UseLive = false, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.InitializeError, + ModuleId = _ModuleId, + Name = "Initialize Error", + Format = "Initialize Error: {0}", + Severity = (int)LogEventType.Severities.Error, + UseLive = false, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.InitializeException, + ModuleId = _ModuleId, + Name = "Initialize Exception", + Format = "Exception: {0}; {1}: {2}; {3}", + Severity = (int)LogEventType.Severities.Error, + UseLive = false, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.InitializeExceptionWithInner, + ModuleId = _ModuleId, + Name = "Initialize Exception with Inner Exception", + Format = "Exception: {0}; {1}: {2}; {3}; Inner: {4}: {5}; {6}", + Severity = (int)LogEventType.Severities.Error, + UseLive = false, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.PluginException, + ModuleId = _ModuleId, + Name = "Plugin Exception", + Format = "Exception: {0}; {1}: {2}; {3}", + Severity = (int)LogEventType.Severities.Error, + UseLive = true, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.PluginExceptionWithInner, + ModuleId = _ModuleId, + Name = "Plugin Exception with Inner Exception", + Format = "Exception: {0}; {1}: {2}; {3}; Inner: {4}: {5}; {6}", + Severity = (int)LogEventType.Severities.Error, + UseLive = true, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.PluginReferenceAssemblyLoaded, + ModuleId = _ModuleId, + Name = "Plugin Reference Assembly Loaded", + Format = "Loaded Plugin Reference Assembly: [{0}] From: '{1}'; Requested by: [{2}]", + Severity = (int)LogEventType.Severities.Information, + UseLive = true, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.PluginConfigurationLoaded, + ModuleId = _ModuleId, + Name = "Plugin Configuration Loaded", + Format = "Plugin Configuration Loaded: [{0}] by [{1}]", + Severity = (int)LogEventType.Severities.Information, + UseLive = true, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.PluginConfigurationSaved, + ModuleId = _ModuleId, + Name = "Plugin Configuration Saved", + Format = "Plugin Configuration Saved: [{0}] by [{1}]", + Severity = (int)LogEventType.Severities.Information, + UseLive = true, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.PluginWebControllerAccessed, + ModuleId = _ModuleId, + Name = "Plugin Web Controller Accessed", + Format = "Plugin Web Controller Accessed: Plugin [{0}], Action [{1}], By [{2}]", + Severity = (int)LogEventType.Severities.Information, + UseLive = true, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.Installing, + ModuleId = _ModuleId, + Name = "Installing Plugin", + Format = "Installing Plugin: {2} [{0} v{1}]", + Severity = (int)LogEventType.Severities.Information, + UseLive = true, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.Installed, + ModuleId = _ModuleId, + Name = "Plugin Installed", + Format = "Plugin Installed: {2} [{0} v{1}], Location: {3}", + Severity = (int)LogEventType.Severities.Information, + UseLive = true, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.BeforeUpdate, + ModuleId = _ModuleId, + Name = "Updating Plugin", + Format = "Updating Plugin: {1} [{0}], v{3} -> v{4}, Location: {2}", + Severity = (int)LogEventType.Severities.Information, + UseLive = true, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.AfterUpdate, + ModuleId = _ModuleId, + Name = "Plugin Updated", + Format = "Plugin Updated: {1} [{0}], v{3} -> v{4}, Location: {2}", + Severity = (int)LogEventType.Severities.Information, + UseLive = false, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.Uninstalling, + ModuleId = _ModuleId, + Name = "Uninstalling Plugin", + Format = "Uninstalling Plugin: {1} [{0} v{3}], Location: {2}, UninstallData: {4}", + Severity = (int)LogEventType.Severities.Information, + UseLive = true, + UsePersist = true, + UseDisplay = true + }, + new LogEventType + { + Id = (int)EventTypeIds.Uninstalled, + ModuleId = _ModuleId, + Name = "Plugin Uninstalled", + Format = "Plugin Uninstalled: {1} [{0} v{3}], Location: {2}, UninstallData: {4}", + Severity = (int)LogEventType.Severities.Information, + UseLive = false, + UsePersist = true, + UseDisplay = true + } + }; + } + } +} diff --git a/Disco.Services/Plugins/UninstallPluginTask.cs b/Disco.Services/Plugins/UninstallPluginTask.cs new file mode 100644 index 00000000..4ebc4cc6 --- /dev/null +++ b/Disco.Services/Plugins/UninstallPluginTask.cs @@ -0,0 +1,84 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Web; +using Disco.Services.Tasks; +using Quartz; + +namespace Disco.Services.Plugins +{ + public class UninstallPluginTask : ScheduledTask + { + public override string TaskName { get { return "Uninstalling Plugin"; } } + + protected override void ExecuteTask() + { + PluginManifest manifest = (PluginManifest)this.ExecutionContext.JobDetail.JobDataMap["PluginManifest"]; + bool UninstallData = (bool)this.ExecutionContext.JobDetail.JobDataMap["UninstallData"]; + + this.Status.UpdateStatus(25, string.Format("Uninstalling Plugin: {0} [{1}]", manifest.Name, manifest.Id), "Queuing plugin for uninstall"); + + PluginsLog.LogUninstalling(manifest, UninstallData); + + string manifestFileLocation = Path.Combine(manifest.PluginLocation, "manifest.json"); + if (!File.Exists(manifestFileLocation)) + throw new FileNotFoundException("Plugin Manifest File Not Found", manifestFileLocation); + + string manifestUninstallFileLocation = Path.Combine(manifest.PluginLocation, "manifest.uninstall.json"); + + if (File.Exists(manifestUninstallFileLocation)) + File.Delete(manifestUninstallFileLocation); + + File.Move(manifestFileLocation, manifestUninstallFileLocation); + + if (UninstallData && Directory.Exists(manifest.StorageLocation)) + { + var manifestDataUninstallFileLocation = Path.Combine(manifest.StorageLocation, "manifest.uninstall.json"); + if (File.Exists(manifestDataUninstallFileLocation)) + File.Delete(manifestDataUninstallFileLocation); + + File.Copy(manifestUninstallFileLocation, manifestDataUninstallFileLocation); + } + + this.Status.Finished("Restarting Disco, please wait...", "/Config/Plugins"); + RestartApp(1500); + } + + public static ScheduledTaskStatus UninstallPlugin(PluginManifest Manifest, bool UninstallData) + { + if (ScheduledTasks.GetTaskStatuses(typeof(InstallPluginTask)).Where(s => s.IsRunning).Count() > 0) + throw new InvalidOperationException("A plugin is already being Uninstalled"); + + JobDataMap taskData = new JobDataMap() { { "PluginManifest", Manifest }, { "UninstallData", UninstallData } }; + + var instance = new UninstallPluginTask(); + + return instance.ScheduleTask(taskData); + } + + #region Restart App + private static object _restartTimerLock = new object(); + private static Timer _restartTimer; + private void RestartApp(int DelayMilliseconds) + { + lock (_restartTimerLock) + { + if (_restartTimer != null) + { + _restartTimer.Dispose(); + } + + _restartTimer = new Timer((state) => + { + HttpRuntime.UnloadAppDomain(); + //AppDomain.Unload(AppDomain.CurrentDomain); + }, null, DelayMilliseconds, Timeout.Infinite); + } + } + #endregion + } +} diff --git a/Disco.Services/Properties/AssemblyInfo.cs b/Disco.Services/Properties/AssemblyInfo.cs index 3c1813ce..bced427e 100644 --- a/Disco.Services/Properties/AssemblyInfo.cs +++ b/Disco.Services/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Disco.Services")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Disco.Services")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("3f4b432d-2abd-4bc2-86cd-f90650b73930")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0131.2002")] -[assembly: AssemblyFileVersion("1.2.0131.2002")] +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Disco.Services")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Disco.Services")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3f4b432d-2abd-4bc2-86cd-f90650b73930")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.2.0207.1727")] +[assembly: AssemblyFileVersion("1.2.0207.1727")] diff --git a/Disco.Services/Tasks/ScheduledTask.cs b/Disco.Services/Tasks/ScheduledTask.cs index 86bbb932..dc4dc4e4 100644 --- a/Disco.Services/Tasks/ScheduledTask.cs +++ b/Disco.Services/Tasks/ScheduledTask.cs @@ -1,108 +1,108 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Quartz; -using Disco.Data.Repository; - -namespace Disco.Services.Tasks -{ - public abstract class ScheduledTask : IJob - { - public abstract void InitalizeScheduledTask(DiscoDataContext dbContext); - - internal protected ScheduledTaskStatus Status { get; private set; } - internal protected IJobExecutionContext ExecutionContext { get; private set; } - - public abstract bool CancelInitiallySupported { get; } - public abstract bool SingleInstanceTask { get; } - public virtual bool IsSilent { get { return false; } } - public virtual bool LogExceptionsOnly { get { return false; } } - public abstract string TaskName { get; } - protected abstract void ExecuteTask(); - - #region Protected Triggers - /// - /// Schedules the Task to Begin Immediately - /// - protected ScheduledTaskStatus ScheduleTask() - { - return ScheduleTask(null, null); - } - /// - /// Schedules the Task to Begin Immediately - /// - /// DataMap passed into the executing Task - /// - protected ScheduledTaskStatus ScheduleTask(JobDataMap DataMap) - { - return ScheduleTask(null, DataMap); - } - /// - /// Schedules the Task to Begin based on the Trigger - /// - /// Trigger for the Task - protected ScheduledTaskStatus ScheduleTask(TriggerBuilder Trigger) - { - return ScheduleTask(Trigger, null); - } - /// - /// Schedules the Task to Begin based on the Trigger including the DataMap - /// - /// Trigger for the Task - /// DataMap passed into the executing Task - /// - protected ScheduledTaskStatus ScheduleTask(TriggerBuilder Trigger, JobDataMap DataMap) - { - if (Trigger == null) - Trigger = TriggerBuilder.Create(); // Defaults to Start Immediately - - if (DataMap != null) - Trigger = Trigger.UsingJobData(DataMap); - - return ScheduledTasks.RegisterTask(this, Trigger); - } - #endregion - - public void Execute(IJobExecutionContext context) - { - // Task Status - this.ExecutionContext = context; - this.Status = context.GetDiscoScheduledTaskStatus(); - if (this.Status == null) - this.Status = ScheduledTasks.RegisterTask(this); - - try - { - if (!this.LogExceptionsOnly) - ScheduledTasksLog.LogScheduledTaskExecuted(this.Status.TaskName, this.Status.SessionId); - - this.Status.Started(); - this.ExecuteTask(); - } - catch (Exception ex) - { - ScheduledTasksLog.LogScheduledTaskException(this.Status.TaskName, this.Status.SessionId, this.GetType(), ex); - this.Status.SetTaskException(ex); - } - finally - { - if (!this.Status.FinishedTimestamp.HasValue) // Scheduled Task Didn't Trigger 'Finished' - this.Status.Finished(); - - var nextTriggerTime = context.NextFireTimeUtc; - if (nextTriggerTime.HasValue) - { // Continuous Task - this.Status.Reset(nextTriggerTime.Value.LocalDateTime); - } - else - { - this.UnregisterTask(); - } - - if (!this.LogExceptionsOnly) - ScheduledTasksLog.LogScheduledTaskFinished(this.Status.TaskName, this.Status.SessionId); - } - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using Quartz; +using Disco.Data.Repository; + +namespace Disco.Services.Tasks +{ + public abstract class ScheduledTask : IJob + { + public virtual void InitalizeScheduledTask(DiscoDataContext dbContext) { return; } + + internal protected ScheduledTaskStatus Status { get; private set; } + internal protected IJobExecutionContext ExecutionContext { get; private set; } + + public virtual bool CancelInitiallySupported { get { return true; } } + public virtual bool SingleInstanceTask { get { return true; } } + public virtual bool IsSilent { get { return false; } } + public virtual bool LogExceptionsOnly { get { return false; } } + public abstract string TaskName { get; } + protected abstract void ExecuteTask(); + + #region Protected Triggers + /// + /// Schedules the Task to Begin Immediately + /// + protected ScheduledTaskStatus ScheduleTask() + { + return ScheduleTask(null, null); + } + /// + /// Schedules the Task to Begin Immediately + /// + /// DataMap passed into the executing Task + /// + protected ScheduledTaskStatus ScheduleTask(JobDataMap DataMap) + { + return ScheduleTask(null, DataMap); + } + /// + /// Schedules the Task to Begin based on the Trigger + /// + /// Trigger for the Task + protected ScheduledTaskStatus ScheduleTask(TriggerBuilder Trigger) + { + return ScheduleTask(Trigger, null); + } + /// + /// Schedules the Task to Begin based on the Trigger including the DataMap + /// + /// Trigger for the Task + /// DataMap passed into the executing Task + /// + protected ScheduledTaskStatus ScheduleTask(TriggerBuilder Trigger, JobDataMap DataMap) + { + if (Trigger == null) + Trigger = TriggerBuilder.Create(); // Defaults to Start Immediately + + if (DataMap != null) + Trigger = Trigger.UsingJobData(DataMap); + + return ScheduledTasks.RegisterTask(this, Trigger); + } + #endregion + + public void Execute(IJobExecutionContext context) + { + // Task Status + this.ExecutionContext = context; + this.Status = context.GetDiscoScheduledTaskStatus(); + if (this.Status == null) + this.Status = ScheduledTasks.RegisterTask(this); + + try + { + if (!this.LogExceptionsOnly) + ScheduledTasksLog.LogScheduledTaskExecuted(this.Status.TaskName, this.Status.SessionId); + + this.Status.Started(); + this.ExecuteTask(); + } + catch (Exception ex) + { + ScheduledTasksLog.LogScheduledTaskException(this.Status.TaskName, this.Status.SessionId, this.GetType(), ex); + this.Status.SetTaskException(ex); + } + finally + { + if (!this.Status.FinishedTimestamp.HasValue) // Scheduled Task Didn't Trigger 'Finished' + this.Status.Finished(); + + var nextTriggerTime = context.NextFireTimeUtc; + if (nextTriggerTime.HasValue) + { // Continuous Task + this.Status.Reset(nextTriggerTime.Value.LocalDateTime); + } + else + { + this.UnregisterTask(); + } + + if (!this.LogExceptionsOnly) + ScheduledTasksLog.LogScheduledTaskFinished(this.Status.TaskName, this.Status.SessionId); + } + } + } +} diff --git a/Disco.Web.Extensions/BIModelExtensions/DiscoPluginDefinitionExtensions.cs b/Disco.Web.Extensions/BIModelExtensions/PluginExtensions.cs similarity index 54% rename from Disco.Web.Extensions/BIModelExtensions/DiscoPluginDefinitionExtensions.cs rename to Disco.Web.Extensions/BIModelExtensions/PluginExtensions.cs index 86f63cfe..a38d393e 100644 --- a/Disco.Web.Extensions/BIModelExtensions/DiscoPluginDefinitionExtensions.cs +++ b/Disco.Web.Extensions/BIModelExtensions/PluginExtensions.cs @@ -1,36 +1,60 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Web.Mvc; -using Disco.Services.Plugins; - -namespace Disco.Web.Extensions -{ - public static class DiscoPluginDefinitionExtensions - { - public static List ToSelectListItems(this IEnumerable PluginFeatureDefinitions, PluginFeatureManifest SelectedItem) - { - string selectedId = default(string); - - if (SelectedItem != null) - selectedId = SelectedItem.Id; - - return PluginFeatureDefinitions.ToSelectListItems(selectedId); - } - - public static List ToSelectListItems(this IEnumerable PluginDefinitions, string SelectedId = null, bool IncludeInstructionFirst = false, string InstructionMessage = "Select a Plugin") - { - var selectItems = default(List); - if (SelectedId == null) - selectItems = PluginDefinitions.Select(wpd => new SelectListItem { Value = wpd.Id, Text = wpd.Name }).ToList(); - else - selectItems = PluginDefinitions.Select(wpd => new SelectListItem { Value = wpd.Id, Text = wpd.Name, Selected = (SelectedId.Equals(wpd.Id)) }).ToList(); - - if (IncludeInstructionFirst) - selectItems.Insert(0, new SelectListItem() { Value = String.Empty, Text = String.Format("<{0}>", InstructionMessage), Selected = String.IsNullOrEmpty(SelectedId) }); - - return selectItems; - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Web.Mvc; +using Disco.Services.Plugins; + +namespace Disco.Web.Extensions +{ + public static class DiscoPluginDefinitionExtensions + { + public static List ToSelectListItems(this IEnumerable PluginFeatureDefinitions, PluginFeatureManifest SelectedItem) + { + string selectedId = default(string); + + if (SelectedItem != null) + selectedId = SelectedItem.Id; + + return PluginFeatureDefinitions.ToSelectListItems(selectedId); + } + + public static List ToSelectListItems(this IEnumerable PluginDefinitions, string SelectedId = null, bool IncludeInstructionFirst = false, string InstructionMessage = "Select a Plugin") + { + var selectItems = default(List); + if (SelectedId == null) + selectItems = PluginDefinitions.Select(wpd => new SelectListItem { Value = wpd.Id, Text = wpd.Name }).ToList(); + else + selectItems = PluginDefinitions.Select(wpd => new SelectListItem { Value = wpd.Id, Text = wpd.Name, Selected = (SelectedId.Equals(wpd.Id)) }).ToList(); + + if (IncludeInstructionFirst) + selectItems.Insert(0, new SelectListItem() { Value = String.Empty, Text = String.Format("<{0}>", InstructionMessage), Selected = String.IsNullOrEmpty(SelectedId) }); + + return selectItems; + } + + public static List ToSelectListItems(this IEnumerable PluginFeatureDefinitions, PluginManifest SelectedItem) + { + string selectedId = default(string); + + if (SelectedItem != null) + selectedId = SelectedItem.Id; + + return PluginFeatureDefinitions.ToSelectListItems(selectedId); + } + + public static List ToSelectListItems(this IEnumerable PluginDefinitions, string SelectedId = null, bool IncludeInstructionFirst = false, string InstructionMessage = "Select a Plugin") + { + var selectItems = default(List); + if (SelectedId == null) + selectItems = PluginDefinitions.Select(wpd => new SelectListItem { Value = wpd.Id, Text = wpd.Name }).ToList(); + else + selectItems = PluginDefinitions.Select(wpd => new SelectListItem { Value = wpd.Id, Text = wpd.Name, Selected = (SelectedId.Equals(wpd.Id)) }).ToList(); + + if (IncludeInstructionFirst) + selectItems.Insert(0, new SelectListItem() { Value = String.Empty, Text = String.Format("<{0}>", InstructionMessage), Selected = String.IsNullOrEmpty(SelectedId) }); + + return selectItems; + } + } +} diff --git a/Disco.Web.Extensions/Disco.Web.Extensions.csproj b/Disco.Web.Extensions/Disco.Web.Extensions.csproj index 8eaed806..cc1b59da 100644 --- a/Disco.Web.Extensions/Disco.Web.Extensions.csproj +++ b/Disco.Web.Extensions/Disco.Web.Extensions.csproj @@ -1,150 +1,150 @@ - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {C433EFBA-8608-4451-874B-AF32C8536792} - Library - Properties - Disco.Web.Extensions - Disco.Web.Extensions - v4.5 - 512 - - ..\ - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - ..\packages\dotless.1.3.0.5\lib\dotless.Core.dll - - - ..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll - - - True - ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll - - - False - ..\packages\Newtonsoft.Json.4.5.9\lib\net40\Newtonsoft.Json.dll - - - - - - - - True - ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.Helpers.dll - - - True - ..\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.dll - - - True - ..\packages\Microsoft.AspNet.Razor.2.0.20710.0\lib\net40\System.Web.Razor.dll - - - True - ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll - - - True - ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll - - - True - ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll - - - - - - - - ..\packages\WebActivator.1.5.2\lib\net40\WebActivator.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - {095E6F94-3C34-47AE-BB83-46203535E0F6} - Disco.BI - - - {85A6BD19-2C64-4746-8F2C-A68A86E8C2D7} - Disco.Data - - - {FBC05512-FCCA-4B16-9E76-8C413C5DE6C9} - Disco.Models - - - {B80A737F-BD6A-4986-9182-DD7B932BD950} - Disco.Services - - - - - - - - - - - - - - - + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {C433EFBA-8608-4451-874B-AF32C8536792} + Library + Properties + Disco.Web.Extensions + Disco.Web.Extensions + v4.5 + 512 + + ..\ + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + false + + + + ..\packages\dotless.1.3.0.5\lib\dotless.Core.dll + + + ..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll + + + True + ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll + + + False + ..\packages\Newtonsoft.Json.4.5.9\lib\net40\Newtonsoft.Json.dll + + + + + + + + True + ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.Helpers.dll + + + True + ..\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.dll + + + True + ..\packages\Microsoft.AspNet.Razor.2.0.20710.0\lib\net40\System.Web.Razor.dll + + + True + ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll + + + True + ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll + + + True + ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll + + + + + + + + ..\packages\WebActivator.1.5.2\lib\net40\WebActivator.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + {095E6F94-3C34-47AE-BB83-46203535E0F6} + Disco.BI + + + {85A6BD19-2C64-4746-8F2C-A68A86E8C2D7} + Disco.Data + + + {FBC05512-FCCA-4B16-9E76-8C413C5DE6C9} + Disco.Models + + + {B80A737F-BD6A-4986-9182-DD7B932BD950} + Disco.Services + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Disco.Web.Extensions/Properties/AssemblyInfo.cs b/Disco.Web.Extensions/Properties/AssemblyInfo.cs index 62d51ba3..1f6dccef 100644 --- a/Disco.Web.Extensions/Properties/AssemblyInfo.cs +++ b/Disco.Web.Extensions/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Disco.Web.Extensions")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Disco.Web.Extensions")] -[assembly: AssemblyCopyright("Copyright © 2012")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("a673b3dc-88d3-4df6-827f-cef274c5470c")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0131.2002")] -[assembly: AssemblyFileVersion("1.2.0131.2002")] +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Disco.Web.Extensions")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Disco.Web.Extensions")] +[assembly: AssemblyCopyright("Copyright © 2012")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a673b3dc-88d3-4df6-827f-cef274c5470c")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.2.0207.1727")] +[assembly: AssemblyFileVersion("1.2.0207.1727")] diff --git a/Disco.Web/Areas/API/Controllers/PluginController.cs b/Disco.Web/Areas/API/Controllers/PluginController.cs new file mode 100644 index 00000000..f65872cc --- /dev/null +++ b/Disco.Web/Areas/API/Controllers/PluginController.cs @@ -0,0 +1,47 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Web; +using System.Web.Mvc; +using Disco.Services.Plugins; + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class PluginController : dbAdminController + { + + public virtual ActionResult Uninstall(string id, bool UninstallData) + { + if (string.IsNullOrEmpty(id)) + throw new ArgumentNullException("id"); + + PluginManifest manifest = Plugins.GetPlugin(id); + + var status = UninstallPluginTask.UninstallPlugin(manifest, UninstallData); + + return RedirectToAction(MVC.Config.Logging.TaskStatus(status.SessionId)); + } + + public virtual ActionResult Install(HttpPostedFileBase Plugin) + { + if (Plugin == null || Plugin.ContentLength <= 0 || string.IsNullOrWhiteSpace(Plugin.FileName)) + throw new ArgumentException("A discoPlugin file must be uploaded", "Plugin"); + + var tempPluginLocation = Path.Combine(dbContext.DiscoConfiguration.PluginPackagesLocation, Path.GetFileName(Plugin.FileName)); + + if (!Directory.Exists(dbContext.DiscoConfiguration.PluginPackagesLocation)) + Directory.CreateDirectory(dbContext.DiscoConfiguration.PluginPackagesLocation); + + if (System.IO.File.Exists(tempPluginLocation)) + System.IO.File.Delete(tempPluginLocation); + + + Plugin.SaveAs(tempPluginLocation); + + var status = InstallPluginTask.InstallPlugin(tempPluginLocation, true); + + return RedirectToAction(MVC.Config.Logging.TaskStatus(status.SessionId)); + } + } +} diff --git a/Disco.Web/Areas/Config/Controllers/PluginsController.cs b/Disco.Web/Areas/Config/Controllers/PluginsController.cs index 212e0f47..5d27c66b 100644 --- a/Disco.Web/Areas/Config/Controllers/PluginsController.cs +++ b/Disco.Web/Areas/Config/Controllers/PluginsController.cs @@ -1,99 +1,69 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.Mvc; -using Disco.Services.Plugins; -using Disco.Web.Areas.Config.Models.Plugins; - -namespace Disco.Web.Areas.Config.Controllers -{ - public partial class PluginsController : dbAdminController - { - [HttpGet] - public virtual ActionResult Index() - { - Models.Plugins.IndexViewModel vm = new Models.Plugins.IndexViewModel() - { - PluginManifests = Plugins.GetPlugins() - }; - return View(vm); - } - - #region Plugin Configuration - [HttpPost] - public virtual ActionResult Configure(string PluginId, FormCollection form) - { - if (string.IsNullOrEmpty(PluginId)) - return RedirectToAction(MVC.Config.Plugins.Index()); - - PluginManifest manifest = Plugins.GetPlugin(PluginId); - - using (PluginConfigurationHandler configHandler = manifest.CreateConfigurationHandler()) - { - if (configHandler.Post(dbContext, form, this)) - { - dbContext.SaveChanges(); - - PluginsLog.LogPluginConfigurationSaved(manifest.Id, DiscoApplication.CurrentUser.Id); - - return RedirectToAction(MVC.Config.Plugins.Index()); - } - else - { - // Config Errors - PluginConfigurationViewModel vm = new PluginConfigurationViewModel(configHandler.Get(dbContext, this)); - return View(Views.Configure, vm); - } - } - } - - [HttpGet] - public virtual ActionResult Configure(string PluginId) - { - if (string.IsNullOrEmpty(PluginId)) - return RedirectToAction(MVC.Config.Plugins.Index()); - - PluginManifest manifest = Plugins.GetPlugin(PluginId); - - using (PluginConfigurationHandler configHandler = manifest.CreateConfigurationHandler()) - { - PluginConfigurationViewModel vm = new PluginConfigurationViewModel(configHandler.Get(dbContext, this)); - PluginsLog.LogPluginConfigurationLoaded(manifest.Id, DiscoApplication.CurrentUser.Id); - return View(Views.Configure, vm); - } - } - #endregion - - //public virtual ActionResult PluginAction(string PluginId, string PluginAction) - //{ - // if (string.IsNullOrEmpty(PluginId)) - // return HttpNotFound("PluginId is Required"); - // if (string.IsNullOrEmpty(PluginAction)) - // return HttpNotFound("PluginAction is Required"); - - // PluginManifest def = Plugins.GetPlugin(PluginId); - - // using (Plugin instance = def.CreateInstance()) - // { - // IPluginWebController instanceController = instance as IPluginWebController; - - // if (instanceController == null) - // return HttpNotFound("Plugin is not a Web Controller"); - - // PluginsLog.LogPluginWebControllerAccessed(instance.Id, PluginAction, DiscoApplication.CurrentUser.Id); - - // try - // { - // return instanceController.ExecuteAction(PluginAction, this); - // } - // catch (Exception ex) - // { - // PluginsLog.LogPluginException("Disco Plugin Web Controller Action", new PluginWebControllerException(instance.Id, PluginAction, ex)); - // return null; - // } - // } - //} - - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.Mvc; +using Disco.Services.Plugins; +using Disco.Web.Areas.Config.Models.Plugins; + +namespace Disco.Web.Areas.Config.Controllers +{ + public partial class PluginsController : dbAdminController + { + [HttpGet] + public virtual ActionResult Index() + { + Models.Plugins.IndexViewModel vm = new Models.Plugins.IndexViewModel() + { + PluginManifests = Plugins.GetPlugins() + }; + return View(vm); + } + + #region Plugin Configuration + [HttpPost] + public virtual ActionResult Configure(string PluginId, FormCollection form) + { + if (string.IsNullOrEmpty(PluginId)) + return RedirectToAction(MVC.Config.Plugins.Index()); + + PluginManifest manifest = Plugins.GetPlugin(PluginId); + + using (PluginConfigurationHandler configHandler = manifest.CreateConfigurationHandler()) + { + if (configHandler.Post(dbContext, form, this)) + { + dbContext.SaveChanges(); + + PluginsLog.LogPluginConfigurationSaved(manifest.Id, DiscoApplication.CurrentUser.Id); + + return RedirectToAction(MVC.Config.Plugins.Index()); + } + else + { + // Config Errors + PluginConfigurationViewModel vm = new PluginConfigurationViewModel(configHandler.Get(dbContext, this)); + return View(Views.Configure, vm); + } + } + } + + [HttpGet] + public virtual ActionResult Configure(string PluginId) + { + if (string.IsNullOrEmpty(PluginId)) + return RedirectToAction(MVC.Config.Plugins.Index()); + + PluginManifest manifest = Plugins.GetPlugin(PluginId); + + using (PluginConfigurationHandler configHandler = manifest.CreateConfigurationHandler()) + { + PluginConfigurationViewModel vm = new PluginConfigurationViewModel(configHandler.Get(dbContext, this)); + PluginsLog.LogPluginConfigurationLoaded(manifest.Id, DiscoApplication.CurrentUser.Id); + return View(Views.Configure, vm); + } + } + #endregion + + } +} diff --git a/Disco.Web/Areas/Config/Views/Plugins/Index.cshtml b/Disco.Web/Areas/Config/Views/Plugins/Index.cshtml index 1db23b8b..79e02fed 100644 --- a/Disco.Web/Areas/Config/Views/Plugins/Index.cshtml +++ b/Disco.Web/Areas/Config/Views/Plugins/Index.cshtml @@ -1,76 +1,201 @@ -@model Disco.Web.Areas.Config.Models.Plugins.IndexViewModel -@using Disco.Services.Plugins; -@{ - ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Plugins"); -} -@{ - if (Model.PluginManifests.Count == 0) - { -
- No Plugins Installed -
- } - else - { - var pluginGroups = Model.PluginManifestsByType; - - - int itemsPerColumn = pluginGroups.Count / 3; - var itemNextId = 0; - - - - @for (int i = 0; i < 3; i++) - { - - } - - - -@* - foreach (var pluginGroup in pluginGroups) - { -
-

@DiscoPlugins.PluginCategoryDisplayName(pluginGroup.Key)

- - @foreach (var pluginDefinition in pluginGroup) - { - - - - } -
- @if (pluginDefinition.HasConfiguration) - { - @Html.ActionLink(pluginDefinition.Name, MVC.Config.Plugins.Configure(pluginDefinition.Id))
- @pluginDefinition.Id | v@(pluginDefinition.Version.ToString(3)) - } - else - { - @pluginDefinition.Name
- @pluginDefinition.Id | v@(pluginDefinition.Version.ToString(2)) - | Not Configurable - } -
-
*@ - } -} +@model Disco.Web.Areas.Config.Models.Plugins.IndexViewModel +@using Disco.Services.Plugins; +@{ + ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Plugins"); +} +@{ + if (Model.PluginManifests.Count == 0) + { +
+

No Plugins are Installed

+
+ } + else + { + var pluginGroups = Model.PluginManifestsByType; + + + int itemsPerColumn = pluginGroups.Count / 3; + var itemNextId = 0; + + + + @for (int i = 0; i < 3; i++) + { + + } + + +
+
+ @Html.DropDownList("uninstallPlugin", Model.PluginManifests.ToSelectListItems(null, true, "Select a Plugin to Uninstall")) +
+
+ + +
+
+
+
+ Are you sure you want to uninstall this plugin? +

+
+ +
+ + } +} +
+
+ @using (Html.BeginForm(MVC.API.Plugin.Install(), FormMethod.Post, new { enctype = "multipart/form-data" })) + { + + + } +
+
+ Warning: All plugins run with the same level of network privileges as the Disco Web App.
+ Only install plugins from a trusted source. +
+
+ +
+ @if (Model.PluginManifests.Count > 0) + { + @Html.ActionLinkButton("Uninstall Plugins", MVC.Config.Plugins.Index(), "buttonUninstall") + } + @Html.ActionLinkButton("Install Plugins", MVC.Config.Plugins.Index(), "buttonInstall") +
diff --git a/Disco.Web/Areas/Config/Views/Plugins/Index.generated.cs b/Disco.Web/Areas/Config/Views/Plugins/Index.generated.cs index ab8f4f47..83b54e1e 100644 --- a/Disco.Web/Areas/Config/Views/Plugins/Index.generated.cs +++ b/Disco.Web/Areas/Config/Views/Plugins/Index.generated.cs @@ -1,251 +1,512 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.17929 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Disco.Web.Areas.Config.Views.Plugins -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Disco.BI.Extensions; - using Disco.Models.Repository; - - #line 2 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - using Disco.Services.Plugins; - - #line default - #line hidden - using Disco.Web; - using Disco.Web.Extensions; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Areas/Config/Views/Plugins/Index.cshtml")] - public class Index : System.Web.Mvc.WebViewPage - { - public Index() - { - } - public override void Execute() - { - - #line 3 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - - ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Plugins"); - - - #line default - #line hidden -WriteLiteral("\r\n"); - - - #line 6 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - - if (Model.PluginManifests.Count == 0) - { - - - #line default - #line hidden -WriteLiteral(" \r\n No Plugins Installed\r\n \r\n"); - - - #line 12 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - } - else - { - var pluginGroups = Model.PluginManifestsByType; - - - int itemsPerColumn = pluginGroups.Count / 3; - var itemNextId = 0; - - - - #line default - #line hidden -WriteLiteral(" \r\n \r\n"); - - - #line 23 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - - - #line default - #line hidden - - #line 23 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - for (int i = 0; i < 3; i++) - { - - - #line default - #line hidden -WriteLiteral(" \r\n"); - - - #line 26 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - - - #line default - #line hidden - - #line 26 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - - int itemsForThisColumn = itemsPerColumn + (pluginGroups.Count % 3 > i ? 1 : 0); - for (int i2 = 0; i2 < itemsForThisColumn && itemNextId < pluginGroups.Count; i2++) - { - var pluginGroup = pluginGroups[itemNextId]; - itemNextId++; - - - #line default - #line hidden -WriteLiteral(" \r\n

"); - - - #line 33 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - Write(Plugins.PluginFeatureCategoryDisplayName(pluginGroup.Item1)); - - - #line default - #line hidden -WriteLiteral("

\r\n"); - - - #line 34 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - - - #line default - #line hidden - - #line 34 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - foreach (var pluginDefinition in pluginGroup.Item2) - { - - - #line default - #line hidden - - #line 36 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - Write(Html.ActionLink(pluginDefinition.Name, MVC.Config.Plugins.Configure(pluginDefinition.Id))); - - - #line default - #line hidden - - #line 36 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - - - - #line default - #line hidden -WriteLiteral(" \r\n"); - -WriteLiteral(" "); - - - #line 38 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - Write(pluginDefinition.Id); - - - #line default - #line hidden -WriteLiteral(" | v"); - - - #line 38 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - Write(pluginDefinition.Version.ToString(3)); - - - #line default - #line hidden -WriteLiteral("\r\n \r\n"); - - - #line 40 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - } - - - #line default - #line hidden -WriteLiteral(" \r\n"); - - - #line 42 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - } - - - #line default - #line hidden -WriteLiteral("\r\n \r\n"); - - - #line 45 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - } - - - #line default - #line hidden -WriteLiteral(" \r\n \r\n"); - - - #line 48 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - - - - #line default - #line hidden - - #line 74 "..\..\Areas\Config\Views\Plugins\Index.cshtml" - - } - - - #line default - #line hidden -WriteLiteral("\r\n"); - - } - } -} -#pragma warning restore 1591 +#pragma warning disable 1591 +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17929 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Disco.Web.Areas.Config.Views.Plugins +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Linq; + using System.Net; + using System.Text; + using System.Web; + using System.Web.Helpers; + using System.Web.Mvc; + using System.Web.Mvc.Ajax; + using System.Web.Mvc.Html; + using System.Web.Routing; + using System.Web.Security; + using System.Web.UI; + using System.Web.WebPages; + using Disco.BI.Extensions; + using Disco.Models.Repository; + + #line 2 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + using Disco.Services.Plugins; + + #line default + #line hidden + using Disco.Web; + using Disco.Web.Extensions; + + [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")] + [System.Web.WebPages.PageVirtualPathAttribute("~/Areas/Config/Views/Plugins/Index.cshtml")] + public class Index : System.Web.Mvc.WebViewPage + { + public Index() + { + } + public override void Execute() + { + + #line 3 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + + ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Plugins"); + + + #line default + #line hidden +WriteLiteral("\r\n"); + + + #line 6 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + + if (Model.PluginManifests.Count == 0) + { + + + #line default + #line hidden +WriteLiteral(" \r\n

No Plugins are Installed

\r\n \r\n"); + + + #line 12 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + } + else + { + var pluginGroups = Model.PluginManifestsByType; + + + int itemsPerColumn = pluginGroups.Count / 3; + var itemNextId = 0; + + + + #line default + #line hidden +WriteLiteral(" \r\n \r\n"); + + + #line 23 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + + + #line default + #line hidden + + #line 23 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + for (int i = 0; i < 3; i++) + { + + + #line default + #line hidden +WriteLiteral(" \r\n"); + + + #line 26 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + + + #line default + #line hidden + + #line 26 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + + int itemsForThisColumn = itemsPerColumn + (pluginGroups.Count % 3 > i ? 1 : 0); + for (int i2 = 0; i2 < itemsForThisColumn && itemNextId < pluginGroups.Count; i2++) + { + var pluginGroup = pluginGroups[itemNextId]; + itemNextId++; + + + #line default + #line hidden +WriteLiteral(" \r\n

"); + + + #line 33 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + Write(Plugins.PluginFeatureCategoryDisplayName(pluginGroup.Item1)); + + + #line default + #line hidden +WriteLiteral("

\r\n"); + + + #line 34 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + + + #line default + #line hidden + + #line 34 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + foreach (var pluginDefinition in pluginGroup.Item2) + { + + + #line default + #line hidden + + #line 36 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + Write(Html.ActionLink(pluginDefinition.Name, MVC.Config.Plugins.Configure(pluginDefinition.Id))); + + + #line default + #line hidden + + #line 36 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + + + + #line default + #line hidden +WriteLiteral(" \r\n"); + +WriteLiteral(" "); + + + #line 38 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + Write(pluginDefinition.Id); + + + #line default + #line hidden +WriteLiteral(" | v"); + + + #line 38 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + Write(pluginDefinition.Version.ToString(3)); + + + #line default + #line hidden +WriteLiteral("\r\n \r\n"); + + + #line 40 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + } + + + #line default + #line hidden +WriteLiteral(" \r\n"); + + + #line 42 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + } + + + #line default + #line hidden +WriteLiteral("\r\n \r\n"); + + + #line 45 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + } + + + #line default + #line hidden +WriteLiteral(" \r\n \r\n"); + +WriteLiteral(" \r\n
\r\n"); + +WriteLiteral(" "); + + + #line 50 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + Write(Html.DropDownList("uninstallPlugin", Model.PluginManifests.ToSelectListItems(null, true, "Select a Plugin to Uninstall"))); + + + #line default + #line hidden +WriteLiteral("\r\n
\r\n
\r\n Uninstall Plugin Data\r\n \r\n NOTE: Data will be permanently deleted\r\n
\r\n \r\n \r\n"); + +WriteLiteral(" \r\n \r\n Are you sure you want to uninstall this plugin?\r\n \r\n \r\n \r\n NOTE: Data will be permanently deleted\r\n \r\n \r\n"); + +WriteLiteral(" \r\n"); + + + #line 151 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + } + + + #line default + #line hidden +WriteLiteral("\r\n\r\n \r\n"); + + + #line 155 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + + + #line default + #line hidden + + #line 155 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + using (Html.BeginForm(MVC.API.Plugin.Install(), FormMethod.Post, new { enctype = "multipart/form-data" })) + { + + + #line default + #line hidden +WriteLiteral(" Plugin Package: \r\n"); + +WriteLiteral(" \r\n"); + + + #line 159 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + } + + + #line default + #line hidden +WriteLiteral(" \r\n \r\n Warning: All plugins run with the same level of network privileges as the Disco Web App.
+ Only install plugins from a trusted source. + + + +\r\n"); + + + #line 196 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + + + #line default + #line hidden + + #line 196 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + if (Model.PluginManifests.Count > 0) + { + + + #line default + #line hidden + + #line 198 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + Write(Html.ActionLinkButton("Uninstall Plugins", MVC.Config.Plugins.Index(), "buttonUninstall")); + + + #line default + #line hidden + + #line 198 "..\..\Areas\Config\Views\Plugins\Index.cshtml" + + } + + + #line default + #line hidden +WriteLiteral(" "); + + + #line 200 "..\..\Areas\Config\Views\Plugins\Index.cshtml" +Write(Html.ActionLinkButton("Install Plugins", MVC.Config.Plugins.Index(), "buttonInstall")); + + + #line default + #line hidden +WriteLiteral("\r\n\r\n"); + + } + } +} +#pragma warning restore 1591 diff --git a/Disco.Web/Controllers/InitialConfigController.cs b/Disco.Web/Controllers/InitialConfigController.cs index bb94eff8..fef436d5 100644 --- a/Disco.Web/Controllers/InitialConfigController.cs +++ b/Disco.Web/Controllers/InitialConfigController.cs @@ -1,306 +1,308 @@ -using System; -using System.Data.SqlClient; -using System.Threading; -using System.Web.Mvc; -using Disco.Web.Models.InitialConfig; -using Disco.Data.Repository; -using System.Linq; -using System.IO; -using System.Text.RegularExpressions; -using System.IO.Compression; -using System.Management; - -namespace Disco.Web.Controllers -{ - [OutputCache(Duration = 0, Location = System.Web.UI.OutputCacheLocation.None)] - public partial class InitialConfigController : Controller - { - - #region Determine Server Is Core SKU - // Added 2012-11-01 G# - // http://www.discoict.com.au/forum/support/2012/10/install-on-server-core.aspx - private static Lazy ServerIsCoreSKU = new Lazy(() => - { - try - { - uint osSKU = 0; - using (var mSearcher = new ManagementObjectSearcher("SELECT OperatingSystemSKU FROM Win32_OperatingSystem")) - { - using (var mResults = mSearcher.Get()) - { - foreach (ManagementObject mResult in mResults) - { - osSKU = (uint)mResult.Properties["OperatingSystemSKU"].Value; - break; - } - } - } - - switch (osSKU) - { - case 12: // Datacenter Server Core Edition - case 13: // Standard Server Core Edition - case 14: // Enterprise Server Core Edition - return true; - default: - return false; - } - } - catch (Exception) - { - // Ignore Exceptions - } - - // Default to "Not Core" - return false; - }); - // End Added 2012-11-01 G# - #endregion - - protected override void OnActionExecuting(ActionExecutingContext filterContext) - { - // Updated 2012-11-01 G# - Consider ServerIsCoreSKU - if (!Request.IsLocal && !ServerIsCoreSKU.Value) - { - filterContext.Result = new HttpStatusCodeResult(System.Net.HttpStatusCode.ServiceUnavailable, "Initial Configuration of Disco is only allowed via a local connection"); - } - base.OnActionExecuting(filterContext); - } - - // - // GET: /Install/ - - public virtual ActionResult Index() - { - return RedirectToAction(MVC.InitialConfig.Welcome()); - } - - #region Welcome - public virtual ActionResult Welcome() - { - var m = new WelcomeModel(); - - m.AutodetectOrganisation(); - - return View(m); - } - [HttpPost] - public virtual ActionResult Welcome(WelcomeModel model) - { - if (ModelState.IsValid) - { - DiscoApplication.OrganisationName = model.OrganisationName; - - return RedirectToAction(MVC.InitialConfig.Database()); - } - - return View(model); - } - #endregion - - #region Database - public virtual ActionResult Database() - { - var cs = Disco.Data.Repository.DiscoDatabaseConnectionFactory.DiscoDataContextConnectionString; - - DatabaseModel m; - - if (cs == null) - m = new DatabaseModel(); // Just use Defaults - else - m = DatabaseModel.FromConnectionString(cs); // Import from existing Connection String - - return View(m); - } - [HttpPost] - public virtual ActionResult Database(DatabaseModel model) - { - if (ModelState.IsValid) - { - // Continue with Configuration - var connectionString = model.ToConnectionString(); - - // Try Creating/Migrating - connectionString.ConnectTimeout = 5; - Disco.Data.Repository.DiscoDatabaseConnectionFactory.SetDiscoDataContextConnectionString(connectionString.ToString(), false); - - try - { - Disco.Data.Migrations.DiscoDataMigrator.MigrateLatest(true); - } - catch (Exception ex) - { - // Find inner exception - SqlException sqlException = null; - Exception innermostException = ex; - do - { - if (sqlException == null) - sqlException = innermostException as SqlException; - if (innermostException.InnerException != null) - innermostException = innermostException.InnerException; - else - break; - } while (true); - - if (sqlException != null) - { - ModelState.AddModelError(string.Empty, string.Format("Unable to create or migrate the database to the latest version: [{0}] {1}", sqlException.GetType().Name, sqlException.Message)); - } - else - { - ModelState.AddModelError(string.Empty, string.Format("Unable to create or migrate the database to the latest version: [{0}] {1}", innermostException.GetType().Name, innermostException.Message)); - } - } - - if (ModelState.IsValid) - { - // Save Connection String - //Disco.Data.Repository.DiscoDatabaseConnectionFactory.SetDiscoDataContextConnectionString(model.ToConnectionString().ToString(), true); - // Write Organisation Name into DB - using (DiscoDataContext db = new DiscoDataContext()) - { - db.DiscoConfiguration.OrganisationName = DiscoApplication.OrganisationName; - db.SaveChanges(); - } - - return RedirectToAction(MVC.InitialConfig.FileStore()); - } - } - - return View(model); - } - #endregion - - #region FileStore - public virtual ActionResult FileStore() - { - // Try and retrieve FileStore path from DB - string FileStoreLocation = null; - try - { - using (DiscoDataContext db = new DiscoDataContext()) - FileStoreLocation = db.ConfigurationItems.Where(ci => ci.Scope == "System" && ci.Key == "DataStoreLocation").Select(ci => ci.Value).FirstOrDefault(); - } - catch (Exception) { } // Ignore All Errors - - FileStoreModel m = new FileStoreModel(); - - // Test for valid Format - if (!string.IsNullOrEmpty(FileStoreLocation)) - if (!Regex.IsMatch(FileStoreLocation, @"^[A-z]:(\\[^\\/:*?""<>|0x0-0x1F]+)+(\\)?$", RegexOptions.Singleline)) - FileStoreLocation = null; - m.FileStoreLocation = FileStoreLocation; - if (m.FileStoreLocation != null && m.FileStoreLocation.EndsWith(@"\")) - m.FileStoreLocation = m.FileStoreLocation.TrimEnd('\\'); - - m.ExpandDirectoryModel(); - - return View(m); - } - [HttpPost] - public virtual ActionResult FileStore(FileStoreModel m) - { - if (ModelState.IsValid) - { - // Ensure Path Exists - using (DiscoDataContext db = new DiscoDataContext()) - { - var configItem = db.ConfigurationItems.Where(ci => ci.Scope == "System" && ci.Key == "DataStoreLocation").FirstOrDefault(); - if (configItem == null) - { // Create Config - db.ConfigurationItems.Add(new Disco.Models.Repository.ConfigurationItem() - { - Scope = "System", - Key = "DataStoreLocation", - Value = m.FileStoreLocation - }); - } - else - { // Update Config - configItem.Value = m.FileStoreLocation; - } - db.SaveChanges(); - } - - // Extract DataStore Template into FileStore - var templatePath = Server.MapPath("~/ClientBin/DataStoreTemplate.zip"); - if (System.IO.File.Exists(templatePath)) - { - try - { - using (ZipArchive templateArchive = ZipFile.Open(templatePath, ZipArchiveMode.Read)) - { - foreach (var entry in templateArchive.Entries) - { - var entryDestinationPath = Path.Combine(m.FileStoreLocation, entry.FullName); - if (System.IO.File.Exists(entryDestinationPath)) - System.IO.File.Delete(entryDestinationPath); - } - templateArchive.ExtractToDirectory(m.FileStoreLocation); - } - return RedirectToAction(MVC.InitialConfig.Complete()); - } - catch (Exception ex) - { - ModelState.AddModelError(string.Empty, string.Format("Unable to extract File Store template: [{0}] {1}", ex.GetType().Name, ex.Message)); - } - } - else - { - return RedirectToAction(MVC.InitialConfig.Complete()); - } - } - - m.ExpandDirectoryModel(); - - return View(m); - } - public virtual ActionResult FileStoreBranch(string Path) - { - return Json(FileStoreModel.FileStoreDirectoryModel.FromPath(Path, true), JsonRequestBehavior.AllowGet); - } - #endregion - - #region Complete - public virtual ActionResult Complete() - { - var m = new CompleteModel(); - - m.PerformTests(); - - return View(m); - } - #endregion - - #region Restart WebApp - - public virtual ActionResult RestartWebApp() - { - RestartWebApp(1500); - return View(); - } - - - private static object _restartTimerLock = new object(); - private static Timer _restartTimer; - private void RestartWebApp(int DelayMilliseconds) - { - lock (_restartTimerLock) - { - if (_restartTimer != null) - { - _restartTimer.Dispose(); - } - - _restartTimer = new Timer((state) => - { - AppDomain.Unload(AppDomain.CurrentDomain); - }, null, DelayMilliseconds, Timeout.Infinite); - } - } - #endregion - - - } -} +using System; +using System.Data.SqlClient; +using System.Threading; +using System.Web.Mvc; +using Disco.Web.Models.InitialConfig; +using Disco.Data.Repository; +using System.Linq; +using System.IO; +using System.Text.RegularExpressions; +using System.IO.Compression; +using System.Management; +using System.Web; + +namespace Disco.Web.Controllers +{ + [OutputCache(Duration = 0, Location = System.Web.UI.OutputCacheLocation.None)] + public partial class InitialConfigController : Controller + { + + #region Determine Server Is Core SKU + // Added 2012-11-01 G# + // http://www.discoict.com.au/forum/support/2012/10/install-on-server-core.aspx + private static Lazy ServerIsCoreSKU = new Lazy(() => + { + try + { + uint osSKU = 0; + using (var mSearcher = new ManagementObjectSearcher("SELECT OperatingSystemSKU FROM Win32_OperatingSystem")) + { + using (var mResults = mSearcher.Get()) + { + foreach (ManagementObject mResult in mResults) + { + osSKU = (uint)mResult.Properties["OperatingSystemSKU"].Value; + break; + } + } + } + + switch (osSKU) + { + case 12: // Datacenter Server Core Edition + case 13: // Standard Server Core Edition + case 14: // Enterprise Server Core Edition + return true; + default: + return false; + } + } + catch (Exception) + { + // Ignore Exceptions + } + + // Default to "Not Core" + return false; + }); + // End Added 2012-11-01 G# + #endregion + + protected override void OnActionExecuting(ActionExecutingContext filterContext) + { + // Updated 2012-11-01 G# - Consider ServerIsCoreSKU + if (!Request.IsLocal && !ServerIsCoreSKU.Value) + { + filterContext.Result = new HttpStatusCodeResult(System.Net.HttpStatusCode.ServiceUnavailable, "Initial Configuration of Disco is only allowed via a local connection"); + } + base.OnActionExecuting(filterContext); + } + + // + // GET: /Install/ + + public virtual ActionResult Index() + { + return RedirectToAction(MVC.InitialConfig.Welcome()); + } + + #region Welcome + public virtual ActionResult Welcome() + { + var m = new WelcomeModel(); + + m.AutodetectOrganisation(); + + return View(m); + } + [HttpPost] + public virtual ActionResult Welcome(WelcomeModel model) + { + if (ModelState.IsValid) + { + DiscoApplication.OrganisationName = model.OrganisationName; + + return RedirectToAction(MVC.InitialConfig.Database()); + } + + return View(model); + } + #endregion + + #region Database + public virtual ActionResult Database() + { + var cs = Disco.Data.Repository.DiscoDatabaseConnectionFactory.DiscoDataContextConnectionString; + + DatabaseModel m; + + if (cs == null) + m = new DatabaseModel(); // Just use Defaults + else + m = DatabaseModel.FromConnectionString(cs); // Import from existing Connection String + + return View(m); + } + [HttpPost] + public virtual ActionResult Database(DatabaseModel model) + { + if (ModelState.IsValid) + { + // Continue with Configuration + var connectionString = model.ToConnectionString(); + + // Try Creating/Migrating + connectionString.ConnectTimeout = 5; + Disco.Data.Repository.DiscoDatabaseConnectionFactory.SetDiscoDataContextConnectionString(connectionString.ToString(), false); + + try + { + Disco.Data.Migrations.DiscoDataMigrator.MigrateLatest(true); + } + catch (Exception ex) + { + // Find inner exception + SqlException sqlException = null; + Exception innermostException = ex; + do + { + if (sqlException == null) + sqlException = innermostException as SqlException; + if (innermostException.InnerException != null) + innermostException = innermostException.InnerException; + else + break; + } while (true); + + if (sqlException != null) + { + ModelState.AddModelError(string.Empty, string.Format("Unable to create or migrate the database to the latest version: [{0}] {1}", sqlException.GetType().Name, sqlException.Message)); + } + else + { + ModelState.AddModelError(string.Empty, string.Format("Unable to create or migrate the database to the latest version: [{0}] {1}", innermostException.GetType().Name, innermostException.Message)); + } + } + + if (ModelState.IsValid) + { + // Save Connection String + //Disco.Data.Repository.DiscoDatabaseConnectionFactory.SetDiscoDataContextConnectionString(model.ToConnectionString().ToString(), true); + // Write Organisation Name into DB + using (DiscoDataContext db = new DiscoDataContext()) + { + db.DiscoConfiguration.OrganisationName = DiscoApplication.OrganisationName; + db.SaveChanges(); + } + + return RedirectToAction(MVC.InitialConfig.FileStore()); + } + } + + return View(model); + } + #endregion + + #region FileStore + public virtual ActionResult FileStore() + { + // Try and retrieve FileStore path from DB + string FileStoreLocation = null; + try + { + using (DiscoDataContext db = new DiscoDataContext()) + FileStoreLocation = db.ConfigurationItems.Where(ci => ci.Scope == "System" && ci.Key == "DataStoreLocation").Select(ci => ci.Value).FirstOrDefault(); + } + catch (Exception) { } // Ignore All Errors + + FileStoreModel m = new FileStoreModel(); + + // Test for valid Format + if (!string.IsNullOrEmpty(FileStoreLocation)) + if (!Regex.IsMatch(FileStoreLocation, @"^[A-z]:(\\[^\\/:*?""<>|0x0-0x1F]+)+(\\)?$", RegexOptions.Singleline)) + FileStoreLocation = null; + m.FileStoreLocation = FileStoreLocation; + if (m.FileStoreLocation != null && m.FileStoreLocation.EndsWith(@"\")) + m.FileStoreLocation = m.FileStoreLocation.TrimEnd('\\'); + + m.ExpandDirectoryModel(); + + return View(m); + } + [HttpPost] + public virtual ActionResult FileStore(FileStoreModel m) + { + if (ModelState.IsValid) + { + // Ensure Path Exists + using (DiscoDataContext db = new DiscoDataContext()) + { + var configItem = db.ConfigurationItems.Where(ci => ci.Scope == "System" && ci.Key == "DataStoreLocation").FirstOrDefault(); + if (configItem == null) + { // Create Config + db.ConfigurationItems.Add(new Disco.Models.Repository.ConfigurationItem() + { + Scope = "System", + Key = "DataStoreLocation", + Value = m.FileStoreLocation + }); + } + else + { // Update Config + configItem.Value = m.FileStoreLocation; + } + db.SaveChanges(); + } + + // Extract DataStore Template into FileStore + var templatePath = Server.MapPath("~/ClientBin/DataStoreTemplate.zip"); + if (System.IO.File.Exists(templatePath)) + { + try + { + using (ZipArchive templateArchive = ZipFile.Open(templatePath, ZipArchiveMode.Read)) + { + foreach (var entry in templateArchive.Entries) + { + var entryDestinationPath = Path.Combine(m.FileStoreLocation, entry.FullName); + if (System.IO.File.Exists(entryDestinationPath)) + System.IO.File.Delete(entryDestinationPath); + } + templateArchive.ExtractToDirectory(m.FileStoreLocation); + } + return RedirectToAction(MVC.InitialConfig.Complete()); + } + catch (Exception ex) + { + ModelState.AddModelError(string.Empty, string.Format("Unable to extract File Store template: [{0}] {1}", ex.GetType().Name, ex.Message)); + } + } + else + { + return RedirectToAction(MVC.InitialConfig.Complete()); + } + } + + m.ExpandDirectoryModel(); + + return View(m); + } + public virtual ActionResult FileStoreBranch(string Path) + { + return Json(FileStoreModel.FileStoreDirectoryModel.FromPath(Path, true), JsonRequestBehavior.AllowGet); + } + #endregion + + #region Complete + public virtual ActionResult Complete() + { + var m = new CompleteModel(); + + m.PerformTests(); + + return View(m); + } + #endregion + + #region Restart WebApp + + public virtual ActionResult RestartWebApp() + { + RestartWebApp(1500); + return View(); + } + + + private static object _restartTimerLock = new object(); + private static Timer _restartTimer; + private void RestartWebApp(int DelayMilliseconds) + { + lock (_restartTimerLock) + { + if (_restartTimer != null) + { + _restartTimer.Dispose(); + } + + _restartTimer = new Timer((state) => + { + HttpRuntime.UnloadAppDomain(); + //AppDomain.Unload(AppDomain.CurrentDomain); + }, null, DelayMilliseconds, Timeout.Infinite); + } + } + #endregion + + + } +} diff --git a/Disco.Web/Disco.Web.csproj b/Disco.Web/Disco.Web.csproj index 52040c5f..b33b6da9 100644 --- a/Disco.Web/Disco.Web.csproj +++ b/Disco.Web/Disco.Web.csproj @@ -1,1824 +1,1825 @@ - - - - - Debug - AnyCPU - - - 2.0 - {241F4F43-6ACB-482D-8CBF-8F4E4B4DB0FE} - {E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} - Library - Properties - Disco.Web - Disco.Web - v4.5 - false - true - - enabled - enabled - - ..\ - true - - - true - full - false - bin\ - DEBUG;TRACE - prompt - 4 - true - - - pdbonly - true - bin\ - TRACE - prompt - 4 - true - - - - ..\packages\DotNet.Highcharts.1.2\lib\DotNet.Highcharts.dll - - - - False - ..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll - - - False - ..\Resources\Libraries\Quartz\Quartz.dll - - - False - ..\packages\RazorGenerator.Mvc.1.5.0.0\lib\net40\RazorGenerator.Mvc.dll - - - ..\packages\SignalR.Server.0.5.3\lib\net40\SignalR.dll - - - ..\packages\SignalR.Hosting.AspNet.0.5.3\lib\net45\SignalR.Hosting.AspNet.dll - - - ..\packages\SignalR.Hosting.Common.0.5.3\lib\net40\SignalR.Hosting.Common.dll - - - - - - True - ..\packages\Microsoft.SqlServer.Compact.4.0.8876.1\lib\net40\System.Data.SqlServerCe.dll - - - True - ..\packages\EntityFramework.SqlServerCompact.4.3.6\lib\net40\System.Data.SqlServerCe.Entity.dll - - - - - - - - - - - - - True - ..\packages\Microsoft.AspNet.Razor.2.0.20715.0\lib\net40\System.Web.Razor.dll - - - - - - - - - - - - - ..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll - - - True - ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll - - - - - ..\packages\Microsoft.AspNet.WebApi.Client.4.0.20710.0\lib\net40\System.Net.Http.Formatting.dll - - - - - True - ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.Helpers.dll - - - ..\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll - - - ..\packages\Microsoft.AspNet.WebApi.WebHost.4.0.20710.0\lib\net40\System.Web.Http.WebHost.dll - - - True - ..\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.dll - - - True - ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll - - - True - ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll - - - True - ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll - - - ..\packages\T4MVCExtensions.3.2.0\lib\net40\T4MVCExtensions.dll - - - False - ..\packages\WebActivator.1.5.3\lib\net40\WebActivator.dll - - - - - True - True - AjaxHelpers.cshtml - - - True - True - CommonHelpers.cshtml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Index.cshtml - True - True - - - Create.cshtml - True - True - - - Index.cshtml - True - True - - - Show.cshtml - True - True - - - Timeline.cshtml - True - True - - - GenericComponents.cshtml - True - True - - - Index.cshtml - True - True - - - Show.cshtml - True - True - - - _DeviceComponentsTable.cshtml - True - True - - - Create.cshtml - True - True - - - Defaults.cshtml - True - True - - - Index.cshtml - True - True - - - Show.cshtml - True - True - - - _Table.cshtml - True - True - - - _TableRender.cshtml - True - True - - - Create.cshtml - True - True - - - ExpressionBrowser.cshtml - True - True - - - ImportStatus.cshtml - True - True - - - Index.cshtml - True - True - - - Show.cshtml - True - True - - - UndetectedPages.cshtml - True - True - - - _ExpressionsTable.cshtml - True - True - - - Index.cshtml - True - True - - - Status.cshtml - True - True - - - Editor.cshtml - True - True - - - Index.cshtml - True - True - - - TaskStatus.cshtml - True - True - - - Index.cshtml - True - True - - - Index.cshtml - True - True - - - Configure.cshtml - True - True - - - LogEvents.cshtml - True - True - - - Index.cshtml - True - True - - - _ViewStart.cshtml - True - True - - - - - - - - Credits.cshtml - True - True - - - Index.cshtml - True - True - - - Licence.cshtml - True - True - - - _Layout.cshtml - True - True - - - Index.cshtml - True - True - - - Noticeboard.cshtml - True - True - - - _ViewStart.cshtml - True - True - - - - - - - - - - Global.asax - - - - - - - - - - - - - - - - - - - True - True - T4MVC.tt - - - AddOffline.cshtml - True - True - - - Resources.cshtml - True - True - - - Index.cshtml - True - True - - - Show.cshtml - True - True - - - _CertificateTable.cshtml - True - True - - - _DeviceActions.cshtml - True - True - - - _DeviceTable.cshtml - True - True - - - _DeviceUserAssignmentHistoryTable.cshtml - True - True - - - _ViewStart.cshtml - True - True - - - True - True - Complete.cshtml - - - True - True - Database.cshtml - - - True - True - FileStore.cshtml - - - True - True - RestartWebApp.cshtml - - - True - True - Welcome.cshtml - - - True - True - _Layout.cshtml - - - _ViewStart.cshtml - True - True - - - _Subject.cshtml - True - True - - - True - True - Create_Redirect.cshtml - - - _CreateSubject.cshtml - True - True - - - True - True - Index.cshtml - - - Components.cshtml - True - True - - - Flags.cshtml - True - True - - - Insurance.cshtml - True - True - - - JobMetaAdditions.cshtml - True - True - - - NonWarranty.cshtml - True - True - - - NonWarrantyFinance.cshtml - True - True - - - Repairs.cshtml - True - True - - - Resources.cshtml - True - True - - - Warranty.cshtml - True - True - - - List.cshtml - True - True - - - LogWarranty.cshtml - True - True - - - LogWarrantyDisclose.cshtml - True - True - - - LogWarrantyError.cshtml - True - True - - - True - True - Create.cshtml - - - Show.cshtml - True - True - - - WarrantyProviderJobDetails.cshtml - True - True - - - _ViewStart.cshtml - True - True - - - Query.cshtml - True - True - - - True - True - _DialogLayout.cshtml - - - _EmptyLayout.cshtml - True - True - - - True - True - Error.cshtml - - - True - True - _JobTable.cshtml - - - True - True - _JobTableRender.cshtml - - - True - True - _Layout.cshtml - - - True - True - _SearchDialog.cshtml - - - Index.cshtml - True - True - - - Show.cshtml - True - True - - - Resources.cshtml - True - True - - - _UserDeviceAssignmentHistoryTable.cshtml - True - True - - - _UserTable.cshtml - True - True - - - _ViewStart.cshtml - True - True - - - True - True - _ViewStart.cshtml - - - - - - - Core.js.bundle - - - - - - - Core.js.bundle - - - Core.js.bundle - - - Disco-AjaxHelperIcons.js.bundle - - - Disco-AjaxHelperIcons.js.bundle - - - - Disco-CreateJob.js.bundle - - - Disco-DataTableHelpers.js.bundle - - - - Disco-ExpressionEditor.js.bundle - - - - - Disco-jQueryExtensions.js.bundle - - - - Disco-PropertyChangeHelpers.js.bundle - - - - Highcharts.js.bundle - - - - - - - - - - - - - jQuery-Isotope.js.bundle - - - - Disco-CreateJob.js.bundle - - - Disco-CreateJob.js.bundle - - - Disco-DataTableHelpers.js.bundle - - - Disco-DataTableHelpers.js.bundle - - - Disco-ExpressionEditor.js.bundle - - - Disco-ExpressionEditor.js.bundle - - - Disco-jQueryExtensions.js.bundle - - - Disco-jQueryExtensions.js.bundle - - - Disco-PropertyChangeHelpers.js.bundle - - - Disco-PropertyChangeHelpers.js.bundle - - - Highcharts.js.bundle - - - Highcharts.js.bundle - - - jQuery-Isotope.js.bundle - - - jQuery-Isotope.js.bundle - - - jQuery-NumberFormatter.js.bundle - - - jQuery-NumberFormatter.js.bundle - - - - - jQuery-NumberFormatter.js.bundle - - - jQuery-SignalR.js.bundle - - - jQueryUI-DynaTree.js.bundle - - - - jQueryUI-TimePicker.js.bundle - - - - Knockout.js.bundle - - - Shadowbox.js.bundle - - - - Silverlight.js.bundle - - - - jQuery-SignalR.js.bundle - - - jQuery-SignalR.js.bundle - - - jQueryUI-DynaTree.js.bundle - - - jQueryUI-DynaTree.js.bundle - - - jQueryUI-TimePicker.js.bundle - - - jQueryUI-TimePicker.js.bundle - - - Knockout.js.bundle - - - Knockout.js.bundle - - - Shadowbox.js.bundle - - - Shadowbox.js.bundle - - - Silverlight.js.bundle - - - Silverlight.js.bundle - - - - - - - - Timeline.js.bundle - - - Timeline.js.bundle - - - - tinymce.js.bundle - - - Timeline.js.bundle - - - - tinymce.js.bundle - - - tinymce.js.bundle - - - BundleSite.css.bundle - - - BundleSite.css.bundle - - - Config.less - - - Config.less - - - Credits.less - - - Credits.less - - - - - - - - - - - - - - - - - - - - - - - - Declarations.less - - - Declarations.less - - - Device.less - - - Device.less - - - Dialog.less - - - Dialog.less - - - - - ExpressionEditor.css - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - InitialConfig.less - - - InitialConfig.less - - - - IsotopeStyles.css - - - Job.less - - - Job.less - - - jQueryUIExtensions.less - - - jQueryUIExtensions.less - - - - - - ui.dynatree.css - - - UserHeldDevices.less - - - jquery-ui.css - - - UserHeldDevices.less - - - UserHeldDevicesNoticeboard.less - - - UserHeldDevicesNoticeboard.less - - - Designer - - - - - - - - - - - Shadowbox.css.bundle - - - Shadowbox.css.bundle - - - shadowbox.css - - - Shared.less - - - Shared.less - - - Site.less - - - Site.less - - - disco.timelineextensions.less - - - disco.timelineextensions.less - - - - graphics.css - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - timeline-bundle.css - - - User.less - - - Timeline.css.bundle - - - Timeline.css.bundle - - - User.less - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Disco-AjaxHelperIcons.js.bundle - - - - - - - - TextTemplatingFileGenerator - T4MVC.cs - - - Disco.Web - RazorGenerator - AjaxHelpers.generated.cs - - - Disco.Web - RazorGenerator - CommonHelpers.generated.cs - - - - RazorGenerator - AddOffline.generated.cs - - - RazorGenerator - Resources.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - Show.generated.cs - - - RazorGenerator - _CertificateTable.generated.cs - - - RazorGenerator - _DeviceActions.generated.cs - - - RazorGenerator - _DeviceTable.generated.cs - - - RazorGenerator - _DeviceUserAssignmentHistoryTable.generated.cs - - - RazorGenerator - _ViewStart.generated.cs - - - RazorGenerator - _Layout.generated.cs - - - RazorGenerator - _ViewStart.generated.cs - - - RazorGenerator - Complete.generated.cs - - - RazorGenerator - Database.generated.cs - - - RazorGenerator - FileStore.generated.cs - - - RazorGenerator - RestartWebApp.generated.cs - - - RazorGenerator - Welcome.generated.cs - - - RazorGenerator - Create_Redirect.generated.cs - - - RazorGenerator - _Subject.generated.cs - - - RazorGenerator - _CreateSubject.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - Components.generated.cs - - - RazorGenerator - Flags.generated.cs - - - RazorGenerator - Insurance.generated.cs - - - RazorGenerator - JobMetaAdditions1.generated.cs - - - RazorGenerator - NonWarranty.generated.cs - - - RazorGenerator - NonWarrantyFinance.generated.cs - - - RazorGenerator - Repairs.generated.cs - - - RazorGenerator - Resources.generated.cs - - - RazorGenerator - Warranty.generated.cs - - - RazorGenerator - List.generated.cs - - - RazorGenerator - LogWarranty.generated.cs - - - RazorGenerator - LogWarrantyDisclose.generated.cs - - - RazorGenerator - LogWarrantyError.generated.cs - - - RazorGenerator - Create.generated.cs - - - RazorGenerator - Show.generated.cs - - - RazorGenerator - WarrantyProviderJobDetails.generated.cs - - - RazorGenerator - _ViewStart.generated.cs - - - RazorGenerator - Query.generated.cs - - - - - - - - - - - - - - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - Create.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - Show.generated.cs - - - RazorGenerator - Timeline.generated.cs - - - RazorGenerator - GenericComponents.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - Show.generated.cs - - - RazorGenerator - _DeviceComponentsTable.generated.cs - - - RazorGenerator - Create.generated.cs - - - RazorGenerator - Defaults.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - Show.generated.cs - - - RazorGenerator - _Table.generated.cs - - - RazorGenerator - _TableRender.generated.cs - - - RazorGenerator - Create.generated.cs - - - RazorGenerator - ExpressionBrowser2.generated.cs - - - RazorGenerator - ImportStatus.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - Show.generated.cs - - - RazorGenerator - UndetectedPages.generated.cs - - - RazorGenerator - _ExpressionsTable.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - Status.generated.cs - - - RazorGenerator - Editor.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - TaskStatus.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - ProviderConfiguration.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - LogEvents.generated.cs - - - RazorGenerator - Index.generated.cs - - - - RazorGenerator - _ViewStart.generated.cs - - - RazorGenerator - Credits.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - Licence.generated.cs - - - RazorGenerator - _Layout.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - Noticeboard.generated.cs - - - - RazorGenerator - _ViewStart.generated.cs - - - RazorGenerator - _EmptyLayout.generated.cs - - - RazorGenerator - _DialogLayout.generated.cs - - - RazorGenerator - _JobTable.generated.cs - - - RazorGenerator - _JobTableRender.generated.cs - - - RazorGenerator - _SearchDialog.generated.cs - - - RazorGenerator - Index.generated.cs - - - RazorGenerator - Show.generated.cs - - - RazorGenerator - Resources.generated.cs - - - RazorGenerator - _UserDeviceAssignmentHistoryTable.generated.cs - - - RazorGenerator - _UserTable.generated.cs - - - RazorGenerator - _ViewStart.generated.cs - - - - - - - - - - - - - - - - - - - - - - - - - - - Designer - - - Web.config - - - Web.config - - - RazorGenerator - _ViewStart.generated.cs - - - RazorGenerator - Error.generated.cs - - - RazorGenerator - _Layout.generated.cs - - - - - - - - - - - - - - - - - {095e6f94-3c34-47ae-bb83-46203535e0f6} - Disco.BI - - - {85a6bd19-2c64-4746-8f2c-a68a86e8c2d7} - Disco.Data - - - {fbc05512-fcca-4b16-9e76-8c413c5de6c9} - Disco.Models - - - {b80a737f-bd6a-4986-9182-dd7b932bd950} - Disco.Services - - - {c433efba-8608-4451-874b-af32c8536792} - Disco.Web.Extensions - - - - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - - - - - - - - - True - True - 58382 - / - http://localhost:57252/ - False - False - - - False - - - - - - - + + + + + Debug + AnyCPU + + + 2.0 + {241F4F43-6ACB-482D-8CBF-8F4E4B4DB0FE} + {E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + Disco.Web + Disco.Web + v4.5 + false + true + + enabled + enabled + + ..\ + true + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + true + + + pdbonly + true + bin\ + TRACE + prompt + 4 + true + + + + ..\packages\DotNet.Highcharts.1.2\lib\DotNet.Highcharts.dll + + + + False + ..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll + + + False + ..\Resources\Libraries\Quartz\Quartz.dll + + + False + ..\packages\RazorGenerator.Mvc.1.5.0.0\lib\net40\RazorGenerator.Mvc.dll + + + ..\packages\SignalR.Server.0.5.3\lib\net40\SignalR.dll + + + ..\packages\SignalR.Hosting.AspNet.0.5.3\lib\net45\SignalR.Hosting.AspNet.dll + + + ..\packages\SignalR.Hosting.Common.0.5.3\lib\net40\SignalR.Hosting.Common.dll + + + + + + True + ..\packages\Microsoft.SqlServer.Compact.4.0.8876.1\lib\net40\System.Data.SqlServerCe.dll + + + True + ..\packages\EntityFramework.SqlServerCompact.4.3.6\lib\net40\System.Data.SqlServerCe.Entity.dll + + + + + + + + + + + + + True + ..\packages\Microsoft.AspNet.Razor.2.0.20715.0\lib\net40\System.Web.Razor.dll + + + + + + + + + + + + + ..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll + + + True + ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll + + + + + ..\packages\Microsoft.AspNet.WebApi.Client.4.0.20710.0\lib\net40\System.Net.Http.Formatting.dll + + + + + True + ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.Helpers.dll + + + ..\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll + + + ..\packages\Microsoft.AspNet.WebApi.WebHost.4.0.20710.0\lib\net40\System.Web.Http.WebHost.dll + + + True + ..\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.dll + + + True + ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll + + + True + ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll + + + True + ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll + + + ..\packages\T4MVCExtensions.3.2.0\lib\net40\T4MVCExtensions.dll + + + False + ..\packages\WebActivator.1.5.3\lib\net40\WebActivator.dll + + + + + True + True + AjaxHelpers.cshtml + + + True + True + CommonHelpers.cshtml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Index.cshtml + True + True + + + Create.cshtml + True + True + + + Index.cshtml + True + True + + + Show.cshtml + True + True + + + Timeline.cshtml + True + True + + + GenericComponents.cshtml + True + True + + + Index.cshtml + True + True + + + Show.cshtml + True + True + + + _DeviceComponentsTable.cshtml + True + True + + + Create.cshtml + True + True + + + Defaults.cshtml + True + True + + + Index.cshtml + True + True + + + Show.cshtml + True + True + + + _Table.cshtml + True + True + + + _TableRender.cshtml + True + True + + + Create.cshtml + True + True + + + ExpressionBrowser.cshtml + True + True + + + ImportStatus.cshtml + True + True + + + Index.cshtml + True + True + + + Show.cshtml + True + True + + + UndetectedPages.cshtml + True + True + + + _ExpressionsTable.cshtml + True + True + + + Index.cshtml + True + True + + + Status.cshtml + True + True + + + Editor.cshtml + True + True + + + Index.cshtml + True + True + + + TaskStatus.cshtml + True + True + + + Index.cshtml + True + True + + + Index.cshtml + True + True + + + Configure.cshtml + True + True + + + LogEvents.cshtml + True + True + + + Index.cshtml + True + True + + + _ViewStart.cshtml + True + True + + + + + + + + Credits.cshtml + True + True + + + Index.cshtml + True + True + + + Licence.cshtml + True + True + + + _Layout.cshtml + True + True + + + Index.cshtml + True + True + + + Noticeboard.cshtml + True + True + + + _ViewStart.cshtml + True + True + + + + + + + + + + Global.asax + + + + + + + + + + + + + + + + + + + True + True + T4MVC.tt + + + AddOffline.cshtml + True + True + + + Resources.cshtml + True + True + + + Index.cshtml + True + True + + + Show.cshtml + True + True + + + _CertificateTable.cshtml + True + True + + + _DeviceActions.cshtml + True + True + + + _DeviceTable.cshtml + True + True + + + _DeviceUserAssignmentHistoryTable.cshtml + True + True + + + _ViewStart.cshtml + True + True + + + True + True + Complete.cshtml + + + True + True + Database.cshtml + + + True + True + FileStore.cshtml + + + True + True + RestartWebApp.cshtml + + + True + True + Welcome.cshtml + + + True + True + _Layout.cshtml + + + _ViewStart.cshtml + True + True + + + _Subject.cshtml + True + True + + + True + True + Create_Redirect.cshtml + + + _CreateSubject.cshtml + True + True + + + True + True + Index.cshtml + + + Components.cshtml + True + True + + + Flags.cshtml + True + True + + + Insurance.cshtml + True + True + + + JobMetaAdditions.cshtml + True + True + + + NonWarranty.cshtml + True + True + + + NonWarrantyFinance.cshtml + True + True + + + Repairs.cshtml + True + True + + + Resources.cshtml + True + True + + + Warranty.cshtml + True + True + + + List.cshtml + True + True + + + LogWarranty.cshtml + True + True + + + LogWarrantyDisclose.cshtml + True + True + + + LogWarrantyError.cshtml + True + True + + + True + True + Create.cshtml + + + Show.cshtml + True + True + + + WarrantyProviderJobDetails.cshtml + True + True + + + _ViewStart.cshtml + True + True + + + Query.cshtml + True + True + + + True + True + _DialogLayout.cshtml + + + _EmptyLayout.cshtml + True + True + + + True + True + Error.cshtml + + + True + True + _JobTable.cshtml + + + True + True + _JobTableRender.cshtml + + + True + True + _Layout.cshtml + + + True + True + _SearchDialog.cshtml + + + Index.cshtml + True + True + + + Show.cshtml + True + True + + + Resources.cshtml + True + True + + + _UserDeviceAssignmentHistoryTable.cshtml + True + True + + + _UserTable.cshtml + True + True + + + _ViewStart.cshtml + True + True + + + True + True + _ViewStart.cshtml + + + + + + + Core.js.bundle + + + + + + + Core.js.bundle + + + Core.js.bundle + + + Disco-AjaxHelperIcons.js.bundle + + + Disco-AjaxHelperIcons.js.bundle + + + + Disco-CreateJob.js.bundle + + + Disco-DataTableHelpers.js.bundle + + + + Disco-ExpressionEditor.js.bundle + + + + + Disco-jQueryExtensions.js.bundle + + + + Disco-PropertyChangeHelpers.js.bundle + + + + Highcharts.js.bundle + + + + + + + + + + + + + jQuery-Isotope.js.bundle + + + + Disco-CreateJob.js.bundle + + + Disco-CreateJob.js.bundle + + + Disco-DataTableHelpers.js.bundle + + + Disco-DataTableHelpers.js.bundle + + + Disco-ExpressionEditor.js.bundle + + + Disco-ExpressionEditor.js.bundle + + + Disco-jQueryExtensions.js.bundle + + + Disco-jQueryExtensions.js.bundle + + + Disco-PropertyChangeHelpers.js.bundle + + + Disco-PropertyChangeHelpers.js.bundle + + + Highcharts.js.bundle + + + Highcharts.js.bundle + + + jQuery-Isotope.js.bundle + + + jQuery-Isotope.js.bundle + + + jQuery-NumberFormatter.js.bundle + + + jQuery-NumberFormatter.js.bundle + + + + + jQuery-NumberFormatter.js.bundle + + + jQuery-SignalR.js.bundle + + + jQueryUI-DynaTree.js.bundle + + + + jQueryUI-TimePicker.js.bundle + + + + Knockout.js.bundle + + + Shadowbox.js.bundle + + + + Silverlight.js.bundle + + + + jQuery-SignalR.js.bundle + + + jQuery-SignalR.js.bundle + + + jQueryUI-DynaTree.js.bundle + + + jQueryUI-DynaTree.js.bundle + + + jQueryUI-TimePicker.js.bundle + + + jQueryUI-TimePicker.js.bundle + + + Knockout.js.bundle + + + Knockout.js.bundle + + + Shadowbox.js.bundle + + + Shadowbox.js.bundle + + + Silverlight.js.bundle + + + Silverlight.js.bundle + + + + + + + + Timeline.js.bundle + + + Timeline.js.bundle + + + + tinymce.js.bundle + + + Timeline.js.bundle + + + + tinymce.js.bundle + + + tinymce.js.bundle + + + BundleSite.css.bundle + + + BundleSite.css.bundle + + + Config.less + + + Config.less + + + Credits.less + + + Credits.less + + + + + + + + + + + + + + + + + + + + + + + + Declarations.less + + + Declarations.less + + + Device.less + + + Device.less + + + Dialog.less + + + Dialog.less + + + + + ExpressionEditor.css + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + InitialConfig.less + + + InitialConfig.less + + + + IsotopeStyles.css + + + Job.less + + + Job.less + + + jQueryUIExtensions.less + + + jQueryUIExtensions.less + + + + + + ui.dynatree.css + + + UserHeldDevices.less + + + jquery-ui.css + + + UserHeldDevices.less + + + UserHeldDevicesNoticeboard.less + + + UserHeldDevicesNoticeboard.less + + + Designer + + + + + + + + + + + Shadowbox.css.bundle + + + Shadowbox.css.bundle + + + shadowbox.css + + + Shared.less + + + Shared.less + + + Site.less + + + Site.less + + + disco.timelineextensions.less + + + disco.timelineextensions.less + + + + graphics.css + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + timeline-bundle.css + + + User.less + + + Timeline.css.bundle + + + Timeline.css.bundle + + + User.less + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Disco-AjaxHelperIcons.js.bundle + + + + + + + + TextTemplatingFileGenerator + T4MVC.cs + + + Disco.Web + RazorGenerator + AjaxHelpers.generated.cs + + + Disco.Web + RazorGenerator + CommonHelpers.generated.cs + + + + RazorGenerator + AddOffline.generated.cs + + + RazorGenerator + Resources.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + Show.generated.cs + + + RazorGenerator + _CertificateTable.generated.cs + + + RazorGenerator + _DeviceActions.generated.cs + + + RazorGenerator + _DeviceTable.generated.cs + + + RazorGenerator + _DeviceUserAssignmentHistoryTable.generated.cs + + + RazorGenerator + _ViewStart.generated.cs + + + RazorGenerator + _Layout.generated.cs + + + RazorGenerator + _ViewStart.generated.cs + + + RazorGenerator + Complete.generated.cs + + + RazorGenerator + Database.generated.cs + + + RazorGenerator + FileStore.generated.cs + + + RazorGenerator + RestartWebApp.generated.cs + + + RazorGenerator + Welcome.generated.cs + + + RazorGenerator + Create_Redirect.generated.cs + + + RazorGenerator + _Subject.generated.cs + + + RazorGenerator + _CreateSubject.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + Components.generated.cs + + + RazorGenerator + Flags.generated.cs + + + RazorGenerator + Insurance.generated.cs + + + RazorGenerator + JobMetaAdditions1.generated.cs + + + RazorGenerator + NonWarranty.generated.cs + + + RazorGenerator + NonWarrantyFinance.generated.cs + + + RazorGenerator + Repairs.generated.cs + + + RazorGenerator + Resources.generated.cs + + + RazorGenerator + Warranty.generated.cs + + + RazorGenerator + List.generated.cs + + + RazorGenerator + LogWarranty.generated.cs + + + RazorGenerator + LogWarrantyDisclose.generated.cs + + + RazorGenerator + LogWarrantyError.generated.cs + + + RazorGenerator + Create.generated.cs + + + RazorGenerator + Show.generated.cs + + + RazorGenerator + WarrantyProviderJobDetails.generated.cs + + + RazorGenerator + _ViewStart.generated.cs + + + RazorGenerator + Query.generated.cs + + + + + + + + + + + + + + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + Create.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + Show.generated.cs + + + RazorGenerator + Timeline.generated.cs + + + RazorGenerator + GenericComponents.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + Show.generated.cs + + + RazorGenerator + _DeviceComponentsTable.generated.cs + + + RazorGenerator + Create.generated.cs + + + RazorGenerator + Defaults.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + Show.generated.cs + + + RazorGenerator + _Table.generated.cs + + + RazorGenerator + _TableRender.generated.cs + + + RazorGenerator + Create.generated.cs + + + RazorGenerator + ExpressionBrowser2.generated.cs + + + RazorGenerator + ImportStatus.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + Show.generated.cs + + + RazorGenerator + UndetectedPages.generated.cs + + + RazorGenerator + _ExpressionsTable.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + Status.generated.cs + + + RazorGenerator + Editor.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + TaskStatus.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + ProviderConfiguration.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + LogEvents.generated.cs + + + RazorGenerator + Index.generated.cs + + + + RazorGenerator + _ViewStart.generated.cs + + + RazorGenerator + Credits.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + Licence.generated.cs + + + RazorGenerator + _Layout.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + Noticeboard.generated.cs + + + + RazorGenerator + _ViewStart.generated.cs + + + RazorGenerator + _EmptyLayout.generated.cs + + + RazorGenerator + _DialogLayout.generated.cs + + + RazorGenerator + _JobTable.generated.cs + + + RazorGenerator + _JobTableRender.generated.cs + + + RazorGenerator + _SearchDialog.generated.cs + + + RazorGenerator + Index.generated.cs + + + RazorGenerator + Show.generated.cs + + + RazorGenerator + Resources.generated.cs + + + RazorGenerator + _UserDeviceAssignmentHistoryTable.generated.cs + + + RazorGenerator + _UserTable.generated.cs + + + RazorGenerator + _ViewStart.generated.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + Designer + + + Web.config + + + Web.config + + + RazorGenerator + _ViewStart.generated.cs + + + RazorGenerator + Error.generated.cs + + + RazorGenerator + _Layout.generated.cs + + + + + + + + + + + + + + + + + {095e6f94-3c34-47ae-bb83-46203535e0f6} + Disco.BI + + + {85a6bd19-2c64-4746-8f2c-a68a86e8c2d7} + Disco.Data + + + {fbc05512-fcca-4b16-9e76-8c413c5de6c9} + Disco.Models + + + {b80a737f-bd6a-4986-9182-dd7b932bd950} + Disco.Services + + + {c433efba-8608-4451-874b-af32c8536792} + Disco.Web.Extensions + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + + + + True + True + 58382 + / + http://localhost:57252/ + False + False + + + False + + + + + + + \ No newline at end of file diff --git a/Disco.Web/Properties/AssemblyInfo.cs b/Disco.Web/Properties/AssemblyInfo.cs index ba995da4..267c7ac7 100644 --- a/Disco.Web/Properties/AssemblyInfo.cs +++ b/Disco.Web/Properties/AssemblyInfo.cs @@ -1,35 +1,35 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Disco ICT Management Website")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Disco ICT Management")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("2e74ba84-f784-4006-b99c-1967612fe48f")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: -[assembly: AssemblyVersion("1.2.0131.2002")] -[assembly: AssemblyFileVersion("1.2.0131.2002")] +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Disco ICT Management Website")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Disco ICT Management")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("2e74ba84-f784-4006-b99c-1967612fe48f")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.2.0207.1727")] +[assembly: AssemblyFileVersion("1.2.0207.1727")] diff --git a/Disco.Web/T4MVC.cs b/Disco.Web/T4MVC.cs index 1f0c1f67..5c25b9f3 100644 --- a/Disco.Web/T4MVC.cs +++ b/Disco.Web/T4MVC.cs @@ -1,8895 +1,8989 @@ -// -// This file was generated by a T4 template. -// 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 -#region T4MVC - -using System; -using System.Diagnostics; -using System.CodeDom.Compiler; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.CompilerServices; -using System.Web; -using System.Web.Hosting; -using System.Web.Mvc; -using System.Web.Mvc.Ajax; -using System.Web.Mvc.Html; -using System.Web.Routing; -using T4MVC; - -[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] -public static class MVC -{ - static readonly APIClass s_API = new APIClass(); - public static APIClass API { get { return s_API; } } - static readonly ConfigClass s_Config = new ConfigClass(); - public static ConfigClass Config { get { return s_Config; } } - static readonly PublicClass s_Public = new PublicClass(); - public static PublicClass Public { get { return s_Public; } } - static readonly ServicesClass s_Services = new ServicesClass(); - public static ServicesClass Services { get { return s_Services; } } - public static Disco.Web.Controllers.DeviceController Device = new Disco.Web.Controllers.T4MVC_DeviceController(); - public static Disco.Web.Controllers.InitialConfigController InitialConfig = new Disco.Web.Controllers.T4MVC_InitialConfigController(); - public static Disco.Web.Controllers.JobController Job = new Disco.Web.Controllers.T4MVC_JobController(); - public static Disco.Web.Controllers.PluginWebHandlerController PluginWebHandler = new Disco.Web.Controllers.T4MVC_PluginWebHandlerController(); - public static Disco.Web.Controllers.SearchController Search = new Disco.Web.Controllers.T4MVC_SearchController(); - public static Disco.Web.Controllers.UserController User = new Disco.Web.Controllers.T4MVC_UserController(); - public static T4MVC.HomeController Home = new T4MVC.HomeController(); - public static T4MVC.SharedController Shared = new T4MVC.SharedController(); -} - -namespace T4MVC -{ - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class APIClass - { - public readonly string Name = "API"; - public Disco.Web.Areas.API.Controllers.BootstrapperController Bootstrapper = new Disco.Web.Areas.API.Controllers.T4MVC_BootstrapperController(); - public Disco.Web.Areas.API.Controllers.DeviceBatchController DeviceBatch = new Disco.Web.Areas.API.Controllers.T4MVC_DeviceBatchController(); - public Disco.Web.Areas.API.Controllers.DeviceController Device = new Disco.Web.Areas.API.Controllers.T4MVC_DeviceController(); - public Disco.Web.Areas.API.Controllers.DeviceModelController DeviceModel = new Disco.Web.Areas.API.Controllers.T4MVC_DeviceModelController(); - public Disco.Web.Areas.API.Controllers.DeviceProfileController DeviceProfile = new Disco.Web.Areas.API.Controllers.T4MVC_DeviceProfileController(); - public Disco.Web.Areas.API.Controllers.DocumentTemplateController DocumentTemplate = new Disco.Web.Areas.API.Controllers.T4MVC_DocumentTemplateController(); - public Disco.Web.Areas.API.Controllers.ExpressionsController Expressions = new Disco.Web.Areas.API.Controllers.T4MVC_ExpressionsController(); - public Disco.Web.Areas.API.Controllers.JobController Job = new Disco.Web.Areas.API.Controllers.T4MVC_JobController(); - public Disco.Web.Areas.API.Controllers.LoggingController Logging = new Disco.Web.Areas.API.Controllers.T4MVC_LoggingController(); - public Disco.Web.Areas.API.Controllers.SystemController System = new Disco.Web.Areas.API.Controllers.T4MVC_SystemController(); - public Disco.Web.Areas.API.Controllers.UserController User = new Disco.Web.Areas.API.Controllers.T4MVC_UserController(); - public Disco.Web.Areas.API.Controllers.WirelessCertificateController WirelessCertificate = new Disco.Web.Areas.API.Controllers.T4MVC_WirelessCertificateController(); - } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ConfigClass - { - public readonly string Name = "Config"; - public Disco.Web.Areas.Config.Controllers.ConfigController Config = new Disco.Web.Areas.Config.Controllers.T4MVC_ConfigController(); - public Disco.Web.Areas.Config.Controllers.DeviceBatchController DeviceBatch = new Disco.Web.Areas.Config.Controllers.T4MVC_DeviceBatchController(); - public Disco.Web.Areas.Config.Controllers.DeviceModelController DeviceModel = new Disco.Web.Areas.Config.Controllers.T4MVC_DeviceModelController(); - public Disco.Web.Areas.Config.Controllers.DeviceProfileController DeviceProfile = new Disco.Web.Areas.Config.Controllers.T4MVC_DeviceProfileController(); - public Disco.Web.Areas.Config.Controllers.DocumentTemplateController DocumentTemplate = new Disco.Web.Areas.Config.Controllers.T4MVC_DocumentTemplateController(); - public Disco.Web.Areas.Config.Controllers.EnrolmentController Enrolment = new Disco.Web.Areas.Config.Controllers.T4MVC_EnrolmentController(); - public Disco.Web.Areas.Config.Controllers.ExpressionsController Expressions = new Disco.Web.Areas.Config.Controllers.T4MVC_ExpressionsController(); - public Disco.Web.Areas.Config.Controllers.LoggingController Logging = new Disco.Web.Areas.Config.Controllers.T4MVC_LoggingController(); - public Disco.Web.Areas.Config.Controllers.OrganisationController Organisation = new Disco.Web.Areas.Config.Controllers.T4MVC_OrganisationController(); - public Disco.Web.Areas.Config.Controllers.PluginsController Plugins = new Disco.Web.Areas.Config.Controllers.T4MVC_PluginsController(); - public Disco.Web.Areas.Config.Controllers.SystemConfigController SystemConfig = new Disco.Web.Areas.Config.Controllers.T4MVC_SystemConfigController(); - public T4MVC.Config.SharedController Shared = new T4MVC.Config.SharedController(); - } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class PublicClass - { - public readonly string Name = "Public"; - public Disco.Web.Areas.Public.Controllers.PublicController Public = new Disco.Web.Areas.Public.Controllers.T4MVC_PublicController(); - public Disco.Web.Areas.Public.Controllers.UserHeldDevicesController UserHeldDevices = new Disco.Web.Areas.Public.Controllers.T4MVC_UserHeldDevicesController(); - public T4MVC.Public.SharedController Shared = new T4MVC.Public.SharedController(); - } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ServicesClass - { - public readonly string Name = "Services"; - public Disco.Web.Areas.Services.Controllers.ClientController Client = new Disco.Web.Areas.Services.Controllers.T4MVC_ClientController(); - } -} - -namespace T4MVC -{ - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class Dummy - { - private Dummy() { } - public static Dummy Instance = new Dummy(); - } -} - -[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] -public class T4MVC_System_Web_Mvc_ActionResult : System.Web.Mvc.ActionResult, IT4MVCActionResult -{ - public T4MVC_System_Web_Mvc_ActionResult(string area, string controller, string action, string protocol = null): base() - { - this.InitMVCT4Result(area, controller, action, protocol); - } - - public override void ExecuteResult(System.Web.Mvc.ControllerContext context) { } - - public string Controller { get; set; } - public string Action { get; set; } - public string Protocol { get; set; } - public RouteValueDictionary RouteValueDictionary { get; set; } -} - - - -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); } - [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); } - [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 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_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_1_8_3_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery-1.8.3.min.js") ? Url("jquery-1.8.3.min.js") : Url("jquery-1.8.3.js"); - - public static readonly string jquery_ui_1_9_2_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery-ui-1.9.2.min.js") ? Url("jquery-ui-1.9.2.min.js") : Url("jquery-ui-1.9.2.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 modernizr_2_6_2_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/modernizr-2.6.2.min.js") ? Url("modernizr-2.6.2.min.js") : Url("modernizr-2.6.2.js"); - - } - - public static readonly string Core_js_bundle = Url("Core.js.bundle"); - 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_min_js_map = Url("Core.min.js.map"); - [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); } - [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 static readonly string Disco_AjaxHelperIcons_js_bundle = Url("Disco-AjaxHelperIcons.js.bundle"); - 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_min_js_map = Url("Disco-AjaxHelperIcons.min.js.map"); - [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 static readonly string Disco_CreateJob_js_bundle = Url("Disco-CreateJob.js.bundle"); - 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_min_js_map = Url("Disco-CreateJob.min.js.map"); - [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 static readonly string Disco_DataTableHelpers_js_bundle = Url("Disco-DataTableHelpers.js.bundle"); - 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_min_js_map = Url("Disco-DataTableHelpers.min.js.map"); - [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 static readonly string Disco_ExpressionEditor_js_bundle = Url("Disco-ExpressionEditor.js.bundle"); - 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_min_js_map = Url("Disco-ExpressionEditor.min.js.map"); - [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 static readonly string Disco_jQueryExtensions_js_bundle = Url("Disco-jQueryExtensions.js.bundle"); - 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_min_js_map = Url("Disco-jQueryExtensions.min.js.map"); - [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 static readonly string Disco_PropertyChangeHelpers_js_bundle = Url("Disco-PropertyChangeHelpers.js.bundle"); - 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_min_js_map = Url("Disco-PropertyChangeHelpers.min.js.map"); - [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"); - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class modules { - private const string URLPATH = "~/ClientSource/Scripts/Modules/Highcharts/modules"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string canvas_tools_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/canvas-tools.min.js") ? Url("canvas-tools.min.js") : Url("canvas-tools.js"); - - public static readonly string canvas_tools_src_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/canvas-tools.src.min.js") ? Url("canvas-tools.src.min.js") : Url("canvas-tools.src.js"); - - public static readonly string exporting_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/exporting.min.js") ? Url("exporting.min.js") : Url("exporting.js"); - - public static readonly string exporting_src_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/exporting.src.min.js") ? Url("exporting.src.min.js") : Url("exporting.src.js"); - - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class themes { - private const string URLPATH = "~/ClientSource/Scripts/Modules/Highcharts/themes"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string dark_blue_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/dark-blue.min.js") ? Url("dark-blue.min.js") : Url("dark-blue.js"); - - public static readonly string dark_green_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/dark-green.min.js") ? Url("dark-green.min.js") : Url("dark-green.js"); - - public static readonly string gray_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/gray.min.js") ? Url("gray.min.js") : Url("gray.js"); - - public static readonly string grid_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/grid.min.js") ? Url("grid.min.js") : Url("grid.js"); - - public static readonly string skies_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/skies.min.js") ? Url("skies.min.js") : Url("skies.js"); - - } - - } - - public static readonly string Highcharts_js_bundle = Url("Highcharts.js.bundle"); - 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_min_js_map = Url("Highcharts.min.js.map"); - [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 static readonly string jQuery_Isotope_js_bundle = Url("jQuery-Isotope.js.bundle"); - 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_min_js_map = Url("jQuery-Isotope.min.js.map"); - [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 static readonly string jQuery_NumberFormatter_js_bundle = Url("jQuery-NumberFormatter.js.bundle"); - 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_min_js_map = Url("jQuery-NumberFormatter.min.js.map"); - [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 jquery_signalR_0_5_3_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.signalR-0.5.3.min.js") ? Url("jquery.signalR-0.5.3.min.js") : Url("jquery.signalR-0.5.3.js"); - - } - - public static readonly string jQuery_SignalR_js_bundle = Url("jQuery-SignalR.js.bundle"); - 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_min_js_map = Url("jQuery-SignalR.min.js.map"); - [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 static readonly string jQueryUI_DynaTree_js_bundle = Url("jQueryUI-DynaTree.js.bundle"); - 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_min_js_map = Url("jQueryUI-DynaTree.min.js.map"); - [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 static readonly string jQueryUI_TimePicker_js_bundle = Url("jQueryUI-TimePicker.js.bundle"); - 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_min_js_map = Url("jQueryUI-TimePicker.min.js.map"); - [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_2_2_0_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/knockout-2.2.0.min.js") ? Url("knockout-2.2.0.min.js") : Url("knockout-2.2.0.js"); - - } - - public static readonly string Knockout_js_bundle = Url("Knockout.js.bundle"); - 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_min_js_map = Url("Knockout.min.js.map"); - [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 static readonly string Shadowbox_js_bundle = Url("Shadowbox.js.bundle"); - 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_min_js_map = Url("Shadowbox.min.js.map"); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class Silverlight { - private const string URLPATH = "~/ClientSource/Scripts/Modules/Silverlight"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string Silverlight_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Silverlight.min.js") ? Url("Silverlight.min.js") : Url("Silverlight.js"); - - } - - public static readonly string Silverlight_js_bundle = Url("Silverlight.js.bundle"); - public static readonly string Silverlight_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Silverlight.min.js") ? Url("Silverlight.min.js") : Url("Silverlight.js"); - - public static readonly string Silverlight_min_js = Url("Silverlight.min.js"); - public static readonly string Silverlight_min_js_map = Url("Silverlight.min.js.map"); - [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 static readonly string Timeline_js_bundle = Url("Timeline.js.bundle"); - 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_min_js_map = Url("Timeline.min.js.map"); - [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 static readonly string jquery_tinymce_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.tinymce.min.js") ? Url("jquery.tinymce.min.js") : Url("jquery.tinymce.js"); - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class langs { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/langs"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string en_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/en.min.js") ? Url("en.min.js") : Url("en.js"); - - } - - public static readonly string license_txt = Url("license.txt"); - [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); } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class advanced { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string about_htm = Url("about.htm"); - public static readonly string anchor_htm = Url("anchor.htm"); - public static readonly string charmap_htm = Url("charmap.htm"); - public static readonly string color_picker_htm = Url("color_picker.htm"); - public static readonly string editor_template_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/editor_template.min.js") ? Url("editor_template.min.js") : Url("editor_template.js"); - - public static readonly string editor_template_src_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/editor_template_src.min.js") ? Url("editor_template_src.min.js") : Url("editor_template_src.js"); - - public static readonly string image_htm = Url("image.htm"); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class img { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/img"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string colorpicker_jpg = Url("colorpicker.jpg"); - public static readonly string flash_gif = Url("flash.gif"); - public static readonly string icons_gif = Url("icons.gif"); - public static readonly string iframe_gif = Url("iframe.gif"); - public static readonly string pagebreak_gif = Url("pagebreak.gif"); - public static readonly string quicktime_gif = Url("quicktime.gif"); - public static readonly string realmedia_gif = Url("realmedia.gif"); - public static readonly string shockwave_gif = Url("shockwave.gif"); - public static readonly string trans_gif = Url("trans.gif"); - public static readonly string video_gif = Url("video.gif"); - public static readonly string windowsmedia_gif = Url("windowsmedia.gif"); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class js { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/js"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string about_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/about.min.js") ? Url("about.min.js") : Url("about.js"); - - public static readonly string anchor_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/anchor.min.js") ? Url("anchor.min.js") : Url("anchor.js"); - - public static readonly string charmap_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/charmap.min.js") ? Url("charmap.min.js") : Url("charmap.js"); - - public static readonly string color_picker_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/color_picker.min.js") ? Url("color_picker.min.js") : Url("color_picker.js"); - - public static readonly string image_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/image.min.js") ? Url("image.min.js") : Url("image.js"); - - public static readonly string link_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/link.min.js") ? Url("link.min.js") : Url("link.js"); - - public static readonly string source_editor_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/source_editor.min.js") ? Url("source_editor.min.js") : Url("source_editor.js"); - - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class langs { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/langs"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string en_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/en.min.js") ? Url("en.min.js") : Url("en.js"); - - public static readonly string en_dlg_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/en_dlg.min.js") ? Url("en_dlg.min.js") : Url("en_dlg.js"); - - } - - public static readonly string link_htm = Url("link.htm"); - public static readonly string shortcuts_htm = Url("shortcuts.htm"); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class skins { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/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 @default { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/skins/default"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - 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 dialog_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/dialog.min.css") ? Url("dialog.min.css") : Url("dialog.css"); - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class img { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/skins/default/img"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string buttons_png = Url("buttons.png"); - public static readonly string items_gif = Url("items.gif"); - public static readonly string menu_arrow_gif = Url("menu_arrow.gif"); - public static readonly string menu_check_gif = Url("menu_check.gif"); - public static readonly string progress_gif = Url("progress.gif"); - public static readonly string tabs_gif = Url("tabs.gif"); - } - - public static readonly string ui_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui.min.css") ? Url("ui.min.css") : Url("ui.css"); - - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class highcontrast { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/skins/highcontrast"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - 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 dialog_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/dialog.min.css") ? Url("dialog.min.css") : Url("dialog.css"); - - public static readonly string ui_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui.min.css") ? Url("ui.min.css") : Url("ui.css"); - - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class o2k7 { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/skins/o2k7"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - 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 dialog_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/dialog.min.css") ? Url("dialog.min.css") : Url("dialog.css"); - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class img { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/skins/o2k7/img"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string button_bg_png = Url("button_bg.png"); - public static readonly string button_bg_black_png = Url("button_bg_black.png"); - public static readonly string button_bg_silver_png = Url("button_bg_silver.png"); - } - - public static readonly string ui_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui.min.css") ? Url("ui.min.css") : Url("ui.css"); - - public static readonly string ui_black_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui_black.min.css") ? Url("ui_black.min.css") : Url("ui_black.css"); - - public static readonly string ui_silver_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui_silver.min.css") ? Url("ui_silver.min.css") : Url("ui_silver.css"); - - } - - } - - public static readonly string source_editor_htm = Url("source_editor.htm"); - } - - [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 editor_template_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/editor_template.min.js") ? Url("editor_template.min.js") : Url("editor_template.js"); - - public static readonly string editor_template_src_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/editor_template_src.min.js") ? Url("editor_template_src.min.js") : Url("editor_template_src.js"); - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class img { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/img"; - 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"); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class langs { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/langs"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string en_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/en.min.js") ? Url("en.min.js") : Url("en.js"); - - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class skins { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/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 @default { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/skins/default"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - 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 ui_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui.min.css") ? Url("ui.min.css") : Url("ui.css"); - - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class o2k7 { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/skins/o2k7"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string content_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/content.min.css") ? Url("content.min.css") : Url("content.css"); - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class img { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/skins/o2k7/img"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string button_bg_png = Url("button_bg.png"); - } - - public static readonly string ui_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui.min.css") ? Url("ui.min.css") : Url("ui.css"); - - } - - } - - } - - } - - public static readonly string tiny_mce_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/tiny_mce.min.js") ? Url("tiny_mce.min.js") : Url("tiny_mce.js"); - - public static readonly string tiny_mce_jquery_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/tiny_mce_jquery.min.js") ? Url("tiny_mce_jquery.min.js") : Url("tiny_mce_jquery.js"); - - public static readonly string tiny_mce_popup_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/tiny_mce_popup.min.js") ? Url("tiny_mce_popup.min.js") : Url("tiny_mce_popup.js"); - - public static readonly string tiny_mce_src_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/tiny_mce_src.min.js") ? Url("tiny_mce_src.min.js") : Url("tiny_mce_src.js"); - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public static class utils { - private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/utils"; - public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } - public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } - public static readonly string editable_selects_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/editable_selects.min.js") ? Url("editable_selects.min.js") : Url("editable_selects.js"); - - public static readonly string form_utils_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/form_utils.min.js") ? Url("form_utils.min.js") : Url("form_utils.js"); - - public static readonly string mctabs_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/mctabs.min.js") ? Url("mctabs.min.js") : Url("mctabs.js"); - - public static readonly string validate_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/validate.min.js") ? Url("validate.min.js") : Url("validate.js"); - - } - - } - - public static readonly string tinymce_js_bundle = Url("tinymce.js.bundle"); - 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_min_js_map = Url("tinymce.min.js.map"); - } - - } - - [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 static readonly string BundleSite_css_bundle = Url("BundleSite.css.bundle"); - 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_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 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"); - public static readonly string iTextSharp_png = Url("iTextSharp.png"); - public static readonly string jQuery_png = Url("jQuery.png"); - public static readonly string jQueryUI_png = Url("jQueryUI.png"); - public static readonly string JsonNET_png = Url("JsonNET.png"); - public static readonly string knockoutjs_png = Url("knockoutjs.png"); - public static readonly string LibTiff_png = Url("LibTiff.png"); - public static readonly string MicrosoftASPNET_png = Url("MicrosoftASPNET.png"); - public static readonly string MicrosoftNET_png = Url("MicrosoftNET.png"); - public static readonly string MicrosoftSilverlight_png = Url("MicrosoftSilverlight.png"); - public static readonly string MicrosoftSQLServer_png = Url("MicrosoftSQLServer.png"); - public static readonly string Modernizr_png = Url("Modernizr.png"); - public static readonly string nuget_png = Url("nuget.png"); - public static readonly string Quartz_png = Url("Quartz.png"); - public static readonly string Shadowboxjs_png = Url("Shadowboxjs.png"); - public static readonly string SignalR_png = Url("SignalR.png"); - public static readonly string SpringNET_png = Url("SpringNET.png"); - public static readonly string TinyMCE_png = Url("TinyMCE.png"); - public static readonly string ZXing_png = Url("ZXing.png"); - } - - 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_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_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_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_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_min_css = Url("ExpressionEditor.min.css"); - public static readonly string ExpressionEditor_htm = Url("ExpressionEditor.htm"); - [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); } - [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 static readonly string attach_png = Url("attach.png"); - 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"); - public static readonly string dataTableLastDisabled_png = Url("dataTableLastDisabled.png"); - public static readonly string dataTableNext_png = Url("dataTableNext.png"); - public static readonly string dataTableNextDisabled_png = Url("dataTableNextDisabled.png"); - public static readonly string dataTablePrev_png = Url("dataTablePrev.png"); - public static readonly string dataTablePrevDisabled_png = Url("dataTablePrevDisabled.png"); - public static readonly string dataTableSort_png = Url("dataTableSort.png"); - public static readonly string editForm_png = Url("editForm.png"); - public static readonly string expressionBrowser_png = Url("expressionBrowser.png"); - public static readonly string expressionBrowser256_png = Url("expressionBrowser256.png"); - public static readonly string list_png = Url("list.png"); - public static readonly string listAlert_png = Url("listAlert.png"); - public static readonly string locked_png = Url("locked.png"); - public static readonly string pageMenuConfigIcon_png = Url("pageMenuConfigIcon.png"); - public static readonly string pageMenuConfigIconHover_png = Url("pageMenuConfigIconHover.png"); - public static readonly string pageMenuIcon_png = Url("pageMenuIcon.png"); - public static readonly string pageMenuIconHover_png = Url("pageMenuIconHover.png"); - public static readonly string pageMenuNoticeboardIcon_png = Url("pageMenuNoticeboardIcon.png"); - public static readonly string pageMenuNoticeboardIconHover_png = Url("pageMenuNoticeboardIconHover.png"); - public static readonly string pageMenuReportIcon_png = Url("pageMenuReportIcon.png"); - public static readonly string pageMenuReportIconHover_png = Url("pageMenuReportIconHover.png"); - public static readonly string photo_png = Url("photo.png"); - public static readonly string post_png = Url("post.png"); - public static readonly string remove_png = Url("remove.png"); - public static readonly string removeSubtle_png = Url("removeSubtle.png"); - public static readonly string unlocked_png = Url("unlocked.png"); - } - - [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 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"); - public static readonly string pdf_png = Url("pdf.png"); - public static readonly string unknown_png = Url("unknown.png"); - } - - public static readonly string BackgroundDocument_png = Url("BackgroundDocument.png"); - public static readonly string BackgroundInitialConfig_jpg = Url("BackgroundInitialConfig.jpg"); - 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 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"); - public static readonly string Maximum_png = Url("Maximum.png"); - public static readonly string Mobile_png = Url("Mobile.png"); - public static readonly string PerformanceServer_png = Url("PerformanceServer.png"); - public static readonly string SmallOfficeAndHomeOfficeServer_png = Url("SmallOfficeAndHomeOfficeServer.png"); - public static readonly string Unknown_png = Url("Unknown.png"); - public static readonly string Workstation_png = Url("Workstation.png"); - } - - public static readonly string Heading_png = Url("Heading.png"); - public static readonly string Icon32_png = Url("Icon32.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 static readonly string error_png = Url("error.png"); - public static readonly string fail32_png = Url("fail32.png"); - public static readonly string fileBroken256_png = Url("fileBroken256.png"); - public static readonly string information_png = Url("information.png"); - public static readonly string jobStatus_Closed_png = Url("jobStatus-Closed.png"); - public static readonly string jobStatus_Insurance_png = Url("jobStatus-Insurance.png"); - public static readonly string jobStatus_Open_png = Url("jobStatus-Open.png"); - public static readonly string jobStatus_Repairs_png = Url("jobStatus-Repairs.png"); - public static readonly string jobStatus_User_png = Url("jobStatus-User.png"); - public static readonly string loading_gif = Url("loading.gif"); - public static readonly string ok_png = Url("ok.png"); - public static readonly string pbar_ani_gif = Url("pbar-ani.gif"); - public static readonly string save_png = Url("save.png"); - public static readonly string success_png = Url("success.png"); - public static readonly string updateAvailable_png = Url("updateAvailable.png"); - public static readonly string warning_png = Url("warning.png"); - public static readonly string warning32_png = Url("warning32.png"); - } - - public static readonly string SubMenuBackground_png = Url("SubMenuBackground.png"); - public static readonly string SubSubMenuIcon_png = Url("SubSubMenuIcon.png"); - } - - public static readonly string InitialConfig_less = Url("InitialConfig.less"); - public static readonly string InitialConfig_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/InitialConfig.min.css") ? Url("InitialConfig.min.css") : Url("InitialConfig.css"); - - public static readonly string InitialConfig_min_css = Url("InitialConfig.min.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_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); } - [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 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_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 static readonly string ui_bg_diagonals_thick_18_b81900_40x40_png = Url("ui-bg_diagonals-thick_18_b81900_40x40.png"); - public static readonly string ui_bg_diagonals_thick_20_666666_40x40_png = Url("ui-bg_diagonals-thick_20_666666_40x40.png"); - public static readonly string ui_bg_flat_10_000000_40x100_png = Url("ui-bg_flat_10_000000_40x100.png"); - public static readonly string ui_bg_glass_100_f6f6f6_1x400_png = Url("ui-bg_glass_100_f6f6f6_1x400.png"); - public static readonly string ui_bg_glass_100_fdf5ce_1x400_png = Url("ui-bg_glass_100_fdf5ce_1x400.png"); - public static readonly string ui_bg_glass_65_ffffff_1x400_png = Url("ui-bg_glass_65_ffffff_1x400.png"); - public static readonly string ui_bg_gloss_wave_35_f6a828_500x100_png = Url("ui-bg_gloss-wave_35_f6a828_500x100.png"); - public static readonly string ui_bg_highlight_soft_100_eeeeee_1x100_png = Url("ui-bg_highlight-soft_100_eeeeee_1x100.png"); - public static readonly string ui_bg_highlight_soft_75_ffe45c_1x100_png = Url("ui-bg_highlight-soft_75_ffe45c_1x100.png"); - public static readonly string ui_icons_222222_256x240_png = Url("ui-icons_222222_256x240.png"); - public static readonly string ui_icons_228ef1_256x240_png = Url("ui-icons_228ef1_256x240.png"); - public static readonly string ui_icons_ef8c08_256x240_png = Url("ui-icons_ef8c08_256x240.png"); - public static readonly string ui_icons_ffd27a_256x240_png = Url("ui-icons_ffd27a_256x240.png"); - public static readonly string ui_icons_ffffff_256x240_png = Url("ui-icons_ffffff_256x240.png"); - } - - 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_min_css = Url("jQueryUIExtensions.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 static readonly string UserHeldDevices_less = Url("UserHeldDevices.less"); - public static readonly string UserHeldDevices_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/UserHeldDevices.min.css") ? Url("UserHeldDevices.min.css") : Url("UserHeldDevices.css"); - - public static readonly string UserHeldDevices_min_css = Url("UserHeldDevices.min.css"); - public static readonly string UserHeldDevicesNoticeboard_less = Url("UserHeldDevicesNoticeboard.less"); - public static readonly string UserHeldDevicesNoticeboard_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/UserHeldDevicesNoticeboard.min.css") ? Url("UserHeldDevicesNoticeboard.min.css") : Url("UserHeldDevicesNoticeboard.css"); - - public static readonly string UserHeldDevicesNoticeboard_min_css = Url("UserHeldDevicesNoticeboard.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 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_min_css = Url("shadowbox.min.css"); - } - - public static readonly string Shadowbox_css_bundle = Url("Shadowbox.css.bundle"); - 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_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_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 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_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_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 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"); - public static readonly string bubble_arrow_point_right_png = Url("bubble-arrow-point-right.png"); - public static readonly string bubble_arrow_point_up_png = Url("bubble-arrow-point-up.png"); - public static readonly string bubble_bottom_arrow_png = Url("bubble-bottom-arrow.png"); - public static readonly string bubble_bottom_left_png = Url("bubble-bottom-left.png"); - public static readonly string bubble_bottom_right_png = Url("bubble-bottom-right.png"); - public static readonly string bubble_bottom_png = Url("bubble-bottom.png"); - public static readonly string bubble_left_arrow_png = Url("bubble-left-arrow.png"); - public static readonly string bubble_left_png = Url("bubble-left.png"); - public static readonly string bubble_right_arrow_png = Url("bubble-right-arrow.png"); - public static readonly string bubble_right_png = Url("bubble-right.png"); - public static readonly string bubble_top_arrow_png = Url("bubble-top-arrow.png"); - public static readonly string bubble_top_left_png = Url("bubble-top-left.png"); - public static readonly string bubble_top_right_png = Url("bubble-top-right.png"); - public static readonly string bubble_top_png = Url("bubble-top.png"); - public static readonly string close_button_png = Url("close-button.png"); - public static readonly string copy_png = Url("copy.png"); - public static readonly string copyright_vertical_png = Url("copyright-vertical.png"); - public static readonly string copyright_png = Url("copyright.png"); - public static readonly string dark_blue_circle_png = Url("dark-blue-circle.png"); - public static readonly string dark_green_circle_png = Url("dark-green-circle.png"); - public static readonly string dark_red_circle_png = Url("dark-red-circle.png"); - public static readonly string dull_blue_circle_png = Url("dull-blue-circle.png"); - public static readonly string dull_green_circle_png = Url("dull-green-circle.png"); - public static readonly string dull_red_circle_png = Url("dull-red-circle.png"); - public static readonly string gray_circle_png = Url("gray-circle.png"); - public static readonly string green_circle_png = Url("green-circle.png"); - public static readonly string message_bottom_left_png = Url("message-bottom-left.png"); - public static readonly string message_bottom_right_png = Url("message-bottom-right.png"); - public static readonly string message_left_png = Url("message-left.png"); - public static readonly string message_right_png = Url("message-right.png"); - public static readonly string message_top_left_png = Url("message-top-left.png"); - public static readonly string message_top_right_png = Url("message-top-right.png"); - public static readonly string progress_running_gif = Url("progress-running.gif"); - public static readonly string red_circle_png = Url("red-circle.png"); - 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_min_css = Url("timeline-bundle.min.css"); - } - - public static readonly string Timeline_css_bundle = Url("Timeline.css.bundle"); - public static readonly string Timeline_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Timeline.min.css") ? Url("Timeline.min.css") : Url("Timeline.css"); - - public static readonly string Timeline_min_css = Url("Timeline.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_min_css = Url("User.min.css"); - } - - } - - [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 static readonly string DataStoreTemplate_zip = Url("DataStoreTemplate.zip"); - public static readonly string Disco_ClientBootstrapper_exe = Url("Disco.ClientBootstrapper.exe"); - public static readonly string Disco_Silverlight_AttachmentUpload_xap = Url("Disco.Silverlight.AttachmentUpload.xap"); - 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 {} - } -} - -[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] -public static class T4MVCHelpers { - // You can change the ProcessVirtualPath method to modify the path that gets returned to the client. - // e.g. you can prepend a domain, or append a query string: - // return "http://localhost" + path + "?foo=bar"; - private static string ProcessVirtualPathDefault(string virtualPath) { - // The path that comes in starts with ~/ and must first be made absolute - string path = VirtualPathUtility.ToAbsolute(virtualPath); - - // Add your own modifications here before returning the path - return path; - } - - // Calling ProcessVirtualPath through delegate to allow it to be replaced for unit testing - public static Func ProcessVirtualPath = ProcessVirtualPathDefault; - - - // Logic to determine if the app is running in production or dev environment - public static bool IsProduction() { - return (HttpContext.Current != null && !HttpContext.Current.IsDebuggingEnabled); - } -} - - -namespace Disco.Web.Controllers -{ - public partial class DeviceController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected DeviceController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Show() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceController Actions { get { return MVC.Device; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = ""; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Device"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Device"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string AddOffline = "AddOffline"; - public readonly string Show = "Show"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string AddOffline = "AddOffline"; - public const string Show = "Show"; - } - - - static readonly ActionParamsClass_AddOffline s_params_AddOffline = new ActionParamsClass_AddOffline(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AddOffline AddOfflineParams { get { return s_params_AddOffline; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AddOffline - { - public readonly string m = "m"; - } - static readonly ActionParamsClass_Show s_params_Show = new ActionParamsClass_Show(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Show ShowParams { get { return s_params_Show; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Show - { - public readonly string id = "id"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string _CertificateTable = "_CertificateTable"; - public readonly string _DeviceActions = "_DeviceActions"; - public readonly string _DeviceTable = "_DeviceTable"; - public readonly string _DeviceUserAssignmentHistoryTable = "_DeviceUserAssignmentHistoryTable"; - public readonly string _ViewStart = "_ViewStart"; - public readonly string AddOffline = "AddOffline"; - public readonly string Index = "Index"; - public readonly string Show = "Show"; - } - public readonly string _CertificateTable = "~/Views/Device/_CertificateTable.cshtml"; - public readonly string _DeviceActions = "~/Views/Device/_DeviceActions.cshtml"; - public readonly string _DeviceTable = "~/Views/Device/_DeviceTable.cshtml"; - public readonly string _DeviceUserAssignmentHistoryTable = "~/Views/Device/_DeviceUserAssignmentHistoryTable.cshtml"; - public readonly string _ViewStart = "~/Views/Device/_ViewStart.cshtml"; - public readonly string AddOffline = "~/Views/Device/AddOffline.cshtml"; - public readonly string Index = "~/Views/Device/Index.cshtml"; - public readonly string Show = "~/Views/Device/Show.cshtml"; - static readonly _DevicePartsClass s_DeviceParts = new _DevicePartsClass(); - public _DevicePartsClass DeviceParts { get { return s_DeviceParts; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public partial class _DevicePartsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Resources = "Resources"; - } - public readonly string Resources = "~/Views/Device/DeviceParts/Resources.cshtml"; - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_DeviceController : Disco.Web.Controllers.DeviceController - { - public T4MVC_DeviceController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AddOffline() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AddOffline); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AddOffline(Disco.Web.Models.Device.AddOfflineModel m) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AddOffline); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "m", m); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Show(string id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - } -} - -namespace Disco.Web.Controllers -{ - public partial class InitialConfigController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public InitialConfigController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected InitialConfigController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult FileStoreBranch() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.FileStoreBranch); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public InitialConfigController Actions { get { return MVC.InitialConfig; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = ""; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "InitialConfig"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "InitialConfig"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string Welcome = "Welcome"; - public readonly string Database = "Database"; - public readonly string FileStore = "FileStore"; - public readonly string FileStoreBranch = "FileStoreBranch"; - public readonly string Complete = "Complete"; - public readonly string RestartWebApp = "RestartWebApp"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string Welcome = "Welcome"; - public const string Database = "Database"; - public const string FileStore = "FileStore"; - public const string FileStoreBranch = "FileStoreBranch"; - public const string Complete = "Complete"; - public const string RestartWebApp = "RestartWebApp"; - } - - - static readonly ActionParamsClass_Welcome s_params_Welcome = new ActionParamsClass_Welcome(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Welcome WelcomeParams { get { return s_params_Welcome; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Welcome - { - public readonly string model = "model"; - } - static readonly ActionParamsClass_Database s_params_Database = new ActionParamsClass_Database(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Database DatabaseParams { get { return s_params_Database; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Database - { - public readonly string model = "model"; - } - static readonly ActionParamsClass_FileStore s_params_FileStore = new ActionParamsClass_FileStore(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_FileStore FileStoreParams { get { return s_params_FileStore; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_FileStore - { - public readonly string m = "m"; - } - static readonly ActionParamsClass_FileStoreBranch s_params_FileStoreBranch = new ActionParamsClass_FileStoreBranch(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_FileStoreBranch FileStoreBranchParams { get { return s_params_FileStoreBranch; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_FileStoreBranch - { - public readonly string Path = "Path"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string _Layout = "_Layout"; - public readonly string _ViewStart = "_ViewStart"; - public readonly string Complete = "Complete"; - public readonly string Database = "Database"; - public readonly string FileStore = "FileStore"; - public readonly string RestartWebApp = "RestartWebApp"; - public readonly string Welcome = "Welcome"; - } - public readonly string _Layout = "~/Views/InitialConfig/_Layout.cshtml"; - public readonly string _ViewStart = "~/Views/InitialConfig/_ViewStart.cshtml"; - public readonly string Complete = "~/Views/InitialConfig/Complete.cshtml"; - public readonly string Database = "~/Views/InitialConfig/Database.cshtml"; - public readonly string FileStore = "~/Views/InitialConfig/FileStore.cshtml"; - public readonly string RestartWebApp = "~/Views/InitialConfig/RestartWebApp.cshtml"; - public readonly string Welcome = "~/Views/InitialConfig/Welcome.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_InitialConfigController : Disco.Web.Controllers.InitialConfigController - { - public T4MVC_InitialConfigController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Welcome() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Welcome); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Welcome(Disco.Web.Models.InitialConfig.WelcomeModel model) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Welcome); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Database() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Database); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Database(Disco.Web.Models.InitialConfig.DatabaseModel model) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Database); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); - return callInfo; - } - - public override System.Web.Mvc.ActionResult FileStore() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.FileStore); - return callInfo; - } - - public override System.Web.Mvc.ActionResult FileStore(Disco.Web.Models.InitialConfig.FileStoreModel m) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.FileStore); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "m", m); - return callInfo; - } - - public override System.Web.Mvc.ActionResult FileStoreBranch(string Path) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.FileStoreBranch); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Path", Path); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Complete() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Complete); - return callInfo; - } - - public override System.Web.Mvc.ActionResult RestartWebApp() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.RestartWebApp); - return callInfo; - } - - } -} - -namespace Disco.Web.Controllers -{ - public partial class JobController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public JobController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected JobController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Show() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Create() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult LogWarranty() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LogWarranty); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult WarrantyProviderJobDetails() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.WarrantyProviderJobDetails); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public JobController Actions { get { return MVC.Job; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = ""; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Job"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Job"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string AllOpen = "AllOpen"; - public readonly string DevicesReadyForReturn = "DevicesReadyForReturn"; - public readonly string DevicesAwaitingRepair = "DevicesAwaitingRepair"; - public readonly string AwaitingFinance = "AwaitingFinance"; - public readonly string AwaitingFinanceCharge = "AwaitingFinanceCharge"; - public readonly string AwaitingFinancePayment = "AwaitingFinancePayment"; - public readonly string AwaitingFinanceInsuranceProcessing = "AwaitingFinanceInsuranceProcessing"; - public readonly string AwaitingFinanceAgreementBreach = "AwaitingFinanceAgreementBreach"; - public readonly string AwaitingUserAction = "AwaitingUserAction"; - public readonly string RecentlyClosed = "RecentlyClosed"; - public readonly string Locations = "Locations"; - public readonly string Show = "Show"; - public readonly string Create = "Create"; - public readonly string LogWarranty = "LogWarranty"; - public readonly string WarrantyProviderJobDetails = "WarrantyProviderJobDetails"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string AllOpen = "AllOpen"; - public const string DevicesReadyForReturn = "DevicesReadyForReturn"; - public const string DevicesAwaitingRepair = "DevicesAwaitingRepair"; - public const string AwaitingFinance = "AwaitingFinance"; - public const string AwaitingFinanceCharge = "AwaitingFinanceCharge"; - public const string AwaitingFinancePayment = "AwaitingFinancePayment"; - public const string AwaitingFinanceInsuranceProcessing = "AwaitingFinanceInsuranceProcessing"; - public const string AwaitingFinanceAgreementBreach = "AwaitingFinanceAgreementBreach"; - public const string AwaitingUserAction = "AwaitingUserAction"; - public const string RecentlyClosed = "RecentlyClosed"; - public const string Locations = "Locations"; - public const string Show = "Show"; - public const string Create = "Create"; - public const string LogWarranty = "LogWarranty"; - public const string WarrantyProviderJobDetails = "WarrantyProviderJobDetails"; - } - - - static readonly ActionParamsClass_Show s_params_Show = new ActionParamsClass_Show(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Show ShowParams { get { return s_params_Show; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Show - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_Create s_params_Create = new ActionParamsClass_Create(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Create CreateParams { get { return s_params_Create; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Create - { - public readonly string DeviceSerialNumber = "DeviceSerialNumber"; - public readonly string UserId = "UserId"; - public readonly string m = "m"; - } - static readonly ActionParamsClass_LogWarranty s_params_LogWarranty = new ActionParamsClass_LogWarranty(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_LogWarranty LogWarrantyParams { get { return s_params_LogWarranty; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_LogWarranty - { - public readonly string id = "id"; - public readonly string WarrantyProviderId = "WarrantyProviderId"; - public readonly string OrganisationAddressId = "OrganisationAddressId"; - public readonly string m = "m"; - public readonly string form = "form"; - } - static readonly ActionParamsClass_WarrantyProviderJobDetails s_params_WarrantyProviderJobDetails = new ActionParamsClass_WarrantyProviderJobDetails(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_WarrantyProviderJobDetails WarrantyProviderJobDetailsParams { get { return s_params_WarrantyProviderJobDetails; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_WarrantyProviderJobDetails - { - public readonly string id = "id"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string _CreateSubject = "_CreateSubject"; - public readonly string _ViewStart = "_ViewStart"; - public readonly string Create = "Create"; - public readonly string Create_Redirect = "Create_Redirect"; - public readonly string Index = "Index"; - public readonly string List = "List"; - public readonly string LogWarranty = "LogWarranty"; - public readonly string LogWarrantyDisclose = "LogWarrantyDisclose"; - public readonly string LogWarrantyError = "LogWarrantyError"; - public readonly string Show = "Show"; - public readonly string WarrantyProviderJobDetails = "WarrantyProviderJobDetails"; - } - public readonly string _CreateSubject = "~/Views/Job/_CreateSubject.cshtml"; - public readonly string _ViewStart = "~/Views/Job/_ViewStart.cshtml"; - public readonly string Create = "~/Views/Job/Create.cshtml"; - public readonly string Create_Redirect = "~/Views/Job/Create_Redirect.cshtml"; - public readonly string Index = "~/Views/Job/Index.cshtml"; - public readonly string List = "~/Views/Job/List.cshtml"; - public readonly string LogWarranty = "~/Views/Job/LogWarranty.cshtml"; - public readonly string LogWarrantyDisclose = "~/Views/Job/LogWarrantyDisclose.cshtml"; - public readonly string LogWarrantyError = "~/Views/Job/LogWarrantyError.cshtml"; - public readonly string Show = "~/Views/Job/Show.cshtml"; - public readonly string WarrantyProviderJobDetails = "~/Views/Job/WarrantyProviderJobDetails.cshtml"; - static readonly _JobPartsClass s_JobParts = new _JobPartsClass(); - public _JobPartsClass JobParts { get { return s_JobParts; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public partial class _JobPartsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string _Subject = "_Subject"; - public readonly string Components = "Components"; - public readonly string Flags = "Flags"; - public readonly string Insurance = "Insurance"; - public readonly string JobMetaAdditions = "JobMetaAdditions"; - public readonly string NonWarranty = "NonWarranty"; - public readonly string NonWarrantyFinance = "NonWarrantyFinance"; - public readonly string Repairs = "Repairs"; - public readonly string Resources = "Resources"; - public readonly string Warranty = "Warranty"; - } - public readonly string _Subject = "~/Views/Job/JobParts/_Subject.cshtml"; - public readonly string Components = "~/Views/Job/JobParts/Components.cshtml"; - public readonly string Flags = "~/Views/Job/JobParts/Flags.cshtml"; - public readonly string Insurance = "~/Views/Job/JobParts/Insurance.cshtml"; - public readonly string JobMetaAdditions = "~/Views/Job/JobParts/JobMetaAdditions.cshtml"; - public readonly string NonWarranty = "~/Views/Job/JobParts/NonWarranty.cshtml"; - public readonly string NonWarrantyFinance = "~/Views/Job/JobParts/NonWarrantyFinance.cshtml"; - public readonly string Repairs = "~/Views/Job/JobParts/Repairs.cshtml"; - public readonly string Resources = "~/Views/Job/JobParts/Resources.cshtml"; - public readonly string Warranty = "~/Views/Job/JobParts/Warranty.cshtml"; - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_JobController : Disco.Web.Controllers.JobController - { - public T4MVC_JobController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AllOpen() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AllOpen); - return callInfo; - } - - public override System.Web.Mvc.ActionResult DevicesReadyForReturn() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DevicesReadyForReturn); - return callInfo; - } - - public override System.Web.Mvc.ActionResult DevicesAwaitingRepair() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DevicesAwaitingRepair); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AwaitingFinance() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AwaitingFinance); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AwaitingFinanceCharge() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AwaitingFinanceCharge); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AwaitingFinancePayment() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AwaitingFinancePayment); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AwaitingFinanceInsuranceProcessing() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AwaitingFinanceInsuranceProcessing); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AwaitingFinanceAgreementBreach() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AwaitingFinanceAgreementBreach); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AwaitingUserAction() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AwaitingUserAction); - return callInfo; - } - - public override System.Web.Mvc.ActionResult RecentlyClosed() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.RecentlyClosed); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Locations() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Locations); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Show(int? id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Create(string DeviceSerialNumber, string UserId) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DeviceSerialNumber", DeviceSerialNumber); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "UserId", UserId); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Create(Disco.Web.Models.Job.CreateModel m) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "m", m); - return callInfo; - } - - public override System.Web.Mvc.ActionResult LogWarranty(int id, string WarrantyProviderId, int? OrganisationAddressId) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LogWarranty); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "WarrantyProviderId", WarrantyProviderId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "OrganisationAddressId", OrganisationAddressId); - return callInfo; - } - - public override System.Web.Mvc.ActionResult LogWarranty(Disco.Web.Models.Job.LogWarrantyModel m, System.Web.Mvc.FormCollection form) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LogWarranty); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "m", m); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "form", form); - return callInfo; - } - - public override System.Web.Mvc.ActionResult WarrantyProviderJobDetails(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.WarrantyProviderJobDetails); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - } -} - -namespace Disco.Web.Controllers -{ - public partial class PluginWebHandlerController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public PluginWebHandlerController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected PluginWebHandlerController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Index() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Resource() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Resource); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public PluginWebHandlerController Actions { get { return MVC.PluginWebHandler; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = ""; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "PluginWebHandler"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "PluginWebHandler"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string Resource = "Resource"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string Resource = "Resource"; - } - - - static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Index - { - public readonly string PluginId = "PluginId"; - public readonly string PluginAction = "PluginAction"; - } - static readonly ActionParamsClass_Resource s_params_Resource = new ActionParamsClass_Resource(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Resource ResourceParams { get { return s_params_Resource; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Resource - { - public readonly string PluginId = "PluginId"; - public readonly string res = "res"; - public readonly string Download = "Download"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_PluginWebHandlerController : Disco.Web.Controllers.PluginWebHandlerController - { - public T4MVC_PluginWebHandlerController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index(string PluginId, string PluginAction) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PluginId", PluginId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PluginAction", PluginAction); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Resource(string PluginId, string res, bool? Download) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Resource); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PluginId", PluginId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "res", res); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Download", Download); - return callInfo; - } - - } -} - -namespace Disco.Web.Controllers -{ - public partial class SearchController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public SearchController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected SearchController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Query() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Query); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public SearchController Actions { get { return MVC.Search; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = ""; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Search"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Search"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Query = "Query"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Query = "Query"; - } - - - static readonly ActionParamsClass_Query s_params_Query = new ActionParamsClass_Query(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Query QueryParams { get { return s_params_Query; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Query - { - public readonly string term = "term"; - public readonly string limit = "limit"; - public readonly string searchDetails = "searchDetails"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Query = "Query"; - } - public readonly string Query = "~/Views/Search/Query.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_SearchController : Disco.Web.Controllers.SearchController - { - public T4MVC_SearchController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Query(string term, string limit, bool searchDetails) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Query); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "limit", limit); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "searchDetails", searchDetails); - return callInfo; - } - - } -} - -namespace Disco.Web.Controllers -{ - public partial class UserController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public UserController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected UserController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Show() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public UserController Actions { get { return MVC.User; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = ""; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "User"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "User"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string Show = "Show"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string Show = "Show"; - } - - - static readonly ActionParamsClass_Show s_params_Show = new ActionParamsClass_Show(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Show ShowParams { get { return s_params_Show; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Show - { - public readonly string id = "id"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string _UserDeviceAssignmentHistoryTable = "_UserDeviceAssignmentHistoryTable"; - public readonly string _UserTable = "_UserTable"; - public readonly string _ViewStart = "_ViewStart"; - public readonly string Index = "Index"; - public readonly string Show = "Show"; - } - public readonly string _UserDeviceAssignmentHistoryTable = "~/Views/User/_UserDeviceAssignmentHistoryTable.cshtml"; - public readonly string _UserTable = "~/Views/User/_UserTable.cshtml"; - public readonly string _ViewStart = "~/Views/User/_ViewStart.cshtml"; - public readonly string Index = "~/Views/User/Index.cshtml"; - public readonly string Show = "~/Views/User/Show.cshtml"; - static readonly _UserPartsClass s_UserParts = new _UserPartsClass(); - public _UserPartsClass UserParts { get { return s_UserParts; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public partial class _UserPartsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Resources = "Resources"; - } - public readonly string Resources = "~/Views/User/UserParts/Resources.cshtml"; - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_UserController : Disco.Web.Controllers.UserController - { - public T4MVC_UserController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Show(string id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - } -} - -namespace T4MVC -{ - public class HomeController - { - - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - -} - -namespace T4MVC -{ - public class SharedController - { - - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string _DialogLayout = "_DialogLayout"; - public readonly string _EmptyLayout = "_EmptyLayout"; - public readonly string _JobTable = "_JobTable"; - public readonly string _JobTableRender = "_JobTableRender"; - public readonly string _Layout = "_Layout"; - public readonly string _SearchDialog = "_SearchDialog"; - public readonly string Error = "Error"; - } - public readonly string _DialogLayout = "~/Views/Shared/_DialogLayout.cshtml"; - public readonly string _EmptyLayout = "~/Views/Shared/_EmptyLayout.cshtml"; - public readonly string _JobTable = "~/Views/Shared/_JobTable.cshtml"; - public readonly string _JobTableRender = "~/Views/Shared/_JobTableRender.cshtml"; - public readonly string _Layout = "~/Views/Shared/_Layout.cshtml"; - public readonly string _SearchDialog = "~/Views/Shared/_SearchDialog.cshtml"; - public readonly string Error = "~/Views/Shared/Error.cshtml"; - } - } - -} - -namespace Disco.Web.Areas.API.Controllers -{ - public partial class BootstrapperController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public BootstrapperController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected BootstrapperController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult MacSshUsername() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.MacSshUsername); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult MacSshPassword() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.MacSshPassword); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public BootstrapperController Actions { get { return MVC.API.Bootstrapper; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "API"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Bootstrapper"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Bootstrapper"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string MacSshUsername = "MacSshUsername"; - public readonly string MacSshPassword = "MacSshPassword"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string MacSshUsername = "MacSshUsername"; - public const string MacSshPassword = "MacSshPassword"; - } - - - static readonly ActionParamsClass_MacSshUsername s_params_MacSshUsername = new ActionParamsClass_MacSshUsername(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_MacSshUsername MacSshUsernameParams { get { return s_params_MacSshUsername; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_MacSshUsername - { - public readonly string MacSshUsername = "MacSshUsername"; - } - static readonly ActionParamsClass_MacSshPassword s_params_MacSshPassword = new ActionParamsClass_MacSshPassword(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_MacSshPassword MacSshPasswordParams { get { return s_params_MacSshPassword; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_MacSshPassword - { - public readonly string MacSshPassword = "MacSshPassword"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_BootstrapperController : Disco.Web.Areas.API.Controllers.BootstrapperController - { - public T4MVC_BootstrapperController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult MacSshUsername(string MacSshUsername) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.MacSshUsername); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "MacSshUsername", MacSshUsername); - return callInfo; - } - - public override System.Web.Mvc.ActionResult MacSshPassword(string MacSshPassword) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.MacSshPassword); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "MacSshPassword", MacSshPassword); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.API.Controllers -{ - public partial class DeviceBatchController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceBatchController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected DeviceBatchController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Update() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateName() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateName); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdatePurchaseDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdatePurchaseDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateSupplier() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSupplier); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdatePurchaseDetails() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdatePurchaseDetails); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateUnitCost() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateUnitCost); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateUnitQuantity() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateUnitQuantity); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateDefaultDeviceModelId() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultDeviceModelId); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateWarrantyValidUntil() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyValidUntil); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateWarrantyDetails() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyDetails); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuredDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuredDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceSupplier() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceSupplier); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuredUntil() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuredUntil); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceDetails() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceDetails); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateComments() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateComments); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Delete() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Index() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceBatchController Actions { get { return MVC.API.DeviceBatch; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "API"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "DeviceBatch"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "DeviceBatch"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Update = "Update"; - public readonly string UpdateName = "UpdateName"; - public readonly string UpdatePurchaseDate = "UpdatePurchaseDate"; - public readonly string UpdateSupplier = "UpdateSupplier"; - public readonly string UpdatePurchaseDetails = "UpdatePurchaseDetails"; - public readonly string UpdateUnitCost = "UpdateUnitCost"; - public readonly string UpdateUnitQuantity = "UpdateUnitQuantity"; - public readonly string UpdateDefaultDeviceModelId = "UpdateDefaultDeviceModelId"; - public readonly string UpdateWarrantyValidUntil = "UpdateWarrantyValidUntil"; - public readonly string UpdateWarrantyDetails = "UpdateWarrantyDetails"; - public readonly string UpdateInsuredDate = "UpdateInsuredDate"; - public readonly string UpdateInsuranceSupplier = "UpdateInsuranceSupplier"; - public readonly string UpdateInsuredUntil = "UpdateInsuredUntil"; - public readonly string UpdateInsuranceDetails = "UpdateInsuranceDetails"; - public readonly string UpdateComments = "UpdateComments"; - public readonly string Delete = "Delete"; - public readonly string Index = "Index"; - public readonly string Timeline = "Timeline"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Update = "Update"; - public const string UpdateName = "UpdateName"; - public const string UpdatePurchaseDate = "UpdatePurchaseDate"; - public const string UpdateSupplier = "UpdateSupplier"; - public const string UpdatePurchaseDetails = "UpdatePurchaseDetails"; - public const string UpdateUnitCost = "UpdateUnitCost"; - public const string UpdateUnitQuantity = "UpdateUnitQuantity"; - public const string UpdateDefaultDeviceModelId = "UpdateDefaultDeviceModelId"; - public const string UpdateWarrantyValidUntil = "UpdateWarrantyValidUntil"; - public const string UpdateWarrantyDetails = "UpdateWarrantyDetails"; - public const string UpdateInsuredDate = "UpdateInsuredDate"; - public const string UpdateInsuranceSupplier = "UpdateInsuranceSupplier"; - public const string UpdateInsuredUntil = "UpdateInsuredUntil"; - public const string UpdateInsuranceDetails = "UpdateInsuranceDetails"; - public const string UpdateComments = "UpdateComments"; - public const string Delete = "Delete"; - public const string Index = "Index"; - public const string Timeline = "Timeline"; - } - - - static readonly ActionParamsClass_Update s_params_Update = new ActionParamsClass_Update(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Update UpdateParams { get { return s_params_Update; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Update - { - public readonly string id = "id"; - public readonly string key = "key"; - public readonly string value = "value"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateName s_params_UpdateName = new ActionParamsClass_UpdateName(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateName UpdateNameParams { get { return s_params_UpdateName; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateName - { - public readonly string id = "id"; - public readonly string BatchName = "BatchName"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdatePurchaseDate s_params_UpdatePurchaseDate = new ActionParamsClass_UpdatePurchaseDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdatePurchaseDate UpdatePurchaseDateParams { get { return s_params_UpdatePurchaseDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdatePurchaseDate - { - public readonly string id = "id"; - public readonly string PurchaseDate = "PurchaseDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateSupplier s_params_UpdateSupplier = new ActionParamsClass_UpdateSupplier(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateSupplier UpdateSupplierParams { get { return s_params_UpdateSupplier; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateSupplier - { - public readonly string id = "id"; - public readonly string Supplier = "Supplier"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdatePurchaseDetails s_params_UpdatePurchaseDetails = new ActionParamsClass_UpdatePurchaseDetails(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdatePurchaseDetails UpdatePurchaseDetailsParams { get { return s_params_UpdatePurchaseDetails; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdatePurchaseDetails - { - public readonly string id = "id"; - public readonly string PurchaseDetails = "PurchaseDetails"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateUnitCost s_params_UpdateUnitCost = new ActionParamsClass_UpdateUnitCost(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateUnitCost UpdateUnitCostParams { get { return s_params_UpdateUnitCost; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateUnitCost - { - public readonly string id = "id"; - public readonly string UnitCost = "UnitCost"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateUnitQuantity s_params_UpdateUnitQuantity = new ActionParamsClass_UpdateUnitQuantity(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateUnitQuantity UpdateUnitQuantityParams { get { return s_params_UpdateUnitQuantity; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateUnitQuantity - { - public readonly string id = "id"; - public readonly string UnitQuantity = "UnitQuantity"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateDefaultDeviceModelId s_params_UpdateDefaultDeviceModelId = new ActionParamsClass_UpdateDefaultDeviceModelId(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateDefaultDeviceModelId UpdateDefaultDeviceModelIdParams { get { return s_params_UpdateDefaultDeviceModelId; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateDefaultDeviceModelId - { - public readonly string id = "id"; - public readonly string DefaultDeviceModelId = "DefaultDeviceModelId"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateWarrantyValidUntil s_params_UpdateWarrantyValidUntil = new ActionParamsClass_UpdateWarrantyValidUntil(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateWarrantyValidUntil UpdateWarrantyValidUntilParams { get { return s_params_UpdateWarrantyValidUntil; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateWarrantyValidUntil - { - public readonly string id = "id"; - public readonly string WarrantyValidUntil = "WarrantyValidUntil"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateWarrantyDetails s_params_UpdateWarrantyDetails = new ActionParamsClass_UpdateWarrantyDetails(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateWarrantyDetails UpdateWarrantyDetailsParams { get { return s_params_UpdateWarrantyDetails; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateWarrantyDetails - { - public readonly string id = "id"; - public readonly string WarrantyDetails = "WarrantyDetails"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuredDate s_params_UpdateInsuredDate = new ActionParamsClass_UpdateInsuredDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuredDate UpdateInsuredDateParams { get { return s_params_UpdateInsuredDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuredDate - { - public readonly string id = "id"; - public readonly string InsuredDate = "InsuredDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceSupplier s_params_UpdateInsuranceSupplier = new ActionParamsClass_UpdateInsuranceSupplier(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceSupplier UpdateInsuranceSupplierParams { get { return s_params_UpdateInsuranceSupplier; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceSupplier - { - public readonly string id = "id"; - public readonly string InsuranceSupplier = "InsuranceSupplier"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuredUntil s_params_UpdateInsuredUntil = new ActionParamsClass_UpdateInsuredUntil(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuredUntil UpdateInsuredUntilParams { get { return s_params_UpdateInsuredUntil; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuredUntil - { - public readonly string id = "id"; - public readonly string InsuredUntil = "InsuredUntil"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceDetails s_params_UpdateInsuranceDetails = new ActionParamsClass_UpdateInsuranceDetails(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceDetails UpdateInsuranceDetailsParams { get { return s_params_UpdateInsuranceDetails; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceDetails - { - public readonly string id = "id"; - public readonly string InsuranceDetails = "InsuranceDetails"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateComments s_params_UpdateComments = new ActionParamsClass_UpdateComments(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateComments UpdateCommentsParams { get { return s_params_UpdateComments; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateComments - { - public readonly string id = "id"; - public readonly string Comments = "Comments"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Delete s_params_Delete = new ActionParamsClass_Delete(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Delete DeleteParams { get { return s_params_Delete; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Delete - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Index - { - public readonly string id = "id"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_DeviceBatchController : Disco.Web.Areas.API.Controllers.DeviceBatchController - { - public T4MVC_DeviceBatchController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Update(int id, string key, string value, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "key", key); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "value", value); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateName(int id, string BatchName, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "BatchName", BatchName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdatePurchaseDate(int id, string PurchaseDate, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdatePurchaseDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PurchaseDate", PurchaseDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateSupplier(int id, string Supplier, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSupplier); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Supplier", Supplier); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdatePurchaseDetails(int id, string PurchaseDetails, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdatePurchaseDetails); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PurchaseDetails", PurchaseDetails); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateUnitCost(int id, string UnitCost, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateUnitCost); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "UnitCost", UnitCost); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateUnitQuantity(int id, string UnitQuantity, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateUnitQuantity); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "UnitQuantity", UnitQuantity); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateDefaultDeviceModelId(int id, string DefaultDeviceModelId, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultDeviceModelId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DefaultDeviceModelId", DefaultDeviceModelId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateWarrantyValidUntil(int id, string WarrantyValidUntil, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyValidUntil); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "WarrantyValidUntil", WarrantyValidUntil); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateWarrantyDetails(int id, string WarrantyDetails, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyDetails); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "WarrantyDetails", WarrantyDetails); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuredDate(int id, string InsuredDate, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuredDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "InsuredDate", InsuredDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceSupplier(int id, string InsuranceSupplier, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceSupplier); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "InsuranceSupplier", InsuranceSupplier); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuredUntil(int id, string InsuredUntil, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuredUntil); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "InsuredUntil", InsuredUntil); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceDetails(int id, string InsuranceDetails, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceDetails); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "InsuranceDetails", InsuranceDetails); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateComments(int id, string Comments, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateComments); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Comments", Comments); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Delete(int id, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Index(int? id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Timeline() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Timeline); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.API.Controllers -{ - public partial class DeviceController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected DeviceController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Update() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateDeviceProfileId() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDeviceProfileId); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateDeviceBatchId() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDeviceBatchId); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateAssetNumber() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAssetNumber); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateLocation() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateLocation); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateAssignedUserId() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAssignedUserId); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateAllowUnauthenticatedEnrol() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAllowUnauthenticatedEnrol); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Decommission() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Decommission); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Recommission() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Recommission); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Delete() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult GeneratePdf() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdf); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult LastNetworkLogonDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LastNetworkLogonDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult AttachmentDownload() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentDownload); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult AttachmentThumbnail() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentThumbnail); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult AttachmentUpload() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Attachment() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachment); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Attachments() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult AttachmentRemove() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentRemove); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceController Actions { get { return MVC.API.Device; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "API"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Device"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Device"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Update = "Update"; - public readonly string UpdateDeviceProfileId = "UpdateDeviceProfileId"; - public readonly string UpdateDeviceBatchId = "UpdateDeviceBatchId"; - public readonly string UpdateAssetNumber = "UpdateAssetNumber"; - public readonly string UpdateLocation = "UpdateLocation"; - public readonly string UpdateAssignedUserId = "UpdateAssignedUserId"; - public readonly string UpdateAllowUnauthenticatedEnrol = "UpdateAllowUnauthenticatedEnrol"; - public readonly string Decommission = "Decommission"; - public readonly string Recommission = "Recommission"; - public readonly string Delete = "Delete"; - public readonly string GeneratePdf = "GeneratePdf"; - public readonly string LastNetworkLogonDate = "LastNetworkLogonDate"; - public readonly string AttachmentDownload = "AttachmentDownload"; - public readonly string AttachmentThumbnail = "AttachmentThumbnail"; - public readonly string AttachmentUpload = "AttachmentUpload"; - public readonly string Attachment = "Attachment"; - public readonly string Attachments = "Attachments"; - public readonly string AttachmentRemove = "AttachmentRemove"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Update = "Update"; - public const string UpdateDeviceProfileId = "UpdateDeviceProfileId"; - public const string UpdateDeviceBatchId = "UpdateDeviceBatchId"; - public const string UpdateAssetNumber = "UpdateAssetNumber"; - public const string UpdateLocation = "UpdateLocation"; - public const string UpdateAssignedUserId = "UpdateAssignedUserId"; - public const string UpdateAllowUnauthenticatedEnrol = "UpdateAllowUnauthenticatedEnrol"; - public const string Decommission = "Decommission"; - public const string Recommission = "Recommission"; - public const string Delete = "Delete"; - public const string GeneratePdf = "GeneratePdf"; - public const string LastNetworkLogonDate = "LastNetworkLogonDate"; - public const string AttachmentDownload = "AttachmentDownload"; - public const string AttachmentThumbnail = "AttachmentThumbnail"; - public const string AttachmentUpload = "AttachmentUpload"; - public const string Attachment = "Attachment"; - public const string Attachments = "Attachments"; - public const string AttachmentRemove = "AttachmentRemove"; - } - - - static readonly ActionParamsClass_Update s_params_Update = new ActionParamsClass_Update(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Update UpdateParams { get { return s_params_Update; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Update - { - public readonly string id = "id"; - public readonly string key = "key"; - public readonly string value = "value"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateDeviceProfileId s_params_UpdateDeviceProfileId = new ActionParamsClass_UpdateDeviceProfileId(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateDeviceProfileId UpdateDeviceProfileIdParams { get { return s_params_UpdateDeviceProfileId; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateDeviceProfileId - { - public readonly string id = "id"; - public readonly string DeviceProfileId = "DeviceProfileId"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateDeviceBatchId s_params_UpdateDeviceBatchId = new ActionParamsClass_UpdateDeviceBatchId(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateDeviceBatchId UpdateDeviceBatchIdParams { get { return s_params_UpdateDeviceBatchId; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateDeviceBatchId - { - public readonly string id = "id"; - public readonly string DeviceBatchId = "DeviceBatchId"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateAssetNumber s_params_UpdateAssetNumber = new ActionParamsClass_UpdateAssetNumber(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateAssetNumber UpdateAssetNumberParams { get { return s_params_UpdateAssetNumber; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateAssetNumber - { - public readonly string id = "id"; - public readonly string AssetNumber = "AssetNumber"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateLocation s_params_UpdateLocation = new ActionParamsClass_UpdateLocation(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateLocation UpdateLocationParams { get { return s_params_UpdateLocation; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateLocation - { - public readonly string id = "id"; - public readonly string Location = "Location"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateAssignedUserId s_params_UpdateAssignedUserId = new ActionParamsClass_UpdateAssignedUserId(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateAssignedUserId UpdateAssignedUserIdParams { get { return s_params_UpdateAssignedUserId; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateAssignedUserId - { - public readonly string id = "id"; - public readonly string AssignedUserId = "AssignedUserId"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateAllowUnauthenticatedEnrol s_params_UpdateAllowUnauthenticatedEnrol = new ActionParamsClass_UpdateAllowUnauthenticatedEnrol(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateAllowUnauthenticatedEnrol UpdateAllowUnauthenticatedEnrolParams { get { return s_params_UpdateAllowUnauthenticatedEnrol; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateAllowUnauthenticatedEnrol - { - public readonly string id = "id"; - public readonly string AllowUnauthenticatedEnrol = "AllowUnauthenticatedEnrol"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Decommission s_params_Decommission = new ActionParamsClass_Decommission(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Decommission DecommissionParams { get { return s_params_Decommission; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Decommission - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Recommission s_params_Recommission = new ActionParamsClass_Recommission(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Recommission RecommissionParams { get { return s_params_Recommission; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Recommission - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Delete s_params_Delete = new ActionParamsClass_Delete(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Delete DeleteParams { get { return s_params_Delete; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Delete - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_GeneratePdf s_params_GeneratePdf = new ActionParamsClass_GeneratePdf(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_GeneratePdf GeneratePdfParams { get { return s_params_GeneratePdf; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_GeneratePdf - { - public readonly string id = "id"; - public readonly string DocumentTemplateId = "DocumentTemplateId"; - } - static readonly ActionParamsClass_LastNetworkLogonDate s_params_LastNetworkLogonDate = new ActionParamsClass_LastNetworkLogonDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_LastNetworkLogonDate LastNetworkLogonDateParams { get { return s_params_LastNetworkLogonDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_LastNetworkLogonDate - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_AttachmentDownload s_params_AttachmentDownload = new ActionParamsClass_AttachmentDownload(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AttachmentDownload AttachmentDownloadParams { get { return s_params_AttachmentDownload; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AttachmentDownload - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_AttachmentThumbnail s_params_AttachmentThumbnail = new ActionParamsClass_AttachmentThumbnail(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AttachmentThumbnail AttachmentThumbnailParams { get { return s_params_AttachmentThumbnail; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AttachmentThumbnail - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_AttachmentUpload s_params_AttachmentUpload = new ActionParamsClass_AttachmentUpload(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AttachmentUpload AttachmentUploadParams { get { return s_params_AttachmentUpload; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AttachmentUpload - { - public readonly string id = "id"; - public readonly string Comments = "Comments"; - } - static readonly ActionParamsClass_Attachment s_params_Attachment = new ActionParamsClass_Attachment(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Attachment AttachmentParams { get { return s_params_Attachment; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Attachment - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_Attachments s_params_Attachments = new ActionParamsClass_Attachments(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Attachments AttachmentsParams { get { return s_params_Attachments; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Attachments - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_AttachmentRemove s_params_AttachmentRemove = new ActionParamsClass_AttachmentRemove(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AttachmentRemove AttachmentRemoveParams { get { return s_params_AttachmentRemove; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AttachmentRemove - { - public readonly string id = "id"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_DeviceController : Disco.Web.Areas.API.Controllers.DeviceController - { - public T4MVC_DeviceController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Update(string id, string key, string value, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "key", key); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "value", value); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateDeviceProfileId(string id, string DeviceProfileId, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDeviceProfileId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DeviceProfileId", DeviceProfileId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateDeviceBatchId(string id, string DeviceBatchId, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDeviceBatchId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DeviceBatchId", DeviceBatchId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateAssetNumber(string id, string AssetNumber, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAssetNumber); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AssetNumber", AssetNumber); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateLocation(string id, string Location, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateLocation); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Location", Location); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateAssignedUserId(string id, string AssignedUserId, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAssignedUserId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AssignedUserId", AssignedUserId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateAllowUnauthenticatedEnrol(string id, string AllowUnauthenticatedEnrol, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAllowUnauthenticatedEnrol); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AllowUnauthenticatedEnrol", AllowUnauthenticatedEnrol); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Decommission(string id, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Decommission); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Recommission(string id, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Recommission); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Delete(string id, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult GeneratePdf(string id, string DocumentTemplateId) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdf); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DocumentTemplateId", DocumentTemplateId); - return callInfo; - } - - public override System.Web.Mvc.ActionResult LastNetworkLogonDate(string id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LastNetworkLogonDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AttachmentDownload(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentDownload); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AttachmentThumbnail(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentThumbnail); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AttachmentUpload(string id, string Comments) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Comments", Comments); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Attachment(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachment); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Attachments(string id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AttachmentRemove(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentRemove); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.API.Controllers -{ - public partial class DeviceModelController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceModelController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected DeviceModelController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Update() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateDescription() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDescription); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateDefaultPurchaseDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultPurchaseDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateDefaultWarrantyProvider() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultWarrantyProvider); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Image() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Image); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Delete() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Component() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Component); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ComponentAdd() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentAdd); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ComponentUpdateJobSubTypes() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentUpdateJobSubTypes); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ComponentUpdate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentUpdate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ComponentRemove() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentRemove); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceModelController Actions { get { return MVC.API.DeviceModel; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "API"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "DeviceModel"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "DeviceModel"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Update = "Update"; - public readonly string UpdateDescription = "UpdateDescription"; - public readonly string UpdateDefaultPurchaseDate = "UpdateDefaultPurchaseDate"; - public readonly string UpdateDefaultWarrantyProvider = "UpdateDefaultWarrantyProvider"; - public readonly string Image = "Image"; - public readonly string Delete = "Delete"; - public readonly string Component = "Component"; - public readonly string ComponentAdd = "ComponentAdd"; - public readonly string ComponentUpdateJobSubTypes = "ComponentUpdateJobSubTypes"; - public readonly string ComponentUpdate = "ComponentUpdate"; - public readonly string ComponentRemove = "ComponentRemove"; - public readonly string Index = "Index"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Update = "Update"; - public const string UpdateDescription = "UpdateDescription"; - public const string UpdateDefaultPurchaseDate = "UpdateDefaultPurchaseDate"; - public const string UpdateDefaultWarrantyProvider = "UpdateDefaultWarrantyProvider"; - public const string Image = "Image"; - public const string Delete = "Delete"; - public const string Component = "Component"; - public const string ComponentAdd = "ComponentAdd"; - public const string ComponentUpdateJobSubTypes = "ComponentUpdateJobSubTypes"; - public const string ComponentUpdate = "ComponentUpdate"; - public const string ComponentRemove = "ComponentRemove"; - public const string Index = "Index"; - } - - - static readonly ActionParamsClass_Update s_params_Update = new ActionParamsClass_Update(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Update UpdateParams { get { return s_params_Update; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Update - { - public readonly string id = "id"; - public readonly string key = "key"; - public readonly string value = "value"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateDescription s_params_UpdateDescription = new ActionParamsClass_UpdateDescription(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateDescription UpdateDescriptionParams { get { return s_params_UpdateDescription; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateDescription - { - public readonly string id = "id"; - public readonly string Description = "Description"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateDefaultPurchaseDate s_params_UpdateDefaultPurchaseDate = new ActionParamsClass_UpdateDefaultPurchaseDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateDefaultPurchaseDate UpdateDefaultPurchaseDateParams { get { return s_params_UpdateDefaultPurchaseDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateDefaultPurchaseDate - { - public readonly string id = "id"; - public readonly string DefaultPurchaseDate = "DefaultPurchaseDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateDefaultWarrantyProvider s_params_UpdateDefaultWarrantyProvider = new ActionParamsClass_UpdateDefaultWarrantyProvider(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateDefaultWarrantyProvider UpdateDefaultWarrantyProviderParams { get { return s_params_UpdateDefaultWarrantyProvider; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateDefaultWarrantyProvider - { - public readonly string id = "id"; - public readonly string DefaultWarrantyProvider = "DefaultWarrantyProvider"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Image s_params_Image = new ActionParamsClass_Image(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Image ImageParams { get { return s_params_Image; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Image - { - public readonly string id = "id"; - public readonly string v = "v"; - public readonly string redirect = "redirect"; - public readonly string Image = "Image"; - } - static readonly ActionParamsClass_Delete s_params_Delete = new ActionParamsClass_Delete(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Delete DeleteParams { get { return s_params_Delete; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Delete - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Component s_params_Component = new ActionParamsClass_Component(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Component ComponentParams { get { return s_params_Component; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Component - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_ComponentAdd s_params_ComponentAdd = new ActionParamsClass_ComponentAdd(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ComponentAdd ComponentAddParams { get { return s_params_ComponentAdd; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ComponentAdd - { - public readonly string id = "id"; - public readonly string Description = "Description"; - public readonly string Cost = "Cost"; - } - static readonly ActionParamsClass_ComponentUpdateJobSubTypes s_params_ComponentUpdateJobSubTypes = new ActionParamsClass_ComponentUpdateJobSubTypes(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ComponentUpdateJobSubTypes ComponentUpdateJobSubTypesParams { get { return s_params_ComponentUpdateJobSubTypes; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ComponentUpdateJobSubTypes - { - public readonly string id = "id"; - public readonly string JobSubTypes = "JobSubTypes"; - } - static readonly ActionParamsClass_ComponentUpdate s_params_ComponentUpdate = new ActionParamsClass_ComponentUpdate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ComponentUpdate ComponentUpdateParams { get { return s_params_ComponentUpdate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ComponentUpdate - { - public readonly string id = "id"; - public readonly string Description = "Description"; - public readonly string Cost = "Cost"; - } - static readonly ActionParamsClass_ComponentRemove s_params_ComponentRemove = new ActionParamsClass_ComponentRemove(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ComponentRemove ComponentRemoveParams { get { return s_params_ComponentRemove; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ComponentRemove - { - public readonly string id = "id"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_DeviceModelController : Disco.Web.Areas.API.Controllers.DeviceModelController - { - public T4MVC_DeviceModelController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Update(int id, string key, string value, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "key", key); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "value", value); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateDescription(int id, string Description, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDescription); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateDefaultPurchaseDate(int id, string DefaultPurchaseDate, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultPurchaseDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DefaultPurchaseDate", DefaultPurchaseDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateDefaultWarrantyProvider(int id, string DefaultWarrantyProvider, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultWarrantyProvider); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DefaultWarrantyProvider", DefaultWarrantyProvider); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Image(int? id, string v) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Image); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "v", v); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Image(int id, bool redirect, System.Web.HttpPostedFileBase Image) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Image); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Image", Image); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Delete(int id, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Component(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Component); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ComponentAdd(int? id, string Description, string Cost) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentAdd); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Cost", Cost); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ComponentUpdateJobSubTypes(int id, System.Collections.Generic.List JobSubTypes) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentUpdateJobSubTypes); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "JobSubTypes", JobSubTypes); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ComponentUpdate(int id, string Description, string Cost) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentUpdate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Cost", Cost); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ComponentRemove(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentRemove); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.API.Controllers -{ - public partial class DeviceProfileController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceProfileController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected DeviceProfileController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Update() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateDescription() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDescription); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateName() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateName); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateShortName() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateShortName); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateDistributionType() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDistributionType); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateCertificateProviderId() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateCertificateProviderId); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateOrganisationalUnit() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateOrganisationalUnit); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateDefaultOrganisationAddress() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultOrganisationAddress); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateComputerNameTemplate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateComputerNameTemplate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateEnforceComputerNameConvention() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateEnforceComputerNameConvention); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateEnforceOrganisationalUnit() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateEnforceOrganisationalUnit); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateProvisionADAccount() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateProvisionADAccount); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Delete() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Default() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Default); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult DefaultAddDeviceOffline() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DefaultAddDeviceOffline); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceProfileController Actions { get { return MVC.API.DeviceProfile; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "API"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "DeviceProfile"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "DeviceProfile"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Update = "Update"; - public readonly string UpdateDescription = "UpdateDescription"; - public readonly string UpdateName = "UpdateName"; - public readonly string UpdateShortName = "UpdateShortName"; - public readonly string UpdateDistributionType = "UpdateDistributionType"; - public readonly string UpdateCertificateProviderId = "UpdateCertificateProviderId"; - public readonly string UpdateOrganisationalUnit = "UpdateOrganisationalUnit"; - public readonly string UpdateDefaultOrganisationAddress = "UpdateDefaultOrganisationAddress"; - public readonly string UpdateComputerNameTemplate = "UpdateComputerNameTemplate"; - public readonly string UpdateEnforceComputerNameConvention = "UpdateEnforceComputerNameConvention"; - public readonly string UpdateEnforceOrganisationalUnit = "UpdateEnforceOrganisationalUnit"; - public readonly string UpdateProvisionADAccount = "UpdateProvisionADAccount"; - public readonly string OrganisationalUnits = "OrganisationalUnits"; - public readonly string Delete = "Delete"; - public readonly string Default = "Default"; - public readonly string DefaultAddDeviceOffline = "DefaultAddDeviceOffline"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Update = "Update"; - public const string UpdateDescription = "UpdateDescription"; - public const string UpdateName = "UpdateName"; - public const string UpdateShortName = "UpdateShortName"; - public const string UpdateDistributionType = "UpdateDistributionType"; - public const string UpdateCertificateProviderId = "UpdateCertificateProviderId"; - public const string UpdateOrganisationalUnit = "UpdateOrganisationalUnit"; - public const string UpdateDefaultOrganisationAddress = "UpdateDefaultOrganisationAddress"; - public const string UpdateComputerNameTemplate = "UpdateComputerNameTemplate"; - public const string UpdateEnforceComputerNameConvention = "UpdateEnforceComputerNameConvention"; - public const string UpdateEnforceOrganisationalUnit = "UpdateEnforceOrganisationalUnit"; - public const string UpdateProvisionADAccount = "UpdateProvisionADAccount"; - public const string OrganisationalUnits = "OrganisationalUnits"; - public const string Delete = "Delete"; - public const string Default = "Default"; - public const string DefaultAddDeviceOffline = "DefaultAddDeviceOffline"; - } - - - static readonly ActionParamsClass_Update s_params_Update = new ActionParamsClass_Update(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Update UpdateParams { get { return s_params_Update; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Update - { - public readonly string id = "id"; - public readonly string key = "key"; - public readonly string value = "value"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateDescription s_params_UpdateDescription = new ActionParamsClass_UpdateDescription(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateDescription UpdateDescriptionParams { get { return s_params_UpdateDescription; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateDescription - { - public readonly string id = "id"; - public readonly string Description = "Description"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateName s_params_UpdateName = new ActionParamsClass_UpdateName(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateName UpdateNameParams { get { return s_params_UpdateName; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateName - { - public readonly string id = "id"; - public readonly string ProfileName = "ProfileName"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateShortName s_params_UpdateShortName = new ActionParamsClass_UpdateShortName(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateShortName UpdateShortNameParams { get { return s_params_UpdateShortName; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateShortName - { - public readonly string id = "id"; - public readonly string ShortName = "ShortName"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateDistributionType s_params_UpdateDistributionType = new ActionParamsClass_UpdateDistributionType(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateDistributionType UpdateDistributionTypeParams { get { return s_params_UpdateDistributionType; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateDistributionType - { - public readonly string id = "id"; - public readonly string DistributionType = "DistributionType"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateCertificateProviderId s_params_UpdateCertificateProviderId = new ActionParamsClass_UpdateCertificateProviderId(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateCertificateProviderId UpdateCertificateProviderIdParams { get { return s_params_UpdateCertificateProviderId; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateCertificateProviderId - { - public readonly string id = "id"; - public readonly string CertificateProviderId = "CertificateProviderId"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateOrganisationalUnit s_params_UpdateOrganisationalUnit = new ActionParamsClass_UpdateOrganisationalUnit(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateOrganisationalUnit UpdateOrganisationalUnitParams { get { return s_params_UpdateOrganisationalUnit; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateOrganisationalUnit - { - public readonly string id = "id"; - public readonly string OrganisationalUnit = "OrganisationalUnit"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateDefaultOrganisationAddress s_params_UpdateDefaultOrganisationAddress = new ActionParamsClass_UpdateDefaultOrganisationAddress(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateDefaultOrganisationAddress UpdateDefaultOrganisationAddressParams { get { return s_params_UpdateDefaultOrganisationAddress; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateDefaultOrganisationAddress - { - public readonly string id = "id"; - public readonly string DefaultOrganisationAddress = "DefaultOrganisationAddress"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateComputerNameTemplate s_params_UpdateComputerNameTemplate = new ActionParamsClass_UpdateComputerNameTemplate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateComputerNameTemplate UpdateComputerNameTemplateParams { get { return s_params_UpdateComputerNameTemplate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateComputerNameTemplate - { - public readonly string id = "id"; - public readonly string ComputerNameTemplate = "ComputerNameTemplate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateEnforceComputerNameConvention s_params_UpdateEnforceComputerNameConvention = new ActionParamsClass_UpdateEnforceComputerNameConvention(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateEnforceComputerNameConvention UpdateEnforceComputerNameConventionParams { get { return s_params_UpdateEnforceComputerNameConvention; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateEnforceComputerNameConvention - { - public readonly string id = "id"; - public readonly string EnforceComputerNameConvention = "EnforceComputerNameConvention"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateEnforceOrganisationalUnit s_params_UpdateEnforceOrganisationalUnit = new ActionParamsClass_UpdateEnforceOrganisationalUnit(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateEnforceOrganisationalUnit UpdateEnforceOrganisationalUnitParams { get { return s_params_UpdateEnforceOrganisationalUnit; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateEnforceOrganisationalUnit - { - public readonly string id = "id"; - public readonly string EnforceOrganisationalUnit = "EnforceOrganisationalUnit"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateProvisionADAccount s_params_UpdateProvisionADAccount = new ActionParamsClass_UpdateProvisionADAccount(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateProvisionADAccount UpdateProvisionADAccountParams { get { return s_params_UpdateProvisionADAccount; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateProvisionADAccount - { - public readonly string id = "id"; - public readonly string ProvisionADAccount = "ProvisionADAccount"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Delete s_params_Delete = new ActionParamsClass_Delete(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Delete DeleteParams { get { return s_params_Delete; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Delete - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Default s_params_Default = new ActionParamsClass_Default(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Default DefaultParams { get { return s_params_Default; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Default - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_DefaultAddDeviceOffline s_params_DefaultAddDeviceOffline = new ActionParamsClass_DefaultAddDeviceOffline(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_DefaultAddDeviceOffline DefaultAddDeviceOfflineParams { get { return s_params_DefaultAddDeviceOffline; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_DefaultAddDeviceOffline - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_DeviceProfileController : Disco.Web.Areas.API.Controllers.DeviceProfileController - { - public T4MVC_DeviceProfileController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Update(int id, string key, string value, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "key", key); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "value", value); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateDescription(int id, string Description, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDescription); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateName(int id, string ProfileName, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ProfileName", ProfileName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateShortName(int id, string ShortName, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateShortName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ShortName", ShortName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateDistributionType(int id, string DistributionType, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDistributionType); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DistributionType", DistributionType); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateCertificateProviderId(int id, string CertificateProviderId, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateCertificateProviderId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "CertificateProviderId", CertificateProviderId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateOrganisationalUnit(int id, string OrganisationalUnit, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateOrganisationalUnit); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "OrganisationalUnit", OrganisationalUnit); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateDefaultOrganisationAddress(int id, string DefaultOrganisationAddress, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultOrganisationAddress); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DefaultOrganisationAddress", DefaultOrganisationAddress); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateComputerNameTemplate(int id, string ComputerNameTemplate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateComputerNameTemplate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ComputerNameTemplate", ComputerNameTemplate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateEnforceComputerNameConvention(int id, string EnforceComputerNameConvention, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateEnforceComputerNameConvention); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "EnforceComputerNameConvention", EnforceComputerNameConvention); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateEnforceOrganisationalUnit(int id, string EnforceOrganisationalUnit, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateEnforceOrganisationalUnit); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "EnforceOrganisationalUnit", EnforceOrganisationalUnit); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateProvisionADAccount(int id, string ProvisionADAccount, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateProvisionADAccount); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ProvisionADAccount", ProvisionADAccount); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult OrganisationalUnits() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.OrganisationalUnits); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Delete(int id, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Default(int id, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Default); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult DefaultAddDeviceOffline(int id, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DefaultAddDeviceOffline); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.API.Controllers -{ - public partial class DocumentTemplateController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DocumentTemplateController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected DocumentTemplateController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Update() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Template() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Template); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateDescription() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDescription); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateFilterExpression() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFilterExpression); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateFlattenForm() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFlattenForm); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateScope() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateScope); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateSubTypes() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSubTypes); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ImporterThumbnail() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterThumbnail); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ImporterUndetectedDataIdLookup() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedDataIdLookup); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ImporterUndetectedFile() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedFile); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ImporterUndetectedAssign() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedAssign); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ImporterUndetectedDelete() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedDelete); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult BulkGenerate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Delete() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DocumentTemplateController Actions { get { return MVC.API.DocumentTemplate; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "API"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "DocumentTemplate"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "DocumentTemplate"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Update = "Update"; - public readonly string Template = "Template"; - public readonly string UpdateDescription = "UpdateDescription"; - public readonly string UpdateFilterExpression = "UpdateFilterExpression"; - public readonly string UpdateFlattenForm = "UpdateFlattenForm"; - public readonly string UpdateScope = "UpdateScope"; - public readonly string UpdateSubTypes = "UpdateSubTypes"; - public readonly string ImporterThumbnail = "ImporterThumbnail"; - public readonly string ImporterUndetectedFiles = "ImporterUndetectedFiles"; - public readonly string ImporterUndetectedDataIdLookup = "ImporterUndetectedDataIdLookup"; - public readonly string ImporterUndetectedFile = "ImporterUndetectedFile"; - public readonly string ImporterUndetectedAssign = "ImporterUndetectedAssign"; - public readonly string ImporterUndetectedDelete = "ImporterUndetectedDelete"; - public readonly string BulkGenerate = "BulkGenerate"; - public readonly string Delete = "Delete"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Update = "Update"; - public const string Template = "Template"; - public const string UpdateDescription = "UpdateDescription"; - public const string UpdateFilterExpression = "UpdateFilterExpression"; - public const string UpdateFlattenForm = "UpdateFlattenForm"; - public const string UpdateScope = "UpdateScope"; - public const string UpdateSubTypes = "UpdateSubTypes"; - public const string ImporterThumbnail = "ImporterThumbnail"; - public const string ImporterUndetectedFiles = "ImporterUndetectedFiles"; - public const string ImporterUndetectedDataIdLookup = "ImporterUndetectedDataIdLookup"; - public const string ImporterUndetectedFile = "ImporterUndetectedFile"; - public const string ImporterUndetectedAssign = "ImporterUndetectedAssign"; - public const string ImporterUndetectedDelete = "ImporterUndetectedDelete"; - public const string BulkGenerate = "BulkGenerate"; - public const string Delete = "Delete"; - } - - - static readonly ActionParamsClass_Update s_params_Update = new ActionParamsClass_Update(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Update UpdateParams { get { return s_params_Update; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Update - { - public readonly string id = "id"; - public readonly string key = "key"; - public readonly string value = "value"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Template s_params_Template = new ActionParamsClass_Template(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Template TemplateParams { get { return s_params_Template; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Template - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - public readonly string Template = "Template"; - } - static readonly ActionParamsClass_UpdateDescription s_params_UpdateDescription = new ActionParamsClass_UpdateDescription(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateDescription UpdateDescriptionParams { get { return s_params_UpdateDescription; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateDescription - { - public readonly string id = "id"; - public readonly string Description = "Description"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateFilterExpression s_params_UpdateFilterExpression = new ActionParamsClass_UpdateFilterExpression(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateFilterExpression UpdateFilterExpressionParams { get { return s_params_UpdateFilterExpression; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateFilterExpression - { - public readonly string id = "id"; - public readonly string FilterExpression = "FilterExpression"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateFlattenForm s_params_UpdateFlattenForm = new ActionParamsClass_UpdateFlattenForm(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateFlattenForm UpdateFlattenFormParams { get { return s_params_UpdateFlattenForm; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateFlattenForm - { - public readonly string id = "id"; - public readonly string FlattenForm = "FlattenForm"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateScope s_params_UpdateScope = new ActionParamsClass_UpdateScope(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateScope UpdateScopeParams { get { return s_params_UpdateScope; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateScope - { - public readonly string id = "id"; - public readonly string Scope = "Scope"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateSubTypes s_params_UpdateSubTypes = new ActionParamsClass_UpdateSubTypes(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateSubTypes UpdateSubTypesParams { get { return s_params_UpdateSubTypes; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateSubTypes - { - public readonly string id = "id"; - public readonly string SubTypes = "SubTypes"; - } - static readonly ActionParamsClass_ImporterThumbnail s_params_ImporterThumbnail = new ActionParamsClass_ImporterThumbnail(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ImporterThumbnail ImporterThumbnailParams { get { return s_params_ImporterThumbnail; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ImporterThumbnail - { - public readonly string SessionId = "SessionId"; - public readonly string PageNumber = "PageNumber"; - } - static readonly ActionParamsClass_ImporterUndetectedDataIdLookup s_params_ImporterUndetectedDataIdLookup = new ActionParamsClass_ImporterUndetectedDataIdLookup(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ImporterUndetectedDataIdLookup ImporterUndetectedDataIdLookupParams { get { return s_params_ImporterUndetectedDataIdLookup; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ImporterUndetectedDataIdLookup - { - public readonly string id = "id"; - public readonly string term = "term"; - public readonly string limitCount = "limitCount"; - } - static readonly ActionParamsClass_ImporterUndetectedFile s_params_ImporterUndetectedFile = new ActionParamsClass_ImporterUndetectedFile(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ImporterUndetectedFile ImporterUndetectedFileParams { get { return s_params_ImporterUndetectedFile; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ImporterUndetectedFile - { - public readonly string id = "id"; - public readonly string Source = "Source"; - public readonly string Thumbnail = "Thumbnail"; - } - static readonly ActionParamsClass_ImporterUndetectedAssign s_params_ImporterUndetectedAssign = new ActionParamsClass_ImporterUndetectedAssign(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ImporterUndetectedAssign ImporterUndetectedAssignParams { get { return s_params_ImporterUndetectedAssign; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ImporterUndetectedAssign - { - public readonly string id = "id"; - public readonly string DocumentTemplateId = "DocumentTemplateId"; - public readonly string DataId = "DataId"; - } - static readonly ActionParamsClass_ImporterUndetectedDelete s_params_ImporterUndetectedDelete = new ActionParamsClass_ImporterUndetectedDelete(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ImporterUndetectedDelete ImporterUndetectedDeleteParams { get { return s_params_ImporterUndetectedDelete; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ImporterUndetectedDelete - { - public readonly string id = "id"; - } - 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"; - public readonly string DataIds = "DataIds"; - } - static readonly ActionParamsClass_Delete s_params_Delete = new ActionParamsClass_Delete(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Delete DeleteParams { get { return s_params_Delete; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Delete - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_DocumentTemplateController : Disco.Web.Areas.API.Controllers.DocumentTemplateController - { - public T4MVC_DocumentTemplateController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Update(string id, string key, string value, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "key", key); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "value", value); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Template(string id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Template); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Template(string id, bool redirect, System.Web.HttpPostedFileBase Template) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Template); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Template", Template); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateDescription(string id, string Description, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDescription); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateFilterExpression(string id, string FilterExpression, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFilterExpression); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "FilterExpression", FilterExpression); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateFlattenForm(string id, string FlattenForm, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFlattenForm); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "FlattenForm", FlattenForm); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateScope(string id, string Scope, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateScope); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Scope", Scope); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateSubTypes(string id, System.Collections.Generic.List SubTypes) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSubTypes); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "SubTypes", SubTypes); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ImporterThumbnail(string SessionId, int PageNumber) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterThumbnail); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "SessionId", SessionId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PageNumber", PageNumber); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ImporterUndetectedFiles() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedFiles); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ImporterUndetectedDataIdLookup(string id, string term, int limitCount) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedDataIdLookup); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "limitCount", limitCount); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ImporterUndetectedFile(string id, bool? Source, bool? Thumbnail) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedFile); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Source", Source); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Thumbnail", Thumbnail); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ImporterUndetectedAssign(string id, string DocumentTemplateId, string DataId) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedAssign); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DocumentTemplateId", DocumentTemplateId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DataId", DataId); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ImporterUndetectedDelete(string id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedDelete); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult BulkGenerate(string id, string DataIds) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DataIds", DataIds); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Delete(string id, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.API.Controllers -{ - public partial class ExpressionsController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ExpressionsController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected ExpressionsController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ValidateExpression() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ValidateExpression); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ExpressionsController Actions { get { return MVC.API.Expressions; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "API"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Expressions"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Expressions"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string ValidateExpression = "ValidateExpression"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string ValidateExpression = "ValidateExpression"; - } - - - static readonly ActionParamsClass_ValidateExpression s_params_ValidateExpression = new ActionParamsClass_ValidateExpression(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ValidateExpression ValidateExpressionParams { get { return s_params_ValidateExpression; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ValidateExpression - { - public readonly string Expression = "Expression"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_ExpressionsController : Disco.Web.Areas.API.Controllers.ExpressionsController - { - public T4MVC_ExpressionsController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult ValidateExpression(string Expression) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ValidateExpression); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Expression", Expression); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.API.Controllers -{ - public partial class JobController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public JobController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected JobController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Update() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateExpectedClosedDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateExpectedClosedDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateDeviceHeldLocation() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDeviceHeldLocation); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateFlags() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFlags); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateNonWarrantyAccountingChargeRequired() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyAccountingChargeRequired); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateNonWarrantyAccountingChargeAdded() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyAccountingChargeAdded); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateNonWarrantyAccountingChargePaid() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyAccountingChargePaid); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateNonWarrantyPurchaseOrderRaised() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyPurchaseOrderRaised); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateNonWarrantyPurchaseOrderReference() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyPurchaseOrderReference); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateNonWarrantyPurchaseOrderSent() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyPurchaseOrderSent); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateNonWarrantyInvoiceReceived() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyInvoiceReceived); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerName() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerName); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerLoggedDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerLoggedDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerReference() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerReference); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerCompletedDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerCompletedDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateNonWarrantyIsInsuranceClaim() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyIsInsuranceClaim); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceLossOrDamageDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceLossOrDamageDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceEventLocation() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceEventLocation); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceDescription() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceDescription); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceThirdPartyCaused() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceThirdPartyCaused); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceThirdPartyCausedName() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceThirdPartyCausedName); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceThirdPartyCausedWhy() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceThirdPartyCausedWhy); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceWitnessesNamesAddresses() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceWitnessesNamesAddresses); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceBurglaryTheftMethodOfEntry() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceBurglaryTheftMethodOfEntry); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsurancePropertyLastSeenDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePropertyLastSeenDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsurancePoliceNotified() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotified); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsurancePoliceNotifiedStation() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotifiedStation); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsurancePoliceNotifiedDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotifiedDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsurancePoliceNotifiedCrimeReportNo() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotifiedCrimeReportNo); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceRecoverReduceAction() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceRecoverReduceAction); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceOtherInterestedParties() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceOtherInterestedParties); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceDateOfPurchase() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceDateOfPurchase); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceClaimFormSentDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceClaimFormSentDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateInsuranceClaimFormSentUserId() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceClaimFormSentUserId); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateWarrantyExternalName() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalName); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateWarrantyExternalLoggedDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalLoggedDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateWarrantyExternalReference() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalReference); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateWarrantyExternalCompletedDate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalCompletedDate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateSubTypes() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSubTypes); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateFlag() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFlag); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult WaitingForUserAction() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.WaitingForUserAction); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult NotWaitingForUserAction() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.NotWaitingForUserAction); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult LogRepair() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LogRepair); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult DeviceReadyForReturn() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeviceReadyForReturn); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult DeviceHeld() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeviceHeld); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult DeviceReturned() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeviceReturned); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Close() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Close); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Reopen() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Reopen); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Delete() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ConvertHWarToHNWar() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ConvertHWarToHNWar); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Comments() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Comments); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult CommentPost() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.CommentPost); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult CommentRemove() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.CommentRemove); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult AttachmentDownload() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentDownload); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult AttachmentThumbnail() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentThumbnail); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult AttachmentUpload() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Attachment() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachment); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Attachments() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult AttachmentRemove() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentRemove); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ComponentAdd() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentAdd); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ComponentUpdate() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentUpdate); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ComponentRemove() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentRemove); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult GeneratePdf() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdf); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult OrganisationAddress() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.OrganisationAddress); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public JobController Actions { get { return MVC.API.Job; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "API"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Job"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Job"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Update = "Update"; - public readonly string UpdateExpectedClosedDate = "UpdateExpectedClosedDate"; - public readonly string UpdateDeviceHeldLocation = "UpdateDeviceHeldLocation"; - public readonly string UpdateFlags = "UpdateFlags"; - public readonly string UpdateNonWarrantyAccountingChargeRequired = "UpdateNonWarrantyAccountingChargeRequired"; - public readonly string UpdateNonWarrantyAccountingChargeAdded = "UpdateNonWarrantyAccountingChargeAdded"; - public readonly string UpdateNonWarrantyAccountingChargePaid = "UpdateNonWarrantyAccountingChargePaid"; - public readonly string UpdateNonWarrantyPurchaseOrderRaised = "UpdateNonWarrantyPurchaseOrderRaised"; - public readonly string UpdateNonWarrantyPurchaseOrderReference = "UpdateNonWarrantyPurchaseOrderReference"; - public readonly string UpdateNonWarrantyPurchaseOrderSent = "UpdateNonWarrantyPurchaseOrderSent"; - public readonly string UpdateNonWarrantyInvoiceReceived = "UpdateNonWarrantyInvoiceReceived"; - public readonly string UpdateNonWarrantyRepairerName = "UpdateNonWarrantyRepairerName"; - public readonly string UpdateNonWarrantyRepairerLoggedDate = "UpdateNonWarrantyRepairerLoggedDate"; - public readonly string UpdateNonWarrantyRepairerReference = "UpdateNonWarrantyRepairerReference"; - public readonly string UpdateNonWarrantyRepairerCompletedDate = "UpdateNonWarrantyRepairerCompletedDate"; - public readonly string UpdateNonWarrantyIsInsuranceClaim = "UpdateNonWarrantyIsInsuranceClaim"; - public readonly string UpdateInsuranceLossOrDamageDate = "UpdateInsuranceLossOrDamageDate"; - public readonly string UpdateInsuranceEventLocation = "UpdateInsuranceEventLocation"; - public readonly string UpdateInsuranceDescription = "UpdateInsuranceDescription"; - public readonly string UpdateInsuranceThirdPartyCaused = "UpdateInsuranceThirdPartyCaused"; - public readonly string UpdateInsuranceThirdPartyCausedName = "UpdateInsuranceThirdPartyCausedName"; - public readonly string UpdateInsuranceThirdPartyCausedWhy = "UpdateInsuranceThirdPartyCausedWhy"; - public readonly string UpdateInsuranceWitnessesNamesAddresses = "UpdateInsuranceWitnessesNamesAddresses"; - public readonly string UpdateInsuranceBurglaryTheftMethodOfEntry = "UpdateInsuranceBurglaryTheftMethodOfEntry"; - public readonly string UpdateInsurancePropertyLastSeenDate = "UpdateInsurancePropertyLastSeenDate"; - public readonly string UpdateInsurancePoliceNotified = "UpdateInsurancePoliceNotified"; - public readonly string UpdateInsurancePoliceNotifiedStation = "UpdateInsurancePoliceNotifiedStation"; - public readonly string UpdateInsurancePoliceNotifiedDate = "UpdateInsurancePoliceNotifiedDate"; - public readonly string UpdateInsurancePoliceNotifiedCrimeReportNo = "UpdateInsurancePoliceNotifiedCrimeReportNo"; - public readonly string UpdateInsuranceRecoverReduceAction = "UpdateInsuranceRecoverReduceAction"; - public readonly string UpdateInsuranceOtherInterestedParties = "UpdateInsuranceOtherInterestedParties"; - public readonly string UpdateInsuranceDateOfPurchase = "UpdateInsuranceDateOfPurchase"; - public readonly string UpdateInsuranceClaimFormSentDate = "UpdateInsuranceClaimFormSentDate"; - public readonly string UpdateInsuranceClaimFormSentUserId = "UpdateInsuranceClaimFormSentUserId"; - public readonly string UpdateWarrantyExternalName = "UpdateWarrantyExternalName"; - public readonly string UpdateWarrantyExternalLoggedDate = "UpdateWarrantyExternalLoggedDate"; - public readonly string UpdateWarrantyExternalReference = "UpdateWarrantyExternalReference"; - public readonly string UpdateWarrantyExternalCompletedDate = "UpdateWarrantyExternalCompletedDate"; - public readonly string UpdateSubTypes = "UpdateSubTypes"; - public readonly string UpdateFlag = "UpdateFlag"; - public readonly string WaitingForUserAction = "WaitingForUserAction"; - public readonly string NotWaitingForUserAction = "NotWaitingForUserAction"; - public readonly string LogRepair = "LogRepair"; - public readonly string DeviceReadyForReturn = "DeviceReadyForReturn"; - public readonly string DeviceHeld = "DeviceHeld"; - public readonly string DeviceReturned = "DeviceReturned"; - public readonly string Close = "Close"; - public readonly string Reopen = "Reopen"; - public readonly string Delete = "Delete"; - public readonly string ConvertHWarToHNWar = "ConvertHWarToHNWar"; - public readonly string Comments = "Comments"; - public readonly string CommentPost = "CommentPost"; - public readonly string CommentRemove = "CommentRemove"; - public readonly string AttachmentDownload = "AttachmentDownload"; - public readonly string AttachmentThumbnail = "AttachmentThumbnail"; - public readonly string AttachmentUpload = "AttachmentUpload"; - public readonly string Attachment = "Attachment"; - public readonly string Attachments = "Attachments"; - public readonly string AttachmentRemove = "AttachmentRemove"; - public readonly string ComponentAdd = "ComponentAdd"; - public readonly string ComponentUpdate = "ComponentUpdate"; - public readonly string ComponentRemove = "ComponentRemove"; - public readonly string StatisticsDailyOpenedClosed = "StatisticsDailyOpenedClosed"; - public readonly string GeneratePdf = "GeneratePdf"; - public readonly string OrganisationAddress = "OrganisationAddress"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Update = "Update"; - public const string UpdateExpectedClosedDate = "UpdateExpectedClosedDate"; - public const string UpdateDeviceHeldLocation = "UpdateDeviceHeldLocation"; - public const string UpdateFlags = "UpdateFlags"; - public const string UpdateNonWarrantyAccountingChargeRequired = "UpdateNonWarrantyAccountingChargeRequired"; - public const string UpdateNonWarrantyAccountingChargeAdded = "UpdateNonWarrantyAccountingChargeAdded"; - public const string UpdateNonWarrantyAccountingChargePaid = "UpdateNonWarrantyAccountingChargePaid"; - public const string UpdateNonWarrantyPurchaseOrderRaised = "UpdateNonWarrantyPurchaseOrderRaised"; - public const string UpdateNonWarrantyPurchaseOrderReference = "UpdateNonWarrantyPurchaseOrderReference"; - public const string UpdateNonWarrantyPurchaseOrderSent = "UpdateNonWarrantyPurchaseOrderSent"; - public const string UpdateNonWarrantyInvoiceReceived = "UpdateNonWarrantyInvoiceReceived"; - public const string UpdateNonWarrantyRepairerName = "UpdateNonWarrantyRepairerName"; - public const string UpdateNonWarrantyRepairerLoggedDate = "UpdateNonWarrantyRepairerLoggedDate"; - public const string UpdateNonWarrantyRepairerReference = "UpdateNonWarrantyRepairerReference"; - public const string UpdateNonWarrantyRepairerCompletedDate = "UpdateNonWarrantyRepairerCompletedDate"; - public const string UpdateNonWarrantyIsInsuranceClaim = "UpdateNonWarrantyIsInsuranceClaim"; - public const string UpdateInsuranceLossOrDamageDate = "UpdateInsuranceLossOrDamageDate"; - public const string UpdateInsuranceEventLocation = "UpdateInsuranceEventLocation"; - public const string UpdateInsuranceDescription = "UpdateInsuranceDescription"; - public const string UpdateInsuranceThirdPartyCaused = "UpdateInsuranceThirdPartyCaused"; - public const string UpdateInsuranceThirdPartyCausedName = "UpdateInsuranceThirdPartyCausedName"; - public const string UpdateInsuranceThirdPartyCausedWhy = "UpdateInsuranceThirdPartyCausedWhy"; - public const string UpdateInsuranceWitnessesNamesAddresses = "UpdateInsuranceWitnessesNamesAddresses"; - public const string UpdateInsuranceBurglaryTheftMethodOfEntry = "UpdateInsuranceBurglaryTheftMethodOfEntry"; - public const string UpdateInsurancePropertyLastSeenDate = "UpdateInsurancePropertyLastSeenDate"; - public const string UpdateInsurancePoliceNotified = "UpdateInsurancePoliceNotified"; - public const string UpdateInsurancePoliceNotifiedStation = "UpdateInsurancePoliceNotifiedStation"; - public const string UpdateInsurancePoliceNotifiedDate = "UpdateInsurancePoliceNotifiedDate"; - public const string UpdateInsurancePoliceNotifiedCrimeReportNo = "UpdateInsurancePoliceNotifiedCrimeReportNo"; - public const string UpdateInsuranceRecoverReduceAction = "UpdateInsuranceRecoverReduceAction"; - public const string UpdateInsuranceOtherInterestedParties = "UpdateInsuranceOtherInterestedParties"; - public const string UpdateInsuranceDateOfPurchase = "UpdateInsuranceDateOfPurchase"; - public const string UpdateInsuranceClaimFormSentDate = "UpdateInsuranceClaimFormSentDate"; - public const string UpdateInsuranceClaimFormSentUserId = "UpdateInsuranceClaimFormSentUserId"; - public const string UpdateWarrantyExternalName = "UpdateWarrantyExternalName"; - public const string UpdateWarrantyExternalLoggedDate = "UpdateWarrantyExternalLoggedDate"; - public const string UpdateWarrantyExternalReference = "UpdateWarrantyExternalReference"; - public const string UpdateWarrantyExternalCompletedDate = "UpdateWarrantyExternalCompletedDate"; - public const string UpdateSubTypes = "UpdateSubTypes"; - public const string UpdateFlag = "UpdateFlag"; - public const string WaitingForUserAction = "WaitingForUserAction"; - public const string NotWaitingForUserAction = "NotWaitingForUserAction"; - public const string LogRepair = "LogRepair"; - public const string DeviceReadyForReturn = "DeviceReadyForReturn"; - public const string DeviceHeld = "DeviceHeld"; - public const string DeviceReturned = "DeviceReturned"; - public const string Close = "Close"; - public const string Reopen = "Reopen"; - public const string Delete = "Delete"; - public const string ConvertHWarToHNWar = "ConvertHWarToHNWar"; - public const string Comments = "Comments"; - public const string CommentPost = "CommentPost"; - public const string CommentRemove = "CommentRemove"; - public const string AttachmentDownload = "AttachmentDownload"; - public const string AttachmentThumbnail = "AttachmentThumbnail"; - public const string AttachmentUpload = "AttachmentUpload"; - public const string Attachment = "Attachment"; - public const string Attachments = "Attachments"; - public const string AttachmentRemove = "AttachmentRemove"; - public const string ComponentAdd = "ComponentAdd"; - public const string ComponentUpdate = "ComponentUpdate"; - public const string ComponentRemove = "ComponentRemove"; - public const string StatisticsDailyOpenedClosed = "StatisticsDailyOpenedClosed"; - public const string GeneratePdf = "GeneratePdf"; - public const string OrganisationAddress = "OrganisationAddress"; - } - - - static readonly ActionParamsClass_Update s_params_Update = new ActionParamsClass_Update(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Update UpdateParams { get { return s_params_Update; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Update - { - public readonly string id = "id"; - public readonly string key = "key"; - public readonly string value = "value"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateExpectedClosedDate s_params_UpdateExpectedClosedDate = new ActionParamsClass_UpdateExpectedClosedDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateExpectedClosedDate UpdateExpectedClosedDateParams { get { return s_params_UpdateExpectedClosedDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateExpectedClosedDate - { - public readonly string id = "id"; - public readonly string ExpectedClosedDate = "ExpectedClosedDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateDeviceHeldLocation s_params_UpdateDeviceHeldLocation = new ActionParamsClass_UpdateDeviceHeldLocation(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateDeviceHeldLocation UpdateDeviceHeldLocationParams { get { return s_params_UpdateDeviceHeldLocation; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateDeviceHeldLocation - { - public readonly string id = "id"; - public readonly string DeviceHeldLocation = "DeviceHeldLocation"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateFlags s_params_UpdateFlags = new ActionParamsClass_UpdateFlags(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateFlags UpdateFlagsParams { get { return s_params_UpdateFlags; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateFlags - { - public readonly string id = "id"; - public readonly string Flags = "Flags"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateNonWarrantyAccountingChargeRequired s_params_UpdateNonWarrantyAccountingChargeRequired = new ActionParamsClass_UpdateNonWarrantyAccountingChargeRequired(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateNonWarrantyAccountingChargeRequired UpdateNonWarrantyAccountingChargeRequiredParams { get { return s_params_UpdateNonWarrantyAccountingChargeRequired; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateNonWarrantyAccountingChargeRequired - { - public readonly string id = "id"; - public readonly string AccountingChargeRequiredDate = "AccountingChargeRequiredDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateNonWarrantyAccountingChargeAdded s_params_UpdateNonWarrantyAccountingChargeAdded = new ActionParamsClass_UpdateNonWarrantyAccountingChargeAdded(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateNonWarrantyAccountingChargeAdded UpdateNonWarrantyAccountingChargeAddedParams { get { return s_params_UpdateNonWarrantyAccountingChargeAdded; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateNonWarrantyAccountingChargeAdded - { - public readonly string id = "id"; - public readonly string AccountingChargeAddedDate = "AccountingChargeAddedDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateNonWarrantyAccountingChargePaid s_params_UpdateNonWarrantyAccountingChargePaid = new ActionParamsClass_UpdateNonWarrantyAccountingChargePaid(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateNonWarrantyAccountingChargePaid UpdateNonWarrantyAccountingChargePaidParams { get { return s_params_UpdateNonWarrantyAccountingChargePaid; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateNonWarrantyAccountingChargePaid - { - public readonly string id = "id"; - public readonly string AccountingChargePaidDate = "AccountingChargePaidDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateNonWarrantyPurchaseOrderRaised s_params_UpdateNonWarrantyPurchaseOrderRaised = new ActionParamsClass_UpdateNonWarrantyPurchaseOrderRaised(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateNonWarrantyPurchaseOrderRaised UpdateNonWarrantyPurchaseOrderRaisedParams { get { return s_params_UpdateNonWarrantyPurchaseOrderRaised; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateNonWarrantyPurchaseOrderRaised - { - public readonly string id = "id"; - public readonly string PurchaseOrderRaisedDate = "PurchaseOrderRaisedDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateNonWarrantyPurchaseOrderReference s_params_UpdateNonWarrantyPurchaseOrderReference = new ActionParamsClass_UpdateNonWarrantyPurchaseOrderReference(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateNonWarrantyPurchaseOrderReference UpdateNonWarrantyPurchaseOrderReferenceParams { get { return s_params_UpdateNonWarrantyPurchaseOrderReference; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateNonWarrantyPurchaseOrderReference - { - public readonly string id = "id"; - public readonly string PurchaseOrderReference = "PurchaseOrderReference"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateNonWarrantyPurchaseOrderSent s_params_UpdateNonWarrantyPurchaseOrderSent = new ActionParamsClass_UpdateNonWarrantyPurchaseOrderSent(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateNonWarrantyPurchaseOrderSent UpdateNonWarrantyPurchaseOrderSentParams { get { return s_params_UpdateNonWarrantyPurchaseOrderSent; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateNonWarrantyPurchaseOrderSent - { - public readonly string id = "id"; - public readonly string PurchaseOrderSentDate = "PurchaseOrderSentDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateNonWarrantyInvoiceReceived s_params_UpdateNonWarrantyInvoiceReceived = new ActionParamsClass_UpdateNonWarrantyInvoiceReceived(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateNonWarrantyInvoiceReceived UpdateNonWarrantyInvoiceReceivedParams { get { return s_params_UpdateNonWarrantyInvoiceReceived; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateNonWarrantyInvoiceReceived - { - public readonly string id = "id"; - public readonly string InvoiceReceivedDate = "InvoiceReceivedDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateNonWarrantyRepairerName s_params_UpdateNonWarrantyRepairerName = new ActionParamsClass_UpdateNonWarrantyRepairerName(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateNonWarrantyRepairerName UpdateNonWarrantyRepairerNameParams { get { return s_params_UpdateNonWarrantyRepairerName; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateNonWarrantyRepairerName - { - public readonly string id = "id"; - public readonly string RepairerName = "RepairerName"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateNonWarrantyRepairerLoggedDate s_params_UpdateNonWarrantyRepairerLoggedDate = new ActionParamsClass_UpdateNonWarrantyRepairerLoggedDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateNonWarrantyRepairerLoggedDate UpdateNonWarrantyRepairerLoggedDateParams { get { return s_params_UpdateNonWarrantyRepairerLoggedDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateNonWarrantyRepairerLoggedDate - { - public readonly string id = "id"; - public readonly string RepairerLoggedDate = "RepairerLoggedDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateNonWarrantyRepairerReference s_params_UpdateNonWarrantyRepairerReference = new ActionParamsClass_UpdateNonWarrantyRepairerReference(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateNonWarrantyRepairerReference UpdateNonWarrantyRepairerReferenceParams { get { return s_params_UpdateNonWarrantyRepairerReference; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateNonWarrantyRepairerReference - { - public readonly string id = "id"; - public readonly string RepairerReference = "RepairerReference"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateNonWarrantyRepairerCompletedDate s_params_UpdateNonWarrantyRepairerCompletedDate = new ActionParamsClass_UpdateNonWarrantyRepairerCompletedDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateNonWarrantyRepairerCompletedDate UpdateNonWarrantyRepairerCompletedDateParams { get { return s_params_UpdateNonWarrantyRepairerCompletedDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateNonWarrantyRepairerCompletedDate - { - public readonly string id = "id"; - public readonly string RepairerCompletedDate = "RepairerCompletedDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateNonWarrantyIsInsuranceClaim s_params_UpdateNonWarrantyIsInsuranceClaim = new ActionParamsClass_UpdateNonWarrantyIsInsuranceClaim(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateNonWarrantyIsInsuranceClaim UpdateNonWarrantyIsInsuranceClaimParams { get { return s_params_UpdateNonWarrantyIsInsuranceClaim; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateNonWarrantyIsInsuranceClaim - { - public readonly string id = "id"; - public readonly string IsInsuranceClaim = "IsInsuranceClaim"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceLossOrDamageDate s_params_UpdateInsuranceLossOrDamageDate = new ActionParamsClass_UpdateInsuranceLossOrDamageDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceLossOrDamageDate UpdateInsuranceLossOrDamageDateParams { get { return s_params_UpdateInsuranceLossOrDamageDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceLossOrDamageDate - { - public readonly string id = "id"; - public readonly string LossOrDamageDate = "LossOrDamageDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceEventLocation s_params_UpdateInsuranceEventLocation = new ActionParamsClass_UpdateInsuranceEventLocation(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceEventLocation UpdateInsuranceEventLocationParams { get { return s_params_UpdateInsuranceEventLocation; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceEventLocation - { - public readonly string id = "id"; - public readonly string EventLocation = "EventLocation"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceDescription s_params_UpdateInsuranceDescription = new ActionParamsClass_UpdateInsuranceDescription(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceDescription UpdateInsuranceDescriptionParams { get { return s_params_UpdateInsuranceDescription; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceDescription - { - public readonly string id = "id"; - public readonly string Description = "Description"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceThirdPartyCaused s_params_UpdateInsuranceThirdPartyCaused = new ActionParamsClass_UpdateInsuranceThirdPartyCaused(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceThirdPartyCaused UpdateInsuranceThirdPartyCausedParams { get { return s_params_UpdateInsuranceThirdPartyCaused; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceThirdPartyCaused - { - public readonly string id = "id"; - public readonly string ThirdPartyCaused = "ThirdPartyCaused"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceThirdPartyCausedName s_params_UpdateInsuranceThirdPartyCausedName = new ActionParamsClass_UpdateInsuranceThirdPartyCausedName(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceThirdPartyCausedName UpdateInsuranceThirdPartyCausedNameParams { get { return s_params_UpdateInsuranceThirdPartyCausedName; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceThirdPartyCausedName - { - public readonly string id = "id"; - public readonly string ThirdPartyCausedName = "ThirdPartyCausedName"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceThirdPartyCausedWhy s_params_UpdateInsuranceThirdPartyCausedWhy = new ActionParamsClass_UpdateInsuranceThirdPartyCausedWhy(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceThirdPartyCausedWhy UpdateInsuranceThirdPartyCausedWhyParams { get { return s_params_UpdateInsuranceThirdPartyCausedWhy; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceThirdPartyCausedWhy - { - public readonly string id = "id"; - public readonly string ThirdPartyCausedWhy = "ThirdPartyCausedWhy"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceWitnessesNamesAddresses s_params_UpdateInsuranceWitnessesNamesAddresses = new ActionParamsClass_UpdateInsuranceWitnessesNamesAddresses(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceWitnessesNamesAddresses UpdateInsuranceWitnessesNamesAddressesParams { get { return s_params_UpdateInsuranceWitnessesNamesAddresses; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceWitnessesNamesAddresses - { - public readonly string id = "id"; - public readonly string WitnessesNamesAddresses = "WitnessesNamesAddresses"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceBurglaryTheftMethodOfEntry s_params_UpdateInsuranceBurglaryTheftMethodOfEntry = new ActionParamsClass_UpdateInsuranceBurglaryTheftMethodOfEntry(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceBurglaryTheftMethodOfEntry UpdateInsuranceBurglaryTheftMethodOfEntryParams { get { return s_params_UpdateInsuranceBurglaryTheftMethodOfEntry; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceBurglaryTheftMethodOfEntry - { - public readonly string id = "id"; - public readonly string BurglaryTheftMethodOfEntry = "BurglaryTheftMethodOfEntry"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsurancePropertyLastSeenDate s_params_UpdateInsurancePropertyLastSeenDate = new ActionParamsClass_UpdateInsurancePropertyLastSeenDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsurancePropertyLastSeenDate UpdateInsurancePropertyLastSeenDateParams { get { return s_params_UpdateInsurancePropertyLastSeenDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsurancePropertyLastSeenDate - { - public readonly string id = "id"; - public readonly string PropertyLastSeenDate = "PropertyLastSeenDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsurancePoliceNotified s_params_UpdateInsurancePoliceNotified = new ActionParamsClass_UpdateInsurancePoliceNotified(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsurancePoliceNotified UpdateInsurancePoliceNotifiedParams { get { return s_params_UpdateInsurancePoliceNotified; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsurancePoliceNotified - { - public readonly string id = "id"; - public readonly string PoliceNotified = "PoliceNotified"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsurancePoliceNotifiedStation s_params_UpdateInsurancePoliceNotifiedStation = new ActionParamsClass_UpdateInsurancePoliceNotifiedStation(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsurancePoliceNotifiedStation UpdateInsurancePoliceNotifiedStationParams { get { return s_params_UpdateInsurancePoliceNotifiedStation; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsurancePoliceNotifiedStation - { - public readonly string id = "id"; - public readonly string PoliceNotifiedStation = "PoliceNotifiedStation"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsurancePoliceNotifiedDate s_params_UpdateInsurancePoliceNotifiedDate = new ActionParamsClass_UpdateInsurancePoliceNotifiedDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsurancePoliceNotifiedDate UpdateInsurancePoliceNotifiedDateParams { get { return s_params_UpdateInsurancePoliceNotifiedDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsurancePoliceNotifiedDate - { - public readonly string id = "id"; - public readonly string PoliceNotifiedDate = "PoliceNotifiedDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsurancePoliceNotifiedCrimeReportNo s_params_UpdateInsurancePoliceNotifiedCrimeReportNo = new ActionParamsClass_UpdateInsurancePoliceNotifiedCrimeReportNo(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsurancePoliceNotifiedCrimeReportNo UpdateInsurancePoliceNotifiedCrimeReportNoParams { get { return s_params_UpdateInsurancePoliceNotifiedCrimeReportNo; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsurancePoliceNotifiedCrimeReportNo - { - public readonly string id = "id"; - public readonly string PoliceNotifiedCrimeReportNo = "PoliceNotifiedCrimeReportNo"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceRecoverReduceAction s_params_UpdateInsuranceRecoverReduceAction = new ActionParamsClass_UpdateInsuranceRecoverReduceAction(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceRecoverReduceAction UpdateInsuranceRecoverReduceActionParams { get { return s_params_UpdateInsuranceRecoverReduceAction; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceRecoverReduceAction - { - public readonly string id = "id"; - public readonly string RecoverReduceAction = "RecoverReduceAction"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceOtherInterestedParties s_params_UpdateInsuranceOtherInterestedParties = new ActionParamsClass_UpdateInsuranceOtherInterestedParties(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceOtherInterestedParties UpdateInsuranceOtherInterestedPartiesParams { get { return s_params_UpdateInsuranceOtherInterestedParties; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceOtherInterestedParties - { - public readonly string id = "id"; - public readonly string OtherInterestedParties = "OtherInterestedParties"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceDateOfPurchase s_params_UpdateInsuranceDateOfPurchase = new ActionParamsClass_UpdateInsuranceDateOfPurchase(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceDateOfPurchase UpdateInsuranceDateOfPurchaseParams { get { return s_params_UpdateInsuranceDateOfPurchase; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceDateOfPurchase - { - public readonly string id = "id"; - public readonly string DateOfPurchase = "DateOfPurchase"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceClaimFormSentDate s_params_UpdateInsuranceClaimFormSentDate = new ActionParamsClass_UpdateInsuranceClaimFormSentDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceClaimFormSentDate UpdateInsuranceClaimFormSentDateParams { get { return s_params_UpdateInsuranceClaimFormSentDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceClaimFormSentDate - { - public readonly string id = "id"; - public readonly string ClaimFormSentDate = "ClaimFormSentDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateInsuranceClaimFormSentUserId s_params_UpdateInsuranceClaimFormSentUserId = new ActionParamsClass_UpdateInsuranceClaimFormSentUserId(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateInsuranceClaimFormSentUserId UpdateInsuranceClaimFormSentUserIdParams { get { return s_params_UpdateInsuranceClaimFormSentUserId; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateInsuranceClaimFormSentUserId - { - public readonly string id = "id"; - public readonly string ClaimFormSentUserId = "ClaimFormSentUserId"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateWarrantyExternalName s_params_UpdateWarrantyExternalName = new ActionParamsClass_UpdateWarrantyExternalName(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateWarrantyExternalName UpdateWarrantyExternalNameParams { get { return s_params_UpdateWarrantyExternalName; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateWarrantyExternalName - { - public readonly string id = "id"; - public readonly string ExternalName = "ExternalName"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateWarrantyExternalLoggedDate s_params_UpdateWarrantyExternalLoggedDate = new ActionParamsClass_UpdateWarrantyExternalLoggedDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateWarrantyExternalLoggedDate UpdateWarrantyExternalLoggedDateParams { get { return s_params_UpdateWarrantyExternalLoggedDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateWarrantyExternalLoggedDate - { - public readonly string id = "id"; - public readonly string ExternalLoggedDate = "ExternalLoggedDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateWarrantyExternalReference s_params_UpdateWarrantyExternalReference = new ActionParamsClass_UpdateWarrantyExternalReference(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateWarrantyExternalReference UpdateWarrantyExternalReferenceParams { get { return s_params_UpdateWarrantyExternalReference; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateWarrantyExternalReference - { - public readonly string id = "id"; - public readonly string ExternalReference = "ExternalReference"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateWarrantyExternalCompletedDate s_params_UpdateWarrantyExternalCompletedDate = new ActionParamsClass_UpdateWarrantyExternalCompletedDate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateWarrantyExternalCompletedDate UpdateWarrantyExternalCompletedDateParams { get { return s_params_UpdateWarrantyExternalCompletedDate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateWarrantyExternalCompletedDate - { - public readonly string id = "id"; - public readonly string ExternalCompletedDate = "ExternalCompletedDate"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateSubTypes s_params_UpdateSubTypes = new ActionParamsClass_UpdateSubTypes(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateSubTypes UpdateSubTypesParams { get { return s_params_UpdateSubTypes; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateSubTypes - { - public readonly string id = "id"; - public readonly string SubTypes = "SubTypes"; - public readonly string AddComponents = "AddComponents"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateFlag s_params_UpdateFlag = new ActionParamsClass_UpdateFlag(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateFlag UpdateFlagParams { get { return s_params_UpdateFlag; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateFlag - { - public readonly string id = "id"; - public readonly string Flag = "Flag"; - public readonly string Reason = "Reason"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_WaitingForUserAction s_params_WaitingForUserAction = new ActionParamsClass_WaitingForUserAction(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_WaitingForUserAction WaitingForUserActionParams { get { return s_params_WaitingForUserAction; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_WaitingForUserAction - { - public readonly string id = "id"; - public readonly string Reason = "Reason"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_NotWaitingForUserAction s_params_NotWaitingForUserAction = new ActionParamsClass_NotWaitingForUserAction(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_NotWaitingForUserAction NotWaitingForUserActionParams { get { return s_params_NotWaitingForUserAction; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_NotWaitingForUserAction - { - public readonly string id = "id"; - public readonly string Resolution = "Resolution"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_LogRepair s_params_LogRepair = new ActionParamsClass_LogRepair(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_LogRepair LogRepairParams { get { return s_params_LogRepair; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_LogRepair - { - public readonly string id = "id"; - public readonly string RepairerName = "RepairerName"; - public readonly string RepairerReference = "RepairerReference"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_DeviceReadyForReturn s_params_DeviceReadyForReturn = new ActionParamsClass_DeviceReadyForReturn(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_DeviceReadyForReturn DeviceReadyForReturnParams { get { return s_params_DeviceReadyForReturn; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_DeviceReadyForReturn - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_DeviceHeld s_params_DeviceHeld = new ActionParamsClass_DeviceHeld(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_DeviceHeld DeviceHeldParams { get { return s_params_DeviceHeld; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_DeviceHeld - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_DeviceReturned s_params_DeviceReturned = new ActionParamsClass_DeviceReturned(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_DeviceReturned DeviceReturnedParams { get { return s_params_DeviceReturned; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_DeviceReturned - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Close s_params_Close = new ActionParamsClass_Close(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Close CloseParams { get { return s_params_Close; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Close - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Reopen s_params_Reopen = new ActionParamsClass_Reopen(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Reopen ReopenParams { get { return s_params_Reopen; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Reopen - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Delete s_params_Delete = new ActionParamsClass_Delete(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Delete DeleteParams { get { return s_params_Delete; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Delete - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_ConvertHWarToHNWar s_params_ConvertHWarToHNWar = new ActionParamsClass_ConvertHWarToHNWar(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ConvertHWarToHNWar ConvertHWarToHNWarParams { get { return s_params_ConvertHWarToHNWar; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ConvertHWarToHNWar - { - public readonly string id = "id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_Comments s_params_Comments = new ActionParamsClass_Comments(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Comments CommentsParams { get { return s_params_Comments; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Comments - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_CommentPost s_params_CommentPost = new ActionParamsClass_CommentPost(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_CommentPost CommentPostParams { get { return s_params_CommentPost; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_CommentPost - { - public readonly string id = "id"; - public readonly string comment = "comment"; - } - static readonly ActionParamsClass_CommentRemove s_params_CommentRemove = new ActionParamsClass_CommentRemove(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_CommentRemove CommentRemoveParams { get { return s_params_CommentRemove; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_CommentRemove - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_AttachmentDownload s_params_AttachmentDownload = new ActionParamsClass_AttachmentDownload(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AttachmentDownload AttachmentDownloadParams { get { return s_params_AttachmentDownload; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AttachmentDownload - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_AttachmentThumbnail s_params_AttachmentThumbnail = new ActionParamsClass_AttachmentThumbnail(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AttachmentThumbnail AttachmentThumbnailParams { get { return s_params_AttachmentThumbnail; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AttachmentThumbnail - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_AttachmentUpload s_params_AttachmentUpload = new ActionParamsClass_AttachmentUpload(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AttachmentUpload AttachmentUploadParams { get { return s_params_AttachmentUpload; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AttachmentUpload - { - public readonly string id = "id"; - public readonly string Comments = "Comments"; - } - static readonly ActionParamsClass_Attachment s_params_Attachment = new ActionParamsClass_Attachment(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Attachment AttachmentParams { get { return s_params_Attachment; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Attachment - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_Attachments s_params_Attachments = new ActionParamsClass_Attachments(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Attachments AttachmentsParams { get { return s_params_Attachments; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Attachments - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_AttachmentRemove s_params_AttachmentRemove = new ActionParamsClass_AttachmentRemove(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AttachmentRemove AttachmentRemoveParams { get { return s_params_AttachmentRemove; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AttachmentRemove - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_ComponentAdd s_params_ComponentAdd = new ActionParamsClass_ComponentAdd(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ComponentAdd ComponentAddParams { get { return s_params_ComponentAdd; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ComponentAdd - { - public readonly string id = "id"; - public readonly string Description = "Description"; - public readonly string Cost = "Cost"; - } - static readonly ActionParamsClass_ComponentUpdate s_params_ComponentUpdate = new ActionParamsClass_ComponentUpdate(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ComponentUpdate ComponentUpdateParams { get { return s_params_ComponentUpdate; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ComponentUpdate - { - public readonly string id = "id"; - public readonly string Description = "Description"; - public readonly string Cost = "Cost"; - } - static readonly ActionParamsClass_ComponentRemove s_params_ComponentRemove = new ActionParamsClass_ComponentRemove(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ComponentRemove ComponentRemoveParams { get { return s_params_ComponentRemove; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ComponentRemove - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_GeneratePdf s_params_GeneratePdf = new ActionParamsClass_GeneratePdf(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_GeneratePdf GeneratePdfParams { get { return s_params_GeneratePdf; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_GeneratePdf - { - public readonly string id = "id"; - public readonly string DocumentTemplateId = "DocumentTemplateId"; - } - static readonly ActionParamsClass_OrganisationAddress s_params_OrganisationAddress = new ActionParamsClass_OrganisationAddress(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_OrganisationAddress OrganisationAddressParams { get { return s_params_OrganisationAddress; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_OrganisationAddress - { - public readonly string id = "id"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_JobController : Disco.Web.Areas.API.Controllers.JobController - { - public T4MVC_JobController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Update(int id, string key, string value, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "key", key); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "value", value); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateExpectedClosedDate(int id, string ExpectedClosedDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateExpectedClosedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ExpectedClosedDate", ExpectedClosedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateDeviceHeldLocation(int id, string DeviceHeldLocation, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDeviceHeldLocation); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DeviceHeldLocation", DeviceHeldLocation); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateFlags(int id, string Flags, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFlags); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Flags", Flags); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateNonWarrantyAccountingChargeRequired(int id, string AccountingChargeRequiredDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyAccountingChargeRequired); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AccountingChargeRequiredDate", AccountingChargeRequiredDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateNonWarrantyAccountingChargeAdded(int id, string AccountingChargeAddedDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyAccountingChargeAdded); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AccountingChargeAddedDate", AccountingChargeAddedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateNonWarrantyAccountingChargePaid(int id, string AccountingChargePaidDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyAccountingChargePaid); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AccountingChargePaidDate", AccountingChargePaidDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateNonWarrantyPurchaseOrderRaised(int id, string PurchaseOrderRaisedDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyPurchaseOrderRaised); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PurchaseOrderRaisedDate", PurchaseOrderRaisedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateNonWarrantyPurchaseOrderReference(int id, string PurchaseOrderReference, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyPurchaseOrderReference); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PurchaseOrderReference", PurchaseOrderReference); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateNonWarrantyPurchaseOrderSent(int id, string PurchaseOrderSentDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyPurchaseOrderSent); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PurchaseOrderSentDate", PurchaseOrderSentDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateNonWarrantyInvoiceReceived(int id, string InvoiceReceivedDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyInvoiceReceived); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "InvoiceReceivedDate", InvoiceReceivedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerName(int id, string RepairerName, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RepairerName", RepairerName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerLoggedDate(int id, string RepairerLoggedDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerLoggedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RepairerLoggedDate", RepairerLoggedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerReference(int id, string RepairerReference, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerReference); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RepairerReference", RepairerReference); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerCompletedDate(int id, string RepairerCompletedDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerCompletedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RepairerCompletedDate", RepairerCompletedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateNonWarrantyIsInsuranceClaim(int id, bool IsInsuranceClaim, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyIsInsuranceClaim); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "IsInsuranceClaim", IsInsuranceClaim); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceLossOrDamageDate(int id, string LossOrDamageDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceLossOrDamageDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "LossOrDamageDate", LossOrDamageDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceEventLocation(int id, string EventLocation, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceEventLocation); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "EventLocation", EventLocation); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceDescription(int id, string Description, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceDescription); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceThirdPartyCaused(int id, string ThirdPartyCaused, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceThirdPartyCaused); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ThirdPartyCaused", ThirdPartyCaused); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceThirdPartyCausedName(int id, string ThirdPartyCausedName, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceThirdPartyCausedName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ThirdPartyCausedName", ThirdPartyCausedName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceThirdPartyCausedWhy(int id, string ThirdPartyCausedWhy, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceThirdPartyCausedWhy); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ThirdPartyCausedWhy", ThirdPartyCausedWhy); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceWitnessesNamesAddresses(int id, string WitnessesNamesAddresses, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceWitnessesNamesAddresses); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "WitnessesNamesAddresses", WitnessesNamesAddresses); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceBurglaryTheftMethodOfEntry(int id, string BurglaryTheftMethodOfEntry, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceBurglaryTheftMethodOfEntry); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "BurglaryTheftMethodOfEntry", BurglaryTheftMethodOfEntry); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsurancePropertyLastSeenDate(int id, string PropertyLastSeenDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePropertyLastSeenDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PropertyLastSeenDate", PropertyLastSeenDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsurancePoliceNotified(int id, string PoliceNotified, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotified); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PoliceNotified", PoliceNotified); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsurancePoliceNotifiedStation(int id, string PoliceNotifiedStation, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotifiedStation); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PoliceNotifiedStation", PoliceNotifiedStation); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsurancePoliceNotifiedDate(int id, string PoliceNotifiedDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotifiedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PoliceNotifiedDate", PoliceNotifiedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsurancePoliceNotifiedCrimeReportNo(int id, string PoliceNotifiedCrimeReportNo, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotifiedCrimeReportNo); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PoliceNotifiedCrimeReportNo", PoliceNotifiedCrimeReportNo); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceRecoverReduceAction(int id, string RecoverReduceAction, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceRecoverReduceAction); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RecoverReduceAction", RecoverReduceAction); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceOtherInterestedParties(int id, string OtherInterestedParties, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceOtherInterestedParties); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "OtherInterestedParties", OtherInterestedParties); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceDateOfPurchase(int id, string DateOfPurchase, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceDateOfPurchase); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DateOfPurchase", DateOfPurchase); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceClaimFormSentDate(int id, string ClaimFormSentDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceClaimFormSentDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ClaimFormSentDate", ClaimFormSentDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateInsuranceClaimFormSentUserId(int id, string ClaimFormSentUserId, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceClaimFormSentUserId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ClaimFormSentUserId", ClaimFormSentUserId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateWarrantyExternalName(int id, string ExternalName, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ExternalName", ExternalName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateWarrantyExternalLoggedDate(int id, string ExternalLoggedDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalLoggedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ExternalLoggedDate", ExternalLoggedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateWarrantyExternalReference(int id, string ExternalReference, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalReference); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ExternalReference", ExternalReference); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateWarrantyExternalCompletedDate(int id, string ExternalCompletedDate, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalCompletedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ExternalCompletedDate", ExternalCompletedDate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateSubTypes(int id, System.Collections.Generic.List SubTypes, bool? AddComponents, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSubTypes); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "SubTypes", SubTypes); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AddComponents", AddComponents); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateFlag(int id, long? Flag, string Reason, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFlag); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Flag", Flag); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Reason", Reason); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult WaitingForUserAction(int id, string Reason, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.WaitingForUserAction); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Reason", Reason); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult NotWaitingForUserAction(int id, string Resolution, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.NotWaitingForUserAction); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Resolution", Resolution); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult LogRepair(int id, string RepairerName, string RepairerReference, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LogRepair); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RepairerName", RepairerName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RepairerReference", RepairerReference); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult DeviceReadyForReturn(int id, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeviceReadyForReturn); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult DeviceHeld(int id, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeviceHeld); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult DeviceReturned(int id, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeviceReturned); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Close(int id, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Close); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Reopen(int id, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Reopen); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Delete(int id, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ConvertHWarToHNWar(int id, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ConvertHWarToHNWar); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Comments(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Comments); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult CommentPost(int id, string comment) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.CommentPost); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "comment", comment); - return callInfo; - } - - public override System.Web.Mvc.ActionResult CommentRemove(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.CommentRemove); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AttachmentDownload(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentDownload); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AttachmentThumbnail(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentThumbnail); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AttachmentUpload(int id, string Comments) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Comments", Comments); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Attachment(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachment); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Attachments(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AttachmentRemove(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentRemove); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ComponentAdd(int id, string Description, string Cost) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentAdd); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Cost", Cost); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ComponentUpdate(int id, string Description, string Cost) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentUpdate); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Cost", Cost); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ComponentRemove(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentRemove); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult StatisticsDailyOpenedClosed() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.StatisticsDailyOpenedClosed); - return callInfo; - } - - public override System.Web.Mvc.ActionResult GeneratePdf(string id, string DocumentTemplateId) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdf); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DocumentTemplateId", DocumentTemplateId); - return callInfo; - } - - public override System.Web.Mvc.ActionResult OrganisationAddress(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.OrganisationAddress); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.API.Controllers -{ - public partial class LoggingController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public LoggingController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected LoggingController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult RetrieveEvents() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.RetrieveEvents); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ScheduledTaskStatus() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ScheduledTaskStatus); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public LoggingController Actions { get { return MVC.API.Logging; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "API"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Logging"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Logging"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Modules = "Modules"; - public readonly string RetrieveEvents = "RetrieveEvents"; - public readonly string ScheduledTaskStatus = "ScheduledTaskStatus"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Modules = "Modules"; - public const string RetrieveEvents = "RetrieveEvents"; - public const string ScheduledTaskStatus = "ScheduledTaskStatus"; - } - - - static readonly ActionParamsClass_RetrieveEvents s_params_RetrieveEvents = new ActionParamsClass_RetrieveEvents(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_RetrieveEvents RetrieveEventsParams { get { return s_params_RetrieveEvents; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_RetrieveEvents - { - public readonly string Format = "Format"; - public readonly string Start = "Start"; - public readonly string End = "End"; - public readonly string ModuleId = "ModuleId"; - public readonly string EventTypeIds = "EventTypeIds"; - public readonly string Take = "Take"; - } - static readonly ActionParamsClass_ScheduledTaskStatus s_params_ScheduledTaskStatus = new ActionParamsClass_ScheduledTaskStatus(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ScheduledTaskStatus ScheduledTaskStatusParams { get { return s_params_ScheduledTaskStatus; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ScheduledTaskStatus - { - public readonly string id = "id"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_LoggingController : Disco.Web.Areas.API.Controllers.LoggingController - { - public T4MVC_LoggingController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Modules() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Modules); - return callInfo; - } - - public override System.Web.Mvc.ActionResult RetrieveEvents(string Format, System.DateTime? Start, System.DateTime? End, int? ModuleId, System.Collections.Generic.List EventTypeIds, int? Take) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.RetrieveEvents); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Format", Format); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Start", Start); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "End", End); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ModuleId", ModuleId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "EventTypeIds", EventTypeIds); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Take", Take); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ScheduledTaskStatus(string id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ScheduledTaskStatus); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.API.Controllers -{ - public partial class SystemController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public SystemController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected SystemController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateOrganisationName() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateOrganisationName); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateOrganisationAddress() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateOrganisationAddress); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult DeleteOrganisationAddress() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeleteOrganisationAddress); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpdateMultiSiteMode() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateMultiSiteMode); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public SystemController Actions { get { return MVC.API.System; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "API"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "System"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "System"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string UpdateLastNetworkLogonDates = "UpdateLastNetworkLogonDates"; - public readonly string UpdateAttachmentThumbnails = "UpdateAttachmentThumbnails"; - public readonly string UpdateCheck = "UpdateCheck"; - public readonly string UpdateOrganisationName = "UpdateOrganisationName"; - public readonly string OrganisationLogo = "OrganisationLogo"; - public readonly string UpdateOrganisationAddress = "UpdateOrganisationAddress"; - public readonly string DeleteOrganisationAddress = "DeleteOrganisationAddress"; - public readonly string UpdateMultiSiteMode = "UpdateMultiSiteMode"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string UpdateLastNetworkLogonDates = "UpdateLastNetworkLogonDates"; - public const string UpdateAttachmentThumbnails = "UpdateAttachmentThumbnails"; - public const string UpdateCheck = "UpdateCheck"; - public const string UpdateOrganisationName = "UpdateOrganisationName"; - public const string OrganisationLogo = "OrganisationLogo"; - public const string UpdateOrganisationAddress = "UpdateOrganisationAddress"; - public const string DeleteOrganisationAddress = "DeleteOrganisationAddress"; - public const string UpdateMultiSiteMode = "UpdateMultiSiteMode"; - } - - - static readonly ActionParamsClass_UpdateOrganisationName s_params_UpdateOrganisationName = new ActionParamsClass_UpdateOrganisationName(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateOrganisationName UpdateOrganisationNameParams { get { return s_params_UpdateOrganisationName; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateOrganisationName - { - public readonly string OrganisationName = "OrganisationName"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_OrganisationLogo s_params_OrganisationLogo = new ActionParamsClass_OrganisationLogo(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_OrganisationLogo OrganisationLogoParams { get { return s_params_OrganisationLogo; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_OrganisationLogo - { - public readonly string Width = "Width"; - public readonly string Height = "Height"; - public readonly string v = "v"; - public readonly string redirect = "redirect"; - public readonly string Image = "Image"; - public readonly string ResetLogo = "ResetLogo"; - } - static readonly ActionParamsClass_UpdateOrganisationAddress s_params_UpdateOrganisationAddress = new ActionParamsClass_UpdateOrganisationAddress(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateOrganisationAddress UpdateOrganisationAddressParams { get { return s_params_UpdateOrganisationAddress; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateOrganisationAddress - { - public readonly string organisationAddress = "organisationAddress"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_DeleteOrganisationAddress s_params_DeleteOrganisationAddress = new ActionParamsClass_DeleteOrganisationAddress(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_DeleteOrganisationAddress DeleteOrganisationAddressParams { get { return s_params_DeleteOrganisationAddress; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_DeleteOrganisationAddress - { - public readonly string Id = "Id"; - public readonly string redirect = "redirect"; - } - static readonly ActionParamsClass_UpdateMultiSiteMode s_params_UpdateMultiSiteMode = new ActionParamsClass_UpdateMultiSiteMode(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpdateMultiSiteMode UpdateMultiSiteModeParams { get { return s_params_UpdateMultiSiteMode; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpdateMultiSiteMode - { - public readonly string MultiSiteMode = "MultiSiteMode"; - public readonly string redirect = "redirect"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_SystemController : Disco.Web.Areas.API.Controllers.SystemController - { - public T4MVC_SystemController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult UpdateLastNetworkLogonDates() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateLastNetworkLogonDates); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateAttachmentThumbnails() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAttachmentThumbnails); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateCheck() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateCheck); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateOrganisationName(string OrganisationName, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateOrganisationName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "OrganisationName", OrganisationName); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult OrganisationLogo(int Width, int Height, string v) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.OrganisationLogo); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Width", Width); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Height", Height); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "v", v); - return callInfo; - } - - public override System.Web.Mvc.ActionResult OrganisationLogo(bool redirect, System.Web.HttpPostedFileBase Image, bool? ResetLogo) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.OrganisationLogo); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Image", Image); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ResetLogo", ResetLogo); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateOrganisationAddress(Disco.Models.BI.Config.OrganisationAddress organisationAddress, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateOrganisationAddress); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "organisationAddress", organisationAddress); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult DeleteOrganisationAddress(int Id, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeleteOrganisationAddress); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Id", Id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UpdateMultiSiteMode(bool MultiSiteMode, bool redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateMultiSiteMode); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "MultiSiteMode", MultiSiteMode); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.API.Controllers -{ - public partial class UserController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public UserController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected UserController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UpstreamUsers() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpstreamUsers); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult AttachmentDownload() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentDownload); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult AttachmentThumbnail() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentThumbnail); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult AttachmentUpload() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Attachment() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachment); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Attachments() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult AttachmentRemove() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentRemove); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult GeneratePdf() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdf); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public UserController Actions { get { return MVC.API.User; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "API"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "User"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "User"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string UpstreamUsers = "UpstreamUsers"; - public readonly string AttachmentDownload = "AttachmentDownload"; - public readonly string AttachmentThumbnail = "AttachmentThumbnail"; - public readonly string AttachmentUpload = "AttachmentUpload"; - public readonly string Attachment = "Attachment"; - public readonly string Attachments = "Attachments"; - public readonly string AttachmentRemove = "AttachmentRemove"; - public readonly string GeneratePdf = "GeneratePdf"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string UpstreamUsers = "UpstreamUsers"; - public const string AttachmentDownload = "AttachmentDownload"; - public const string AttachmentThumbnail = "AttachmentThumbnail"; - public const string AttachmentUpload = "AttachmentUpload"; - public const string Attachment = "Attachment"; - public const string Attachments = "Attachments"; - public const string AttachmentRemove = "AttachmentRemove"; - public const string GeneratePdf = "GeneratePdf"; - } - - - static readonly ActionParamsClass_UpstreamUsers s_params_UpstreamUsers = new ActionParamsClass_UpstreamUsers(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UpstreamUsers UpstreamUsersParams { get { return s_params_UpstreamUsers; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UpstreamUsers - { - public readonly string term = "term"; - } - static readonly ActionParamsClass_AttachmentDownload s_params_AttachmentDownload = new ActionParamsClass_AttachmentDownload(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AttachmentDownload AttachmentDownloadParams { get { return s_params_AttachmentDownload; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AttachmentDownload - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_AttachmentThumbnail s_params_AttachmentThumbnail = new ActionParamsClass_AttachmentThumbnail(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AttachmentThumbnail AttachmentThumbnailParams { get { return s_params_AttachmentThumbnail; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AttachmentThumbnail - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_AttachmentUpload s_params_AttachmentUpload = new ActionParamsClass_AttachmentUpload(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AttachmentUpload AttachmentUploadParams { get { return s_params_AttachmentUpload; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AttachmentUpload - { - public readonly string id = "id"; - public readonly string Comments = "Comments"; - } - static readonly ActionParamsClass_Attachment s_params_Attachment = new ActionParamsClass_Attachment(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Attachment AttachmentParams { get { return s_params_Attachment; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Attachment - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_Attachments s_params_Attachments = new ActionParamsClass_Attachments(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Attachments AttachmentsParams { get { return s_params_Attachments; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Attachments - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_AttachmentRemove s_params_AttachmentRemove = new ActionParamsClass_AttachmentRemove(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_AttachmentRemove AttachmentRemoveParams { get { return s_params_AttachmentRemove; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_AttachmentRemove - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_GeneratePdf s_params_GeneratePdf = new ActionParamsClass_GeneratePdf(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_GeneratePdf GeneratePdfParams { get { return s_params_GeneratePdf; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_GeneratePdf - { - public readonly string id = "id"; - public readonly string DocumentTemplateId = "DocumentTemplateId"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_UserController : Disco.Web.Areas.API.Controllers.UserController - { - public T4MVC_UserController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult UpstreamUsers(string term) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpstreamUsers); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AttachmentDownload(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentDownload); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AttachmentThumbnail(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentThumbnail); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AttachmentUpload(string id, string Comments) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Comments", Comments); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Attachment(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachment); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Attachments(string id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult AttachmentRemove(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentRemove); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult GeneratePdf(string id, string DocumentTemplateId) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdf); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DocumentTemplateId", DocumentTemplateId); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.API.Controllers -{ - public partial class WirelessCertificateController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public WirelessCertificateController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected WirelessCertificateController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Download() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Download); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult FillBuffer() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.FillBuffer); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public WirelessCertificateController Actions { get { return MVC.API.WirelessCertificate; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "API"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "WirelessCertificate"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "WirelessCertificate"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Download = "Download"; - public readonly string FillBuffer = "FillBuffer"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Download = "Download"; - public const string FillBuffer = "FillBuffer"; - } - - - static readonly ActionParamsClass_Download s_params_Download = new ActionParamsClass_Download(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Download DownloadParams { get { return s_params_Download; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Download - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_FillBuffer s_params_FillBuffer = new ActionParamsClass_FillBuffer(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_FillBuffer FillBufferParams { get { return s_params_FillBuffer; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_FillBuffer - { - public readonly string Value = "Value"; - public readonly string redirect = "redirect"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_WirelessCertificateController : Disco.Web.Areas.API.Controllers.WirelessCertificateController - { - public T4MVC_WirelessCertificateController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Download(int id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Download); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult FillBuffer(int Value, bool? redirect) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.FillBuffer); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Value", Value); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.Config.Controllers -{ - public partial class ConfigController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ConfigController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected ConfigController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ConfigController Actions { get { return MVC.Config.Config; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Config"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Config"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Config"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - } - - - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Index = "Index"; - } - public readonly string Index = "~/Areas/Config/Views/Config/Index.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_ConfigController : Disco.Web.Areas.Config.Controllers.ConfigController - { - public T4MVC_ConfigController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.Config.Controllers -{ - public partial class DeviceBatchController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceBatchController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected DeviceBatchController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Index() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceBatchController Actions { get { return MVC.Config.DeviceBatch; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Config"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "DeviceBatch"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "DeviceBatch"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string Create = "Create"; - public readonly string Timeline = "Timeline"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string Create = "Create"; - public const string Timeline = "Timeline"; - } - - - static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Index - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_Create s_params_Create = new ActionParamsClass_Create(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Create CreateParams { get { return s_params_Create; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Create - { - public readonly string model = "model"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Create = "Create"; - public readonly string Index = "Index"; - public readonly string Show = "Show"; - public readonly string Timeline = "Timeline"; - } - public readonly string Create = "~/Areas/Config/Views/DeviceBatch/Create.cshtml"; - public readonly string Index = "~/Areas/Config/Views/DeviceBatch/Index.cshtml"; - public readonly string Show = "~/Areas/Config/Views/DeviceBatch/Show.cshtml"; - public readonly string Timeline = "~/Areas/Config/Views/DeviceBatch/Timeline.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_DeviceBatchController : Disco.Web.Areas.Config.Controllers.DeviceBatchController - { - public T4MVC_DeviceBatchController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index(int? id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Create() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Create(Disco.Models.Repository.DeviceBatch model) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Timeline() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Timeline); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.Config.Controllers -{ - public partial class DeviceModelController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceModelController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected DeviceModelController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Index() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceModelController Actions { get { return MVC.Config.DeviceModel; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Config"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "DeviceModel"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "DeviceModel"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string GenericComponents = "GenericComponents"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string GenericComponents = "GenericComponents"; - } - - - static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Index - { - public readonly string id = "id"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string _DeviceComponentsTable = "_DeviceComponentsTable"; - public readonly string GenericComponents = "GenericComponents"; - public readonly string Index = "Index"; - public readonly string Show = "Show"; - } - public readonly string _DeviceComponentsTable = "~/Areas/Config/Views/DeviceModel/_DeviceComponentsTable.cshtml"; - public readonly string GenericComponents = "~/Areas/Config/Views/DeviceModel/GenericComponents.cshtml"; - public readonly string Index = "~/Areas/Config/Views/DeviceModel/Index.cshtml"; - public readonly string Show = "~/Areas/Config/Views/DeviceModel/Show.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_DeviceModelController : Disco.Web.Areas.Config.Controllers.DeviceModelController - { - public T4MVC_DeviceModelController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index(int? id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult GenericComponents() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GenericComponents); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.Config.Controllers -{ - public partial class DeviceProfileController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceProfileController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected DeviceProfileController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Index() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DeviceProfileController Actions { get { return MVC.Config.DeviceProfile; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Config"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "DeviceProfile"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "DeviceProfile"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string Create = "Create"; - public readonly string Defaults = "Defaults"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string Create = "Create"; - public const string Defaults = "Defaults"; - } - - - static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Index - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_Create s_params_Create = new ActionParamsClass_Create(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Create CreateParams { get { return s_params_Create; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Create - { - public readonly string model = "model"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string _Table = "_Table"; - public readonly string _TableRender = "_TableRender"; - public readonly string Create = "Create"; - public readonly string Defaults = "Defaults"; - public readonly string Index = "Index"; - public readonly string Show = "Show"; - } - public readonly string _Table = "~/Areas/Config/Views/DeviceProfile/_Table.cshtml"; - public readonly string _TableRender = "~/Areas/Config/Views/DeviceProfile/_TableRender.cshtml"; - public readonly string Create = "~/Areas/Config/Views/DeviceProfile/Create.cshtml"; - public readonly string Defaults = "~/Areas/Config/Views/DeviceProfile/Defaults.cshtml"; - public readonly string Index = "~/Areas/Config/Views/DeviceProfile/Index.cshtml"; - public readonly string Show = "~/Areas/Config/Views/DeviceProfile/Show.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_DeviceProfileController : Disco.Web.Areas.Config.Controllers.DeviceProfileController - { - public T4MVC_DeviceProfileController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index(int? id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Create() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Create(Disco.Models.Repository.DeviceProfile model) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Defaults() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Defaults); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.Config.Controllers -{ - public partial class DocumentTemplateController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DocumentTemplateController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected DocumentTemplateController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Index() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ExpressionBrowser() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ExpressionBrowser); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public DocumentTemplateController Actions { get { return MVC.Config.DocumentTemplate; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Config"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "DocumentTemplate"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "DocumentTemplate"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string ImportStatus = "ImportStatus"; - public readonly string UndetectedPages = "UndetectedPages"; - public readonly string Create = "Create"; - public readonly string ExpressionBrowser = "ExpressionBrowser"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string ImportStatus = "ImportStatus"; - public const string UndetectedPages = "UndetectedPages"; - public const string Create = "Create"; - public const string ExpressionBrowser = "ExpressionBrowser"; - } - - - static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Index - { - public readonly string id = "id"; - } - static readonly ActionParamsClass_Create s_params_Create = new ActionParamsClass_Create(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Create CreateParams { get { return s_params_Create; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Create - { - public readonly string model = "model"; - } - static readonly ActionParamsClass_ExpressionBrowser s_params_ExpressionBrowser = new ActionParamsClass_ExpressionBrowser(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ExpressionBrowser ExpressionBrowserParams { get { return s_params_ExpressionBrowser; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ExpressionBrowser - { - public readonly string type = "type"; - public readonly string StaticDeclaredMembersOnly = "StaticDeclaredMembersOnly"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string _ExpressionsTable = "_ExpressionsTable"; - public readonly string Create = "Create"; - public readonly string ExpressionBrowser = "ExpressionBrowser"; - public readonly string ImportStatus = "ImportStatus"; - public readonly string Index = "Index"; - public readonly string Show = "Show"; - public readonly string UndetectedPages = "UndetectedPages"; - } - public readonly string _ExpressionsTable = "~/Areas/Config/Views/DocumentTemplate/_ExpressionsTable.cshtml"; - public readonly string Create = "~/Areas/Config/Views/DocumentTemplate/Create.cshtml"; - public readonly string ExpressionBrowser = "~/Areas/Config/Views/DocumentTemplate/ExpressionBrowser.cshtml"; - public readonly string ImportStatus = "~/Areas/Config/Views/DocumentTemplate/ImportStatus.cshtml"; - public readonly string Index = "~/Areas/Config/Views/DocumentTemplate/Index.cshtml"; - public readonly string Show = "~/Areas/Config/Views/DocumentTemplate/Show.cshtml"; - public readonly string UndetectedPages = "~/Areas/Config/Views/DocumentTemplate/UndetectedPages.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_DocumentTemplateController : Disco.Web.Areas.Config.Controllers.DocumentTemplateController - { - public T4MVC_DocumentTemplateController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index(string id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ImportStatus() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImportStatus); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UndetectedPages() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UndetectedPages); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Create() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Create(Disco.Web.Areas.Config.Models.DocumentTemplate.CreateModel model) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ExpressionBrowser(string type, bool StaticDeclaredMembersOnly) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ExpressionBrowser); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "type", type); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "StaticDeclaredMembersOnly", StaticDeclaredMembersOnly); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.Config.Controllers -{ - public partial class EnrolmentController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public EnrolmentController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected EnrolmentController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public EnrolmentController Actions { get { return MVC.Config.Enrolment; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Config"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Enrolment"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Enrolment"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string Status = "Status"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string Status = "Status"; - } - - - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Index = "Index"; - public readonly string Status = "Status"; - } - public readonly string Index = "~/Areas/Config/Views/Enrolment/Index.cshtml"; - public readonly string Status = "~/Areas/Config/Views/Enrolment/Status.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_EnrolmentController : Disco.Web.Areas.Config.Controllers.EnrolmentController - { - public T4MVC_EnrolmentController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Status() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Status); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.Config.Controllers -{ - public partial class ExpressionsController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ExpressionsController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected ExpressionsController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ExpressionsController Actions { get { return MVC.Config.Expressions; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Config"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Expressions"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Expressions"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - } - - - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Editor = "Editor"; - } - public readonly string Editor = "~/Areas/Config/Views/Expressions/Editor.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_ExpressionsController : Disco.Web.Areas.Config.Controllers.ExpressionsController - { - public T4MVC_ExpressionsController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.Config.Controllers -{ - public partial class LoggingController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public LoggingController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected LoggingController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult TaskStatus() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.TaskStatus); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public LoggingController Actions { get { return MVC.Config.Logging; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Config"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Logging"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Logging"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string TaskStatus = "TaskStatus"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string TaskStatus = "TaskStatus"; - } - - - static readonly ActionParamsClass_TaskStatus s_params_TaskStatus = new ActionParamsClass_TaskStatus(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_TaskStatus TaskStatusParams { get { return s_params_TaskStatus; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_TaskStatus - { - public readonly string id = "id"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Index = "Index"; - public readonly string TaskStatus = "TaskStatus"; - } - public readonly string Index = "~/Areas/Config/Views/Logging/Index.cshtml"; - public readonly string TaskStatus = "~/Areas/Config/Views/Logging/TaskStatus.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_LoggingController : Disco.Web.Areas.Config.Controllers.LoggingController - { - public T4MVC_LoggingController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - public override System.Web.Mvc.ActionResult TaskStatus(string id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.TaskStatus); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.Config.Controllers -{ - public partial class OrganisationController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public OrganisationController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected OrganisationController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public OrganisationController Actions { get { return MVC.Config.Organisation; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Config"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Organisation"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Organisation"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - } - - - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Index = "Index"; - } - public readonly string Index = "~/Areas/Config/Views/Organisation/Index.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_OrganisationController : Disco.Web.Areas.Config.Controllers.OrganisationController - { - public T4MVC_OrganisationController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.Config.Controllers -{ - public partial class PluginsController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public PluginsController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected PluginsController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Configure() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Configure); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public PluginsController Actions { get { return MVC.Config.Plugins; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Config"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Plugins"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Plugins"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string Configure = "Configure"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string Configure = "Configure"; - } - - - static readonly ActionParamsClass_Configure s_params_Configure = new ActionParamsClass_Configure(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Configure ConfigureParams { get { return s_params_Configure; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Configure - { - public readonly string PluginId = "PluginId"; - public readonly string form = "form"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Configure = "Configure"; - public readonly string Index = "Index"; - } - public readonly string Configure = "~/Areas/Config/Views/Plugins/Configure.cshtml"; - public readonly string Index = "~/Areas/Config/Views/Plugins/Index.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_PluginsController : Disco.Web.Areas.Config.Controllers.PluginsController - { - public T4MVC_PluginsController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Configure(string PluginId, System.Web.Mvc.FormCollection form) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Configure); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PluginId", PluginId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "form", form); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Configure(string PluginId) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Configure); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PluginId", PluginId); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.Config.Controllers -{ - public partial class SystemConfigController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public SystemConfigController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected SystemConfigController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public SystemConfigController Actions { get { return MVC.Config.SystemConfig; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Config"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "SystemConfig"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "SystemConfig"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - } - - - static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Index - { - public readonly string config = "config"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Index = "Index"; - } - public readonly string Index = "~/Areas/Config/Views/SystemConfig/Index.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_SystemConfigController : Disco.Web.Areas.Config.Controllers.SystemConfigController - { - public T4MVC_SystemConfigController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Index(Disco.Web.Areas.Config.Models.SystemConfig.IndexModel config) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "config", config); - return callInfo; - } - - } -} - -namespace T4MVC.Config -{ - public class SharedController - { - - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string LogEvents = "LogEvents"; - } - public readonly string LogEvents = "~/Areas/Config/Views/Shared/LogEvents.cshtml"; - } - } - -} - -namespace Disco.Web.Areas.Public.Controllers -{ - public partial class PublicController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public PublicController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected PublicController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public PublicController Actions { get { return MVC.Public.Public; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Public"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Public"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Public"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string Credits = "Credits"; - public readonly string Licence = "Licence"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string Credits = "Credits"; - public const string Licence = "Licence"; - } - - - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Credits = "Credits"; - public readonly string Index = "Index"; - public readonly string Licence = "Licence"; - } - public readonly string Credits = "~/Areas/Public/Views/Public/Credits.cshtml"; - public readonly string Index = "~/Areas/Public/Views/Public/Index.cshtml"; - public readonly string Licence = "~/Areas/Public/Views/Public/Licence.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_PublicController : Disco.Web.Areas.Public.Controllers.PublicController - { - public T4MVC_PublicController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Credits() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Credits); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Licence() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Licence); - return callInfo; - } - - } -} - -namespace Disco.Web.Areas.Public.Controllers -{ - public partial class UserHeldDevicesController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public UserHeldDevicesController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected UserHeldDevicesController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult UserHeldDevice() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UserHeldDevice); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public UserHeldDevicesController Actions { get { return MVC.Public.UserHeldDevices; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Public"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "UserHeldDevices"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "UserHeldDevices"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Index = "Index"; - public readonly string ReadyForReturnXml = "ReadyForReturnXml"; - public readonly string WaitingForUserActionXml = "WaitingForUserActionXml"; - public readonly string UserHeldDevicesXml = "UserHeldDevicesXml"; - public readonly string Noticeboard = "Noticeboard"; - public readonly string UserHeldDevice = "UserHeldDevice"; - public readonly string UserHeldDevices = "UserHeldDevices"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Index = "Index"; - public const string ReadyForReturnXml = "ReadyForReturnXml"; - public const string WaitingForUserActionXml = "WaitingForUserActionXml"; - public const string UserHeldDevicesXml = "UserHeldDevicesXml"; - public const string Noticeboard = "Noticeboard"; - public const string UserHeldDevice = "UserHeldDevice"; - public const string UserHeldDevices = "UserHeldDevices"; - } - - - static readonly ActionParamsClass_UserHeldDevice s_params_UserHeldDevice = new ActionParamsClass_UserHeldDevice(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_UserHeldDevice UserHeldDeviceParams { get { return s_params_UserHeldDevice; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_UserHeldDevice - { - public readonly string id = "id"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string Index = "Index"; - public readonly string Noticeboard = "Noticeboard"; - } - public readonly string Index = "~/Areas/Public/Views/UserHeldDevices/Index.cshtml"; - public readonly string Noticeboard = "~/Areas/Public/Views/UserHeldDevices/Noticeboard.cshtml"; - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_UserHeldDevicesController : Disco.Web.Areas.Public.Controllers.UserHeldDevicesController - { - public T4MVC_UserHeldDevicesController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Index() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ReadyForReturnXml() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ReadyForReturnXml); - return callInfo; - } - - public override System.Web.Mvc.ActionResult WaitingForUserActionXml() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.WaitingForUserActionXml); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UserHeldDevicesXml() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UserHeldDevicesXml); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Noticeboard() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Noticeboard); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UserHeldDevice(string id) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UserHeldDevice); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); - return callInfo; - } - - public override System.Web.Mvc.ActionResult UserHeldDevices() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UserHeldDevices); - return callInfo; - } - - } -} - -namespace T4MVC.Public -{ - public class SharedController - { - - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - public readonly string _Layout = "_Layout"; - } - public readonly string _Layout = "~/Areas/Public/Views/Shared/_Layout.cshtml"; - } - } - -} - -namespace Disco.Web.Areas.Services.Controllers -{ - public partial class ClientController - { - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ClientController() { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected ClientController(Dummy d) { } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToAction(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoute(callInfo.RouteValueDictionary); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) - { - var callInfo = result.GetT4MVCResult(); - return RedirectToRoutePermanent(callInfo.RouteValueDictionary); - } - - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Unauthenticated() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Unauthenticated); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult Authenticated() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Authenticated); - } - [NonAction] - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public System.Web.Mvc.ActionResult ClientError() - { - return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ClientError); - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ClientController Actions { get { return MVC.Services.Client; } } - [GeneratedCode("T4MVC", "2.0")] - public readonly string Area = "Services"; - [GeneratedCode("T4MVC", "2.0")] - public readonly string Name = "Client"; - [GeneratedCode("T4MVC", "2.0")] - public const string NameConst = "Client"; - - static readonly ActionNamesClass s_actions = new ActionNamesClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionNamesClass ActionNames { get { return s_actions; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNamesClass - { - public readonly string Bootstrapper = "Bootstrapper"; - public readonly string PreparationClient = "PreparationClient"; - public readonly string Unauthenticated = "Unauthenticated"; - public readonly string Authenticated = "Authenticated"; - public readonly string ClientError = "ClientError"; - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionNameConstants - { - public const string Bootstrapper = "Bootstrapper"; - public const string PreparationClient = "PreparationClient"; - public const string Unauthenticated = "Unauthenticated"; - public const string Authenticated = "Authenticated"; - public const string ClientError = "ClientError"; - } - - - static readonly ActionParamsClass_Unauthenticated s_params_Unauthenticated = new ActionParamsClass_Unauthenticated(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Unauthenticated UnauthenticatedParams { get { return s_params_Unauthenticated; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Unauthenticated - { - public readonly string feature = "feature"; - } - static readonly ActionParamsClass_Authenticated s_params_Authenticated = new ActionParamsClass_Authenticated(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_Authenticated AuthenticatedParams { get { return s_params_Authenticated; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_Authenticated - { - public readonly string feature = "feature"; - } - static readonly ActionParamsClass_ClientError s_params_ClientError = new ActionParamsClass_ClientError(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ActionParamsClass_ClientError ClientErrorParams { get { return s_params_ClientError; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ActionParamsClass_ClientError - { - public readonly string SessionId = "SessionId"; - public readonly string DeviceIdentifier = "DeviceIdentifier"; - public readonly string JsonException = "JsonException"; - } - static readonly ViewsClass s_views = new ViewsClass(); - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public ViewsClass Views { get { return s_views; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class ViewsClass - { - static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); - public _ViewNamesClass ViewNames { get { return s_ViewNames; } } - public class _ViewNamesClass - { - } - } - } - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] - public class T4MVC_ClientController : Disco.Web.Areas.Services.Controllers.ClientController - { - public T4MVC_ClientController() : base(Dummy.Instance) { } - - public override System.Web.Mvc.ActionResult Bootstrapper() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Bootstrapper); - return callInfo; - } - - public override System.Web.Mvc.ActionResult PreparationClient() - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.PreparationClient); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Unauthenticated(string feature) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Unauthenticated); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "feature", feature); - return callInfo; - } - - public override System.Web.Mvc.ActionResult Authenticated(string feature) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Authenticated); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "feature", feature); - return callInfo; - } - - public override System.Web.Mvc.ActionResult ClientError(string SessionId, string DeviceIdentifier, string JsonException) - { - var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ClientError); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "SessionId", SessionId); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DeviceIdentifier", DeviceIdentifier); - ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "JsonException", JsonException); - return callInfo; - } - - } -} - - - - -#endregion T4MVC -#pragma warning restore 1591 - - +// +// This file was generated by a T4 template. +// 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 +#region T4MVC + +using System; +using System.Diagnostics; +using System.CodeDom.Compiler; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Web; +using System.Web.Hosting; +using System.Web.Mvc; +using System.Web.Mvc.Ajax; +using System.Web.Mvc.Html; +using System.Web.Routing; +using T4MVC; + +[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] +public static class MVC +{ + static readonly APIClass s_API = new APIClass(); + public static APIClass API { get { return s_API; } } + static readonly ConfigClass s_Config = new ConfigClass(); + public static ConfigClass Config { get { return s_Config; } } + static readonly PublicClass s_Public = new PublicClass(); + public static PublicClass Public { get { return s_Public; } } + static readonly ServicesClass s_Services = new ServicesClass(); + public static ServicesClass Services { get { return s_Services; } } + public static Disco.Web.Controllers.DeviceController Device = new Disco.Web.Controllers.T4MVC_DeviceController(); + public static Disco.Web.Controllers.InitialConfigController InitialConfig = new Disco.Web.Controllers.T4MVC_InitialConfigController(); + public static Disco.Web.Controllers.JobController Job = new Disco.Web.Controllers.T4MVC_JobController(); + public static Disco.Web.Controllers.PluginWebHandlerController PluginWebHandler = new Disco.Web.Controllers.T4MVC_PluginWebHandlerController(); + public static Disco.Web.Controllers.SearchController Search = new Disco.Web.Controllers.T4MVC_SearchController(); + public static Disco.Web.Controllers.UserController User = new Disco.Web.Controllers.T4MVC_UserController(); + public static T4MVC.HomeController Home = new T4MVC.HomeController(); + public static T4MVC.SharedController Shared = new T4MVC.SharedController(); +} + +namespace T4MVC +{ + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class APIClass + { + public readonly string Name = "API"; + public Disco.Web.Areas.API.Controllers.BootstrapperController Bootstrapper = new Disco.Web.Areas.API.Controllers.T4MVC_BootstrapperController(); + public Disco.Web.Areas.API.Controllers.DeviceBatchController DeviceBatch = new Disco.Web.Areas.API.Controllers.T4MVC_DeviceBatchController(); + public Disco.Web.Areas.API.Controllers.DeviceCertificateController DeviceCertificate = new Disco.Web.Areas.API.Controllers.T4MVC_DeviceCertificateController(); + public Disco.Web.Areas.API.Controllers.DeviceController Device = new Disco.Web.Areas.API.Controllers.T4MVC_DeviceController(); + public Disco.Web.Areas.API.Controllers.DeviceModelController DeviceModel = new Disco.Web.Areas.API.Controllers.T4MVC_DeviceModelController(); + public Disco.Web.Areas.API.Controllers.DeviceProfileController DeviceProfile = new Disco.Web.Areas.API.Controllers.T4MVC_DeviceProfileController(); + public Disco.Web.Areas.API.Controllers.DocumentTemplateController DocumentTemplate = new Disco.Web.Areas.API.Controllers.T4MVC_DocumentTemplateController(); + public Disco.Web.Areas.API.Controllers.ExpressionsController Expressions = new Disco.Web.Areas.API.Controllers.T4MVC_ExpressionsController(); + public Disco.Web.Areas.API.Controllers.JobController Job = new Disco.Web.Areas.API.Controllers.T4MVC_JobController(); + public Disco.Web.Areas.API.Controllers.LoggingController Logging = new Disco.Web.Areas.API.Controllers.T4MVC_LoggingController(); + public Disco.Web.Areas.API.Controllers.PluginController Plugin = new Disco.Web.Areas.API.Controllers.T4MVC_PluginController(); + public Disco.Web.Areas.API.Controllers.SystemController System = new Disco.Web.Areas.API.Controllers.T4MVC_SystemController(); + public Disco.Web.Areas.API.Controllers.UserController User = new Disco.Web.Areas.API.Controllers.T4MVC_UserController(); + } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ConfigClass + { + public readonly string Name = "Config"; + public Disco.Web.Areas.Config.Controllers.ConfigController Config = new Disco.Web.Areas.Config.Controllers.T4MVC_ConfigController(); + public Disco.Web.Areas.Config.Controllers.DeviceBatchController DeviceBatch = new Disco.Web.Areas.Config.Controllers.T4MVC_DeviceBatchController(); + public Disco.Web.Areas.Config.Controllers.DeviceModelController DeviceModel = new Disco.Web.Areas.Config.Controllers.T4MVC_DeviceModelController(); + public Disco.Web.Areas.Config.Controllers.DeviceProfileController DeviceProfile = new Disco.Web.Areas.Config.Controllers.T4MVC_DeviceProfileController(); + public Disco.Web.Areas.Config.Controllers.DocumentTemplateController DocumentTemplate = new Disco.Web.Areas.Config.Controllers.T4MVC_DocumentTemplateController(); + public Disco.Web.Areas.Config.Controllers.EnrolmentController Enrolment = new Disco.Web.Areas.Config.Controllers.T4MVC_EnrolmentController(); + public Disco.Web.Areas.Config.Controllers.ExpressionsController Expressions = new Disco.Web.Areas.Config.Controllers.T4MVC_ExpressionsController(); + public Disco.Web.Areas.Config.Controllers.LoggingController Logging = new Disco.Web.Areas.Config.Controllers.T4MVC_LoggingController(); + public Disco.Web.Areas.Config.Controllers.OrganisationController Organisation = new Disco.Web.Areas.Config.Controllers.T4MVC_OrganisationController(); + public Disco.Web.Areas.Config.Controllers.PluginsController Plugins = new Disco.Web.Areas.Config.Controllers.T4MVC_PluginsController(); + public Disco.Web.Areas.Config.Controllers.SystemConfigController SystemConfig = new Disco.Web.Areas.Config.Controllers.T4MVC_SystemConfigController(); + public T4MVC.Config.SharedController Shared = new T4MVC.Config.SharedController(); + } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class PublicClass + { + public readonly string Name = "Public"; + public Disco.Web.Areas.Public.Controllers.PublicController Public = new Disco.Web.Areas.Public.Controllers.T4MVC_PublicController(); + public Disco.Web.Areas.Public.Controllers.UserHeldDevicesController UserHeldDevices = new Disco.Web.Areas.Public.Controllers.T4MVC_UserHeldDevicesController(); + public T4MVC.Public.SharedController Shared = new T4MVC.Public.SharedController(); + } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ServicesClass + { + public readonly string Name = "Services"; + public Disco.Web.Areas.Services.Controllers.ClientController Client = new Disco.Web.Areas.Services.Controllers.T4MVC_ClientController(); + } +} + +namespace T4MVC +{ + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class Dummy + { + private Dummy() { } + public static Dummy Instance = new Dummy(); + } +} + +[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] +public class T4MVC_System_Web_Mvc_ActionResult : System.Web.Mvc.ActionResult, IT4MVCActionResult +{ + public T4MVC_System_Web_Mvc_ActionResult(string area, string controller, string action, string protocol = null): base() + { + this.InitMVCT4Result(area, controller, action, protocol); + } + + public override void ExecuteResult(System.Web.Mvc.ControllerContext context) { } + + public string Controller { get; set; } + public string Action { get; set; } + public string Protocol { get; set; } + public RouteValueDictionary RouteValueDictionary { get; set; } +} + + + +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); } + [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); } + [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 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_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_1_8_3_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery-1.8.3.min.js") ? Url("jquery-1.8.3.min.js") : Url("jquery-1.8.3.js"); + + public static readonly string jquery_ui_1_9_2_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery-ui-1.9.2.min.js") ? Url("jquery-ui-1.9.2.min.js") : Url("jquery-ui-1.9.2.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 modernizr_2_6_2_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/modernizr-2.6.2.min.js") ? Url("modernizr-2.6.2.min.js") : Url("modernizr-2.6.2.js"); + + } + + public static readonly string Core_js_bundle = Url("Core.js.bundle"); + 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_min_js_map = Url("Core.min.js.map"); + [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); } + [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 static readonly string Disco_AjaxHelperIcons_js_bundle = Url("Disco-AjaxHelperIcons.js.bundle"); + 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_min_js_map = Url("Disco-AjaxHelperIcons.min.js.map"); + [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 static readonly string Disco_CreateJob_js_bundle = Url("Disco-CreateJob.js.bundle"); + 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_min_js_map = Url("Disco-CreateJob.min.js.map"); + [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 static readonly string Disco_DataTableHelpers_js_bundle = Url("Disco-DataTableHelpers.js.bundle"); + 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_min_js_map = Url("Disco-DataTableHelpers.min.js.map"); + [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 static readonly string Disco_ExpressionEditor_js_bundle = Url("Disco-ExpressionEditor.js.bundle"); + 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_min_js_map = Url("Disco-ExpressionEditor.min.js.map"); + [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 static readonly string Disco_jQueryExtensions_js_bundle = Url("Disco-jQueryExtensions.js.bundle"); + 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_min_js_map = Url("Disco-jQueryExtensions.min.js.map"); + [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 static readonly string Disco_PropertyChangeHelpers_js_bundle = Url("Disco-PropertyChangeHelpers.js.bundle"); + 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_min_js_map = Url("Disco-PropertyChangeHelpers.min.js.map"); + [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"); + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class modules { + private const string URLPATH = "~/ClientSource/Scripts/Modules/Highcharts/modules"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string canvas_tools_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/canvas-tools.min.js") ? Url("canvas-tools.min.js") : Url("canvas-tools.js"); + + public static readonly string canvas_tools_src_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/canvas-tools.src.min.js") ? Url("canvas-tools.src.min.js") : Url("canvas-tools.src.js"); + + public static readonly string exporting_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/exporting.min.js") ? Url("exporting.min.js") : Url("exporting.js"); + + public static readonly string exporting_src_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/exporting.src.min.js") ? Url("exporting.src.min.js") : Url("exporting.src.js"); + + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class themes { + private const string URLPATH = "~/ClientSource/Scripts/Modules/Highcharts/themes"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string dark_blue_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/dark-blue.min.js") ? Url("dark-blue.min.js") : Url("dark-blue.js"); + + public static readonly string dark_green_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/dark-green.min.js") ? Url("dark-green.min.js") : Url("dark-green.js"); + + public static readonly string gray_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/gray.min.js") ? Url("gray.min.js") : Url("gray.js"); + + public static readonly string grid_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/grid.min.js") ? Url("grid.min.js") : Url("grid.js"); + + public static readonly string skies_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/skies.min.js") ? Url("skies.min.js") : Url("skies.js"); + + } + + } + + public static readonly string Highcharts_js_bundle = Url("Highcharts.js.bundle"); + 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_min_js_map = Url("Highcharts.min.js.map"); + [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 static readonly string jQuery_Isotope_js_bundle = Url("jQuery-Isotope.js.bundle"); + 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_min_js_map = Url("jQuery-Isotope.min.js.map"); + [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 static readonly string jQuery_NumberFormatter_js_bundle = Url("jQuery-NumberFormatter.js.bundle"); + 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_min_js_map = Url("jQuery-NumberFormatter.min.js.map"); + [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 jquery_signalR_0_5_3_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.signalR-0.5.3.min.js") ? Url("jquery.signalR-0.5.3.min.js") : Url("jquery.signalR-0.5.3.js"); + + } + + public static readonly string jQuery_SignalR_js_bundle = Url("jQuery-SignalR.js.bundle"); + 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_min_js_map = Url("jQuery-SignalR.min.js.map"); + [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 static readonly string jQueryUI_DynaTree_js_bundle = Url("jQueryUI-DynaTree.js.bundle"); + 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_min_js_map = Url("jQueryUI-DynaTree.min.js.map"); + [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 static readonly string jQueryUI_TimePicker_js_bundle = Url("jQueryUI-TimePicker.js.bundle"); + 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_min_js_map = Url("jQueryUI-TimePicker.min.js.map"); + [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_2_2_0_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/knockout-2.2.0.min.js") ? Url("knockout-2.2.0.min.js") : Url("knockout-2.2.0.js"); + + } + + public static readonly string Knockout_js_bundle = Url("Knockout.js.bundle"); + 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_min_js_map = Url("Knockout.min.js.map"); + [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 static readonly string Shadowbox_js_bundle = Url("Shadowbox.js.bundle"); + 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_min_js_map = Url("Shadowbox.min.js.map"); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class Silverlight { + private const string URLPATH = "~/ClientSource/Scripts/Modules/Silverlight"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string Silverlight_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Silverlight.min.js") ? Url("Silverlight.min.js") : Url("Silverlight.js"); + + } + + public static readonly string Silverlight_js_bundle = Url("Silverlight.js.bundle"); + public static readonly string Silverlight_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Silverlight.min.js") ? Url("Silverlight.min.js") : Url("Silverlight.js"); + + public static readonly string Silverlight_min_js = Url("Silverlight.min.js"); + public static readonly string Silverlight_min_js_map = Url("Silverlight.min.js.map"); + [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 static readonly string Timeline_js_bundle = Url("Timeline.js.bundle"); + 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_min_js_map = Url("Timeline.min.js.map"); + [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 static readonly string jquery_tinymce_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/jquery.tinymce.min.js") ? Url("jquery.tinymce.min.js") : Url("jquery.tinymce.js"); + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class langs { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/langs"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string en_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/en.min.js") ? Url("en.min.js") : Url("en.js"); + + } + + public static readonly string license_txt = Url("license.txt"); + [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); } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class advanced { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string about_htm = Url("about.htm"); + public static readonly string anchor_htm = Url("anchor.htm"); + public static readonly string charmap_htm = Url("charmap.htm"); + public static readonly string color_picker_htm = Url("color_picker.htm"); + public static readonly string editor_template_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/editor_template.min.js") ? Url("editor_template.min.js") : Url("editor_template.js"); + + public static readonly string editor_template_src_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/editor_template_src.min.js") ? Url("editor_template_src.min.js") : Url("editor_template_src.js"); + + public static readonly string image_htm = Url("image.htm"); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class img { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/img"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string colorpicker_jpg = Url("colorpicker.jpg"); + public static readonly string flash_gif = Url("flash.gif"); + public static readonly string icons_gif = Url("icons.gif"); + public static readonly string iframe_gif = Url("iframe.gif"); + public static readonly string pagebreak_gif = Url("pagebreak.gif"); + public static readonly string quicktime_gif = Url("quicktime.gif"); + public static readonly string realmedia_gif = Url("realmedia.gif"); + public static readonly string shockwave_gif = Url("shockwave.gif"); + public static readonly string trans_gif = Url("trans.gif"); + public static readonly string video_gif = Url("video.gif"); + public static readonly string windowsmedia_gif = Url("windowsmedia.gif"); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class js { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/js"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string about_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/about.min.js") ? Url("about.min.js") : Url("about.js"); + + public static readonly string anchor_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/anchor.min.js") ? Url("anchor.min.js") : Url("anchor.js"); + + public static readonly string charmap_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/charmap.min.js") ? Url("charmap.min.js") : Url("charmap.js"); + + public static readonly string color_picker_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/color_picker.min.js") ? Url("color_picker.min.js") : Url("color_picker.js"); + + public static readonly string image_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/image.min.js") ? Url("image.min.js") : Url("image.js"); + + public static readonly string link_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/link.min.js") ? Url("link.min.js") : Url("link.js"); + + public static readonly string source_editor_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/source_editor.min.js") ? Url("source_editor.min.js") : Url("source_editor.js"); + + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class langs { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/langs"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string en_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/en.min.js") ? Url("en.min.js") : Url("en.js"); + + public static readonly string en_dlg_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/en_dlg.min.js") ? Url("en_dlg.min.js") : Url("en_dlg.js"); + + } + + public static readonly string link_htm = Url("link.htm"); + public static readonly string shortcuts_htm = Url("shortcuts.htm"); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class skins { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/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 @default { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/skins/default"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + 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 dialog_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/dialog.min.css") ? Url("dialog.min.css") : Url("dialog.css"); + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class img { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/skins/default/img"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string buttons_png = Url("buttons.png"); + public static readonly string items_gif = Url("items.gif"); + public static readonly string menu_arrow_gif = Url("menu_arrow.gif"); + public static readonly string menu_check_gif = Url("menu_check.gif"); + public static readonly string progress_gif = Url("progress.gif"); + public static readonly string tabs_gif = Url("tabs.gif"); + } + + public static readonly string ui_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui.min.css") ? Url("ui.min.css") : Url("ui.css"); + + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class highcontrast { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/skins/highcontrast"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + 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 dialog_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/dialog.min.css") ? Url("dialog.min.css") : Url("dialog.css"); + + public static readonly string ui_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui.min.css") ? Url("ui.min.css") : Url("ui.css"); + + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class o2k7 { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/skins/o2k7"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + 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 dialog_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/dialog.min.css") ? Url("dialog.min.css") : Url("dialog.css"); + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class img { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/advanced/skins/o2k7/img"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string button_bg_png = Url("button_bg.png"); + public static readonly string button_bg_black_png = Url("button_bg_black.png"); + public static readonly string button_bg_silver_png = Url("button_bg_silver.png"); + } + + public static readonly string ui_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui.min.css") ? Url("ui.min.css") : Url("ui.css"); + + public static readonly string ui_black_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui_black.min.css") ? Url("ui_black.min.css") : Url("ui_black.css"); + + public static readonly string ui_silver_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui_silver.min.css") ? Url("ui_silver.min.css") : Url("ui_silver.css"); + + } + + } + + public static readonly string source_editor_htm = Url("source_editor.htm"); + } + + [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 editor_template_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/editor_template.min.js") ? Url("editor_template.min.js") : Url("editor_template.js"); + + public static readonly string editor_template_src_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/editor_template_src.min.js") ? Url("editor_template_src.min.js") : Url("editor_template_src.js"); + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class img { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/img"; + 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"); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class langs { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/langs"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string en_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/en.min.js") ? Url("en.min.js") : Url("en.js"); + + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class skins { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/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 @default { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/skins/default"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + 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 ui_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui.min.css") ? Url("ui.min.css") : Url("ui.css"); + + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class o2k7 { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/skins/o2k7"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string content_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/content.min.css") ? Url("content.min.css") : Url("content.css"); + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class img { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/themes/simple/skins/o2k7/img"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string button_bg_png = Url("button_bg.png"); + } + + public static readonly string ui_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/ui.min.css") ? Url("ui.min.css") : Url("ui.css"); + + } + + } + + } + + } + + public static readonly string tiny_mce_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/tiny_mce.min.js") ? Url("tiny_mce.min.js") : Url("tiny_mce.js"); + + public static readonly string tiny_mce_jquery_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/tiny_mce_jquery.min.js") ? Url("tiny_mce_jquery.min.js") : Url("tiny_mce_jquery.js"); + + public static readonly string tiny_mce_popup_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/tiny_mce_popup.min.js") ? Url("tiny_mce_popup.min.js") : Url("tiny_mce_popup.js"); + + public static readonly string tiny_mce_src_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/tiny_mce_src.min.js") ? Url("tiny_mce_src.min.js") : Url("tiny_mce_src.js"); + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public static class utils { + private const string URLPATH = "~/ClientSource/Scripts/Modules/tinymce/utils"; + public static string Url() { return T4MVCHelpers.ProcessVirtualPath(URLPATH); } + public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(URLPATH + "/" + fileName); } + public static readonly string editable_selects_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/editable_selects.min.js") ? Url("editable_selects.min.js") : Url("editable_selects.js"); + + public static readonly string form_utils_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/form_utils.min.js") ? Url("form_utils.min.js") : Url("form_utils.js"); + + public static readonly string mctabs_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/mctabs.min.js") ? Url("mctabs.min.js") : Url("mctabs.js"); + + public static readonly string validate_js = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/validate.min.js") ? Url("validate.min.js") : Url("validate.js"); + + } + + } + + public static readonly string tinymce_js_bundle = Url("tinymce.js.bundle"); + 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_min_js_map = Url("tinymce.min.js.map"); + } + + } + + [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 static readonly string BundleSite_css_bundle = Url("BundleSite.css.bundle"); + 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_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 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"); + public static readonly string iTextSharp_png = Url("iTextSharp.png"); + public static readonly string jQuery_png = Url("jQuery.png"); + public static readonly string jQueryUI_png = Url("jQueryUI.png"); + public static readonly string JsonNET_png = Url("JsonNET.png"); + public static readonly string knockoutjs_png = Url("knockoutjs.png"); + public static readonly string LibTiff_png = Url("LibTiff.png"); + public static readonly string MicrosoftASPNET_png = Url("MicrosoftASPNET.png"); + public static readonly string MicrosoftNET_png = Url("MicrosoftNET.png"); + public static readonly string MicrosoftSilverlight_png = Url("MicrosoftSilverlight.png"); + public static readonly string MicrosoftSQLServer_png = Url("MicrosoftSQLServer.png"); + public static readonly string Modernizr_png = Url("Modernizr.png"); + public static readonly string nuget_png = Url("nuget.png"); + public static readonly string Quartz_png = Url("Quartz.png"); + public static readonly string Shadowboxjs_png = Url("Shadowboxjs.png"); + public static readonly string SignalR_png = Url("SignalR.png"); + public static readonly string SpringNET_png = Url("SpringNET.png"); + public static readonly string TinyMCE_png = Url("TinyMCE.png"); + public static readonly string ZXing_png = Url("ZXing.png"); + } + + 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_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_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_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_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_min_css = Url("ExpressionEditor.min.css"); + public static readonly string ExpressionEditor_htm = Url("ExpressionEditor.htm"); + [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); } + [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 static readonly string attach_png = Url("attach.png"); + 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"); + public static readonly string dataTableLastDisabled_png = Url("dataTableLastDisabled.png"); + public static readonly string dataTableNext_png = Url("dataTableNext.png"); + public static readonly string dataTableNextDisabled_png = Url("dataTableNextDisabled.png"); + public static readonly string dataTablePrev_png = Url("dataTablePrev.png"); + public static readonly string dataTablePrevDisabled_png = Url("dataTablePrevDisabled.png"); + public static readonly string dataTableSort_png = Url("dataTableSort.png"); + public static readonly string editForm_png = Url("editForm.png"); + public static readonly string expressionBrowser_png = Url("expressionBrowser.png"); + public static readonly string expressionBrowser256_png = Url("expressionBrowser256.png"); + public static readonly string list_png = Url("list.png"); + public static readonly string listAlert_png = Url("listAlert.png"); + public static readonly string locked_png = Url("locked.png"); + public static readonly string pageMenuConfigIcon_png = Url("pageMenuConfigIcon.png"); + public static readonly string pageMenuConfigIconHover_png = Url("pageMenuConfigIconHover.png"); + public static readonly string pageMenuIcon_png = Url("pageMenuIcon.png"); + public static readonly string pageMenuIconHover_png = Url("pageMenuIconHover.png"); + public static readonly string pageMenuNoticeboardIcon_png = Url("pageMenuNoticeboardIcon.png"); + public static readonly string pageMenuNoticeboardIconHover_png = Url("pageMenuNoticeboardIconHover.png"); + public static readonly string pageMenuReportIcon_png = Url("pageMenuReportIcon.png"); + public static readonly string pageMenuReportIconHover_png = Url("pageMenuReportIconHover.png"); + public static readonly string photo_png = Url("photo.png"); + public static readonly string post_png = Url("post.png"); + public static readonly string remove_png = Url("remove.png"); + public static readonly string removeSubtle_png = Url("removeSubtle.png"); + public static readonly string unlocked_png = Url("unlocked.png"); + } + + [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 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"); + public static readonly string pdf_png = Url("pdf.png"); + public static readonly string unknown_png = Url("unknown.png"); + } + + public static readonly string BackgroundDocument_png = Url("BackgroundDocument.png"); + public static readonly string BackgroundInitialConfig_jpg = Url("BackgroundInitialConfig.jpg"); + 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 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"); + public static readonly string Maximum_png = Url("Maximum.png"); + public static readonly string Mobile_png = Url("Mobile.png"); + public static readonly string PerformanceServer_png = Url("PerformanceServer.png"); + public static readonly string SmallOfficeAndHomeOfficeServer_png = Url("SmallOfficeAndHomeOfficeServer.png"); + public static readonly string Unknown_png = Url("Unknown.png"); + public static readonly string Workstation_png = Url("Workstation.png"); + } + + public static readonly string Heading_png = Url("Heading.png"); + public static readonly string Icon32_png = Url("Icon32.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 static readonly string error_png = Url("error.png"); + public static readonly string fail32_png = Url("fail32.png"); + public static readonly string fileBroken256_png = Url("fileBroken256.png"); + public static readonly string information_png = Url("information.png"); + public static readonly string jobStatus_Closed_png = Url("jobStatus-Closed.png"); + public static readonly string jobStatus_Insurance_png = Url("jobStatus-Insurance.png"); + public static readonly string jobStatus_Open_png = Url("jobStatus-Open.png"); + public static readonly string jobStatus_Repairs_png = Url("jobStatus-Repairs.png"); + public static readonly string jobStatus_User_png = Url("jobStatus-User.png"); + public static readonly string loading_gif = Url("loading.gif"); + public static readonly string ok_png = Url("ok.png"); + public static readonly string pbar_ani_gif = Url("pbar-ani.gif"); + public static readonly string save_png = Url("save.png"); + public static readonly string success_png = Url("success.png"); + public static readonly string updateAvailable_png = Url("updateAvailable.png"); + public static readonly string warning_png = Url("warning.png"); + public static readonly string warning32_png = Url("warning32.png"); + } + + public static readonly string SubMenuBackground_png = Url("SubMenuBackground.png"); + public static readonly string SubSubMenuIcon_png = Url("SubSubMenuIcon.png"); + } + + public static readonly string InitialConfig_less = Url("InitialConfig.less"); + public static readonly string InitialConfig_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/InitialConfig.min.css") ? Url("InitialConfig.min.css") : Url("InitialConfig.css"); + + public static readonly string InitialConfig_min_css = Url("InitialConfig.min.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_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); } + [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 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_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 static readonly string ui_bg_diagonals_thick_18_b81900_40x40_png = Url("ui-bg_diagonals-thick_18_b81900_40x40.png"); + public static readonly string ui_bg_diagonals_thick_20_666666_40x40_png = Url("ui-bg_diagonals-thick_20_666666_40x40.png"); + public static readonly string ui_bg_flat_10_000000_40x100_png = Url("ui-bg_flat_10_000000_40x100.png"); + public static readonly string ui_bg_glass_100_f6f6f6_1x400_png = Url("ui-bg_glass_100_f6f6f6_1x400.png"); + public static readonly string ui_bg_glass_100_fdf5ce_1x400_png = Url("ui-bg_glass_100_fdf5ce_1x400.png"); + public static readonly string ui_bg_glass_65_ffffff_1x400_png = Url("ui-bg_glass_65_ffffff_1x400.png"); + public static readonly string ui_bg_gloss_wave_35_f6a828_500x100_png = Url("ui-bg_gloss-wave_35_f6a828_500x100.png"); + public static readonly string ui_bg_highlight_soft_100_eeeeee_1x100_png = Url("ui-bg_highlight-soft_100_eeeeee_1x100.png"); + public static readonly string ui_bg_highlight_soft_75_ffe45c_1x100_png = Url("ui-bg_highlight-soft_75_ffe45c_1x100.png"); + public static readonly string ui_icons_222222_256x240_png = Url("ui-icons_222222_256x240.png"); + public static readonly string ui_icons_228ef1_256x240_png = Url("ui-icons_228ef1_256x240.png"); + public static readonly string ui_icons_ef8c08_256x240_png = Url("ui-icons_ef8c08_256x240.png"); + public static readonly string ui_icons_ffd27a_256x240_png = Url("ui-icons_ffd27a_256x240.png"); + public static readonly string ui_icons_ffffff_256x240_png = Url("ui-icons_ffffff_256x240.png"); + } + + 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_min_css = Url("jQueryUIExtensions.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 static readonly string UserHeldDevices_less = Url("UserHeldDevices.less"); + public static readonly string UserHeldDevices_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/UserHeldDevices.min.css") ? Url("UserHeldDevices.min.css") : Url("UserHeldDevices.css"); + + public static readonly string UserHeldDevices_min_css = Url("UserHeldDevices.min.css"); + public static readonly string UserHeldDevicesNoticeboard_less = Url("UserHeldDevicesNoticeboard.less"); + public static readonly string UserHeldDevicesNoticeboard_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/UserHeldDevicesNoticeboard.min.css") ? Url("UserHeldDevicesNoticeboard.min.css") : Url("UserHeldDevicesNoticeboard.css"); + + public static readonly string UserHeldDevicesNoticeboard_min_css = Url("UserHeldDevicesNoticeboard.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 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_min_css = Url("shadowbox.min.css"); + } + + public static readonly string Shadowbox_css_bundle = Url("Shadowbox.css.bundle"); + 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_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_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 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_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_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 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"); + public static readonly string bubble_arrow_point_right_png = Url("bubble-arrow-point-right.png"); + public static readonly string bubble_arrow_point_up_png = Url("bubble-arrow-point-up.png"); + public static readonly string bubble_bottom_arrow_png = Url("bubble-bottom-arrow.png"); + public static readonly string bubble_bottom_left_png = Url("bubble-bottom-left.png"); + public static readonly string bubble_bottom_right_png = Url("bubble-bottom-right.png"); + public static readonly string bubble_bottom_png = Url("bubble-bottom.png"); + public static readonly string bubble_left_arrow_png = Url("bubble-left-arrow.png"); + public static readonly string bubble_left_png = Url("bubble-left.png"); + public static readonly string bubble_right_arrow_png = Url("bubble-right-arrow.png"); + public static readonly string bubble_right_png = Url("bubble-right.png"); + public static readonly string bubble_top_arrow_png = Url("bubble-top-arrow.png"); + public static readonly string bubble_top_left_png = Url("bubble-top-left.png"); + public static readonly string bubble_top_right_png = Url("bubble-top-right.png"); + public static readonly string bubble_top_png = Url("bubble-top.png"); + public static readonly string close_button_png = Url("close-button.png"); + public static readonly string copy_png = Url("copy.png"); + public static readonly string copyright_vertical_png = Url("copyright-vertical.png"); + public static readonly string copyright_png = Url("copyright.png"); + public static readonly string dark_blue_circle_png = Url("dark-blue-circle.png"); + public static readonly string dark_green_circle_png = Url("dark-green-circle.png"); + public static readonly string dark_red_circle_png = Url("dark-red-circle.png"); + public static readonly string dull_blue_circle_png = Url("dull-blue-circle.png"); + public static readonly string dull_green_circle_png = Url("dull-green-circle.png"); + public static readonly string dull_red_circle_png = Url("dull-red-circle.png"); + public static readonly string gray_circle_png = Url("gray-circle.png"); + public static readonly string green_circle_png = Url("green-circle.png"); + public static readonly string message_bottom_left_png = Url("message-bottom-left.png"); + public static readonly string message_bottom_right_png = Url("message-bottom-right.png"); + public static readonly string message_left_png = Url("message-left.png"); + public static readonly string message_right_png = Url("message-right.png"); + public static readonly string message_top_left_png = Url("message-top-left.png"); + public static readonly string message_top_right_png = Url("message-top-right.png"); + public static readonly string progress_running_gif = Url("progress-running.gif"); + public static readonly string red_circle_png = Url("red-circle.png"); + 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_min_css = Url("timeline-bundle.min.css"); + } + + public static readonly string Timeline_css_bundle = Url("Timeline.css.bundle"); + public static readonly string Timeline_css = T4MVCHelpers.IsProduction() && T4Extensions.FileExists(URLPATH + "/Timeline.min.css") ? Url("Timeline.min.css") : Url("Timeline.css"); + + public static readonly string Timeline_min_css = Url("Timeline.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_min_css = Url("User.min.css"); + } + + } + + [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 static readonly string DataStoreTemplate_zip = Url("DataStoreTemplate.zip"); + public static readonly string Disco_ClientBootstrapper_exe = Url("Disco.ClientBootstrapper.exe"); + public static readonly string Disco_Silverlight_AttachmentUpload_xap = Url("Disco.Silverlight.AttachmentUpload.xap"); + 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 {} + } +} + +[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] +public static class T4MVCHelpers { + // You can change the ProcessVirtualPath method to modify the path that gets returned to the client. + // e.g. you can prepend a domain, or append a query string: + // return "http://localhost" + path + "?foo=bar"; + private static string ProcessVirtualPathDefault(string virtualPath) { + // The path that comes in starts with ~/ and must first be made absolute + string path = VirtualPathUtility.ToAbsolute(virtualPath); + + // Add your own modifications here before returning the path + return path; + } + + // Calling ProcessVirtualPath through delegate to allow it to be replaced for unit testing + public static Func ProcessVirtualPath = ProcessVirtualPathDefault; + + + // Logic to determine if the app is running in production or dev environment + public static bool IsProduction() { + return (HttpContext.Current != null && !HttpContext.Current.IsDebuggingEnabled); + } +} + + +namespace Disco.Web.Controllers +{ + public partial class DeviceController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected DeviceController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Show() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceController Actions { get { return MVC.Device; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = ""; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Device"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Device"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string AddOffline = "AddOffline"; + public readonly string Show = "Show"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string AddOffline = "AddOffline"; + public const string Show = "Show"; + } + + + static readonly ActionParamsClass_AddOffline s_params_AddOffline = new ActionParamsClass_AddOffline(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AddOffline AddOfflineParams { get { return s_params_AddOffline; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AddOffline + { + public readonly string m = "m"; + } + static readonly ActionParamsClass_Show s_params_Show = new ActionParamsClass_Show(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Show ShowParams { get { return s_params_Show; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Show + { + public readonly string id = "id"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string _CertificateTable = "_CertificateTable"; + public readonly string _DeviceActions = "_DeviceActions"; + public readonly string _DeviceTable = "_DeviceTable"; + public readonly string _DeviceUserAssignmentHistoryTable = "_DeviceUserAssignmentHistoryTable"; + public readonly string _ViewStart = "_ViewStart"; + public readonly string AddOffline = "AddOffline"; + public readonly string Index = "Index"; + public readonly string Show = "Show"; + } + public readonly string _CertificateTable = "~/Views/Device/_CertificateTable.cshtml"; + public readonly string _DeviceActions = "~/Views/Device/_DeviceActions.cshtml"; + public readonly string _DeviceTable = "~/Views/Device/_DeviceTable.cshtml"; + public readonly string _DeviceUserAssignmentHistoryTable = "~/Views/Device/_DeviceUserAssignmentHistoryTable.cshtml"; + public readonly string _ViewStart = "~/Views/Device/_ViewStart.cshtml"; + public readonly string AddOffline = "~/Views/Device/AddOffline.cshtml"; + public readonly string Index = "~/Views/Device/Index.cshtml"; + public readonly string Show = "~/Views/Device/Show.cshtml"; + static readonly _DevicePartsClass s_DeviceParts = new _DevicePartsClass(); + public _DevicePartsClass DeviceParts { get { return s_DeviceParts; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public partial class _DevicePartsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Resources = "Resources"; + } + public readonly string Resources = "~/Views/Device/DeviceParts/Resources.cshtml"; + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_DeviceController : Disco.Web.Controllers.DeviceController + { + public T4MVC_DeviceController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AddOffline() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AddOffline); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AddOffline(Disco.Web.Models.Device.AddOfflineModel m) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AddOffline); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "m", m); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Show(string id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + } +} + +namespace Disco.Web.Controllers +{ + public partial class InitialConfigController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public InitialConfigController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected InitialConfigController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult FileStoreBranch() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.FileStoreBranch); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public InitialConfigController Actions { get { return MVC.InitialConfig; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = ""; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "InitialConfig"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "InitialConfig"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string Welcome = "Welcome"; + public readonly string Database = "Database"; + public readonly string FileStore = "FileStore"; + public readonly string FileStoreBranch = "FileStoreBranch"; + public readonly string Complete = "Complete"; + public readonly string RestartWebApp = "RestartWebApp"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string Welcome = "Welcome"; + public const string Database = "Database"; + public const string FileStore = "FileStore"; + public const string FileStoreBranch = "FileStoreBranch"; + public const string Complete = "Complete"; + public const string RestartWebApp = "RestartWebApp"; + } + + + static readonly ActionParamsClass_Welcome s_params_Welcome = new ActionParamsClass_Welcome(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Welcome WelcomeParams { get { return s_params_Welcome; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Welcome + { + public readonly string model = "model"; + } + static readonly ActionParamsClass_Database s_params_Database = new ActionParamsClass_Database(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Database DatabaseParams { get { return s_params_Database; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Database + { + public readonly string model = "model"; + } + static readonly ActionParamsClass_FileStore s_params_FileStore = new ActionParamsClass_FileStore(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_FileStore FileStoreParams { get { return s_params_FileStore; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_FileStore + { + public readonly string m = "m"; + } + static readonly ActionParamsClass_FileStoreBranch s_params_FileStoreBranch = new ActionParamsClass_FileStoreBranch(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_FileStoreBranch FileStoreBranchParams { get { return s_params_FileStoreBranch; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_FileStoreBranch + { + public readonly string Path = "Path"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string _Layout = "_Layout"; + public readonly string _ViewStart = "_ViewStart"; + public readonly string Complete = "Complete"; + public readonly string Database = "Database"; + public readonly string FileStore = "FileStore"; + public readonly string RestartWebApp = "RestartWebApp"; + public readonly string Welcome = "Welcome"; + } + public readonly string _Layout = "~/Views/InitialConfig/_Layout.cshtml"; + public readonly string _ViewStart = "~/Views/InitialConfig/_ViewStart.cshtml"; + public readonly string Complete = "~/Views/InitialConfig/Complete.cshtml"; + public readonly string Database = "~/Views/InitialConfig/Database.cshtml"; + public readonly string FileStore = "~/Views/InitialConfig/FileStore.cshtml"; + public readonly string RestartWebApp = "~/Views/InitialConfig/RestartWebApp.cshtml"; + public readonly string Welcome = "~/Views/InitialConfig/Welcome.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_InitialConfigController : Disco.Web.Controllers.InitialConfigController + { + public T4MVC_InitialConfigController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Welcome() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Welcome); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Welcome(Disco.Web.Models.InitialConfig.WelcomeModel model) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Welcome); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Database() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Database); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Database(Disco.Web.Models.InitialConfig.DatabaseModel model) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Database); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); + return callInfo; + } + + public override System.Web.Mvc.ActionResult FileStore() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.FileStore); + return callInfo; + } + + public override System.Web.Mvc.ActionResult FileStore(Disco.Web.Models.InitialConfig.FileStoreModel m) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.FileStore); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "m", m); + return callInfo; + } + + public override System.Web.Mvc.ActionResult FileStoreBranch(string Path) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.FileStoreBranch); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Path", Path); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Complete() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Complete); + return callInfo; + } + + public override System.Web.Mvc.ActionResult RestartWebApp() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.RestartWebApp); + return callInfo; + } + + } +} + +namespace Disco.Web.Controllers +{ + public partial class JobController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public JobController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected JobController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Show() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Create() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult LogWarranty() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LogWarranty); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult WarrantyProviderJobDetails() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.WarrantyProviderJobDetails); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public JobController Actions { get { return MVC.Job; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = ""; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Job"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Job"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string AllOpen = "AllOpen"; + public readonly string DevicesReadyForReturn = "DevicesReadyForReturn"; + public readonly string DevicesAwaitingRepair = "DevicesAwaitingRepair"; + public readonly string AwaitingFinance = "AwaitingFinance"; + public readonly string AwaitingFinanceCharge = "AwaitingFinanceCharge"; + public readonly string AwaitingFinancePayment = "AwaitingFinancePayment"; + public readonly string AwaitingFinanceInsuranceProcessing = "AwaitingFinanceInsuranceProcessing"; + public readonly string AwaitingFinanceAgreementBreach = "AwaitingFinanceAgreementBreach"; + public readonly string AwaitingUserAction = "AwaitingUserAction"; + public readonly string RecentlyClosed = "RecentlyClosed"; + public readonly string Locations = "Locations"; + public readonly string Show = "Show"; + public readonly string Create = "Create"; + public readonly string LogWarranty = "LogWarranty"; + public readonly string WarrantyProviderJobDetails = "WarrantyProviderJobDetails"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string AllOpen = "AllOpen"; + public const string DevicesReadyForReturn = "DevicesReadyForReturn"; + public const string DevicesAwaitingRepair = "DevicesAwaitingRepair"; + public const string AwaitingFinance = "AwaitingFinance"; + public const string AwaitingFinanceCharge = "AwaitingFinanceCharge"; + public const string AwaitingFinancePayment = "AwaitingFinancePayment"; + public const string AwaitingFinanceInsuranceProcessing = "AwaitingFinanceInsuranceProcessing"; + public const string AwaitingFinanceAgreementBreach = "AwaitingFinanceAgreementBreach"; + public const string AwaitingUserAction = "AwaitingUserAction"; + public const string RecentlyClosed = "RecentlyClosed"; + public const string Locations = "Locations"; + public const string Show = "Show"; + public const string Create = "Create"; + public const string LogWarranty = "LogWarranty"; + public const string WarrantyProviderJobDetails = "WarrantyProviderJobDetails"; + } + + + static readonly ActionParamsClass_Show s_params_Show = new ActionParamsClass_Show(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Show ShowParams { get { return s_params_Show; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Show + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_Create s_params_Create = new ActionParamsClass_Create(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Create CreateParams { get { return s_params_Create; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Create + { + public readonly string DeviceSerialNumber = "DeviceSerialNumber"; + public readonly string UserId = "UserId"; + public readonly string m = "m"; + } + static readonly ActionParamsClass_LogWarranty s_params_LogWarranty = new ActionParamsClass_LogWarranty(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_LogWarranty LogWarrantyParams { get { return s_params_LogWarranty; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_LogWarranty + { + public readonly string id = "id"; + public readonly string WarrantyProviderId = "WarrantyProviderId"; + public readonly string OrganisationAddressId = "OrganisationAddressId"; + public readonly string m = "m"; + public readonly string form = "form"; + } + static readonly ActionParamsClass_WarrantyProviderJobDetails s_params_WarrantyProviderJobDetails = new ActionParamsClass_WarrantyProviderJobDetails(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_WarrantyProviderJobDetails WarrantyProviderJobDetailsParams { get { return s_params_WarrantyProviderJobDetails; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_WarrantyProviderJobDetails + { + public readonly string id = "id"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string _CreateSubject = "_CreateSubject"; + public readonly string _ViewStart = "_ViewStart"; + public readonly string Create = "Create"; + public readonly string Create_Redirect = "Create_Redirect"; + public readonly string Index = "Index"; + public readonly string List = "List"; + public readonly string LogWarranty = "LogWarranty"; + public readonly string LogWarrantyDisclose = "LogWarrantyDisclose"; + public readonly string LogWarrantyError = "LogWarrantyError"; + public readonly string Show = "Show"; + public readonly string WarrantyProviderJobDetails = "WarrantyProviderJobDetails"; + } + public readonly string _CreateSubject = "~/Views/Job/_CreateSubject.cshtml"; + public readonly string _ViewStart = "~/Views/Job/_ViewStart.cshtml"; + public readonly string Create = "~/Views/Job/Create.cshtml"; + public readonly string Create_Redirect = "~/Views/Job/Create_Redirect.cshtml"; + public readonly string Index = "~/Views/Job/Index.cshtml"; + public readonly string List = "~/Views/Job/List.cshtml"; + public readonly string LogWarranty = "~/Views/Job/LogWarranty.cshtml"; + public readonly string LogWarrantyDisclose = "~/Views/Job/LogWarrantyDisclose.cshtml"; + public readonly string LogWarrantyError = "~/Views/Job/LogWarrantyError.cshtml"; + public readonly string Show = "~/Views/Job/Show.cshtml"; + public readonly string WarrantyProviderJobDetails = "~/Views/Job/WarrantyProviderJobDetails.cshtml"; + static readonly _JobPartsClass s_JobParts = new _JobPartsClass(); + public _JobPartsClass JobParts { get { return s_JobParts; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public partial class _JobPartsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string _Subject = "_Subject"; + public readonly string Components = "Components"; + public readonly string Flags = "Flags"; + public readonly string Insurance = "Insurance"; + public readonly string JobMetaAdditions = "JobMetaAdditions"; + public readonly string NonWarranty = "NonWarranty"; + public readonly string NonWarrantyFinance = "NonWarrantyFinance"; + public readonly string Repairs = "Repairs"; + public readonly string Resources = "Resources"; + public readonly string Warranty = "Warranty"; + } + public readonly string _Subject = "~/Views/Job/JobParts/_Subject.cshtml"; + public readonly string Components = "~/Views/Job/JobParts/Components.cshtml"; + public readonly string Flags = "~/Views/Job/JobParts/Flags.cshtml"; + public readonly string Insurance = "~/Views/Job/JobParts/Insurance.cshtml"; + public readonly string JobMetaAdditions = "~/Views/Job/JobParts/JobMetaAdditions.cshtml"; + public readonly string NonWarranty = "~/Views/Job/JobParts/NonWarranty.cshtml"; + public readonly string NonWarrantyFinance = "~/Views/Job/JobParts/NonWarrantyFinance.cshtml"; + public readonly string Repairs = "~/Views/Job/JobParts/Repairs.cshtml"; + public readonly string Resources = "~/Views/Job/JobParts/Resources.cshtml"; + public readonly string Warranty = "~/Views/Job/JobParts/Warranty.cshtml"; + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_JobController : Disco.Web.Controllers.JobController + { + public T4MVC_JobController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AllOpen() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AllOpen); + return callInfo; + } + + public override System.Web.Mvc.ActionResult DevicesReadyForReturn() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DevicesReadyForReturn); + return callInfo; + } + + public override System.Web.Mvc.ActionResult DevicesAwaitingRepair() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DevicesAwaitingRepair); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AwaitingFinance() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AwaitingFinance); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AwaitingFinanceCharge() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AwaitingFinanceCharge); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AwaitingFinancePayment() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AwaitingFinancePayment); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AwaitingFinanceInsuranceProcessing() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AwaitingFinanceInsuranceProcessing); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AwaitingFinanceAgreementBreach() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AwaitingFinanceAgreementBreach); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AwaitingUserAction() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AwaitingUserAction); + return callInfo; + } + + public override System.Web.Mvc.ActionResult RecentlyClosed() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.RecentlyClosed); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Locations() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Locations); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Show(int? id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Create(string DeviceSerialNumber, string UserId) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DeviceSerialNumber", DeviceSerialNumber); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "UserId", UserId); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Create(Disco.Web.Models.Job.CreateModel m) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "m", m); + return callInfo; + } + + public override System.Web.Mvc.ActionResult LogWarranty(int id, string WarrantyProviderId, int? OrganisationAddressId) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LogWarranty); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "WarrantyProviderId", WarrantyProviderId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "OrganisationAddressId", OrganisationAddressId); + return callInfo; + } + + public override System.Web.Mvc.ActionResult LogWarranty(Disco.Web.Models.Job.LogWarrantyModel m, System.Web.Mvc.FormCollection form) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LogWarranty); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "m", m); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "form", form); + return callInfo; + } + + public override System.Web.Mvc.ActionResult WarrantyProviderJobDetails(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.WarrantyProviderJobDetails); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + } +} + +namespace Disco.Web.Controllers +{ + public partial class PluginWebHandlerController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public PluginWebHandlerController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected PluginWebHandlerController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Index() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Resource() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Resource); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public PluginWebHandlerController Actions { get { return MVC.PluginWebHandler; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = ""; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "PluginWebHandler"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "PluginWebHandler"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string Resource = "Resource"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string Resource = "Resource"; + } + + + static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Index + { + public readonly string PluginId = "PluginId"; + public readonly string PluginAction = "PluginAction"; + } + static readonly ActionParamsClass_Resource s_params_Resource = new ActionParamsClass_Resource(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Resource ResourceParams { get { return s_params_Resource; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Resource + { + public readonly string PluginId = "PluginId"; + public readonly string res = "res"; + public readonly string Download = "Download"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_PluginWebHandlerController : Disco.Web.Controllers.PluginWebHandlerController + { + public T4MVC_PluginWebHandlerController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index(string PluginId, string PluginAction) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PluginId", PluginId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PluginAction", PluginAction); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Resource(string PluginId, string res, bool? Download) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Resource); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PluginId", PluginId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "res", res); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Download", Download); + return callInfo; + } + + } +} + +namespace Disco.Web.Controllers +{ + public partial class SearchController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public SearchController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected SearchController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Query() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Query); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public SearchController Actions { get { return MVC.Search; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = ""; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Search"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Search"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Query = "Query"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Query = "Query"; + } + + + static readonly ActionParamsClass_Query s_params_Query = new ActionParamsClass_Query(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Query QueryParams { get { return s_params_Query; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Query + { + public readonly string term = "term"; + public readonly string limit = "limit"; + public readonly string searchDetails = "searchDetails"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Query = "Query"; + } + public readonly string Query = "~/Views/Search/Query.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_SearchController : Disco.Web.Controllers.SearchController + { + public T4MVC_SearchController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Query(string term, string limit, bool searchDetails) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Query); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "limit", limit); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "searchDetails", searchDetails); + return callInfo; + } + + } +} + +namespace Disco.Web.Controllers +{ + public partial class UserController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public UserController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected UserController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Show() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public UserController Actions { get { return MVC.User; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = ""; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "User"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "User"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string Show = "Show"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string Show = "Show"; + } + + + static readonly ActionParamsClass_Show s_params_Show = new ActionParamsClass_Show(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Show ShowParams { get { return s_params_Show; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Show + { + public readonly string id = "id"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string _UserDeviceAssignmentHistoryTable = "_UserDeviceAssignmentHistoryTable"; + public readonly string _UserTable = "_UserTable"; + public readonly string _ViewStart = "_ViewStart"; + public readonly string Index = "Index"; + public readonly string Show = "Show"; + } + public readonly string _UserDeviceAssignmentHistoryTable = "~/Views/User/_UserDeviceAssignmentHistoryTable.cshtml"; + public readonly string _UserTable = "~/Views/User/_UserTable.cshtml"; + public readonly string _ViewStart = "~/Views/User/_ViewStart.cshtml"; + public readonly string Index = "~/Views/User/Index.cshtml"; + public readonly string Show = "~/Views/User/Show.cshtml"; + static readonly _UserPartsClass s_UserParts = new _UserPartsClass(); + public _UserPartsClass UserParts { get { return s_UserParts; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public partial class _UserPartsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Resources = "Resources"; + } + public readonly string Resources = "~/Views/User/UserParts/Resources.cshtml"; + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_UserController : Disco.Web.Controllers.UserController + { + public T4MVC_UserController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Show(string id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + } +} + +namespace T4MVC +{ + public class HomeController + { + + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + +} + +namespace T4MVC +{ + public class SharedController + { + + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string _DialogLayout = "_DialogLayout"; + public readonly string _EmptyLayout = "_EmptyLayout"; + public readonly string _JobTable = "_JobTable"; + public readonly string _JobTableRender = "_JobTableRender"; + public readonly string _Layout = "_Layout"; + public readonly string _SearchDialog = "_SearchDialog"; + public readonly string Error = "Error"; + } + public readonly string _DialogLayout = "~/Views/Shared/_DialogLayout.cshtml"; + public readonly string _EmptyLayout = "~/Views/Shared/_EmptyLayout.cshtml"; + public readonly string _JobTable = "~/Views/Shared/_JobTable.cshtml"; + public readonly string _JobTableRender = "~/Views/Shared/_JobTableRender.cshtml"; + public readonly string _Layout = "~/Views/Shared/_Layout.cshtml"; + public readonly string _SearchDialog = "~/Views/Shared/_SearchDialog.cshtml"; + public readonly string Error = "~/Views/Shared/Error.cshtml"; + } + } + +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class BootstrapperController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public BootstrapperController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected BootstrapperController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult MacSshUsername() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.MacSshUsername); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult MacSshPassword() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.MacSshPassword); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public BootstrapperController Actions { get { return MVC.API.Bootstrapper; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Bootstrapper"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Bootstrapper"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string MacSshUsername = "MacSshUsername"; + public readonly string MacSshPassword = "MacSshPassword"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string MacSshUsername = "MacSshUsername"; + public const string MacSshPassword = "MacSshPassword"; + } + + + static readonly ActionParamsClass_MacSshUsername s_params_MacSshUsername = new ActionParamsClass_MacSshUsername(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_MacSshUsername MacSshUsernameParams { get { return s_params_MacSshUsername; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_MacSshUsername + { + public readonly string MacSshUsername = "MacSshUsername"; + } + static readonly ActionParamsClass_MacSshPassword s_params_MacSshPassword = new ActionParamsClass_MacSshPassword(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_MacSshPassword MacSshPasswordParams { get { return s_params_MacSshPassword; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_MacSshPassword + { + public readonly string MacSshPassword = "MacSshPassword"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_BootstrapperController : Disco.Web.Areas.API.Controllers.BootstrapperController + { + public T4MVC_BootstrapperController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult MacSshUsername(string MacSshUsername) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.MacSshUsername); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "MacSshUsername", MacSshUsername); + return callInfo; + } + + public override System.Web.Mvc.ActionResult MacSshPassword(string MacSshPassword) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.MacSshPassword); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "MacSshPassword", MacSshPassword); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class DeviceBatchController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceBatchController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected DeviceBatchController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Update() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateName() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateName); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdatePurchaseDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdatePurchaseDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateSupplier() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSupplier); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdatePurchaseDetails() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdatePurchaseDetails); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateUnitCost() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateUnitCost); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateUnitQuantity() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateUnitQuantity); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateDefaultDeviceModelId() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultDeviceModelId); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateWarrantyValidUntil() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyValidUntil); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateWarrantyDetails() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyDetails); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuredDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuredDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceSupplier() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceSupplier); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuredUntil() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuredUntil); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceDetails() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceDetails); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateComments() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateComments); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Delete() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Index() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceBatchController Actions { get { return MVC.API.DeviceBatch; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "DeviceBatch"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "DeviceBatch"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Update = "Update"; + public readonly string UpdateName = "UpdateName"; + public readonly string UpdatePurchaseDate = "UpdatePurchaseDate"; + public readonly string UpdateSupplier = "UpdateSupplier"; + public readonly string UpdatePurchaseDetails = "UpdatePurchaseDetails"; + public readonly string UpdateUnitCost = "UpdateUnitCost"; + public readonly string UpdateUnitQuantity = "UpdateUnitQuantity"; + public readonly string UpdateDefaultDeviceModelId = "UpdateDefaultDeviceModelId"; + public readonly string UpdateWarrantyValidUntil = "UpdateWarrantyValidUntil"; + public readonly string UpdateWarrantyDetails = "UpdateWarrantyDetails"; + public readonly string UpdateInsuredDate = "UpdateInsuredDate"; + public readonly string UpdateInsuranceSupplier = "UpdateInsuranceSupplier"; + public readonly string UpdateInsuredUntil = "UpdateInsuredUntil"; + public readonly string UpdateInsuranceDetails = "UpdateInsuranceDetails"; + public readonly string UpdateComments = "UpdateComments"; + public readonly string Delete = "Delete"; + public readonly string Index = "Index"; + public readonly string Timeline = "Timeline"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Update = "Update"; + public const string UpdateName = "UpdateName"; + public const string UpdatePurchaseDate = "UpdatePurchaseDate"; + public const string UpdateSupplier = "UpdateSupplier"; + public const string UpdatePurchaseDetails = "UpdatePurchaseDetails"; + public const string UpdateUnitCost = "UpdateUnitCost"; + public const string UpdateUnitQuantity = "UpdateUnitQuantity"; + public const string UpdateDefaultDeviceModelId = "UpdateDefaultDeviceModelId"; + public const string UpdateWarrantyValidUntil = "UpdateWarrantyValidUntil"; + public const string UpdateWarrantyDetails = "UpdateWarrantyDetails"; + public const string UpdateInsuredDate = "UpdateInsuredDate"; + public const string UpdateInsuranceSupplier = "UpdateInsuranceSupplier"; + public const string UpdateInsuredUntil = "UpdateInsuredUntil"; + public const string UpdateInsuranceDetails = "UpdateInsuranceDetails"; + public const string UpdateComments = "UpdateComments"; + public const string Delete = "Delete"; + public const string Index = "Index"; + public const string Timeline = "Timeline"; + } + + + static readonly ActionParamsClass_Update s_params_Update = new ActionParamsClass_Update(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Update UpdateParams { get { return s_params_Update; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Update + { + public readonly string id = "id"; + public readonly string key = "key"; + public readonly string value = "value"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateName s_params_UpdateName = new ActionParamsClass_UpdateName(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateName UpdateNameParams { get { return s_params_UpdateName; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateName + { + public readonly string id = "id"; + public readonly string BatchName = "BatchName"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdatePurchaseDate s_params_UpdatePurchaseDate = new ActionParamsClass_UpdatePurchaseDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdatePurchaseDate UpdatePurchaseDateParams { get { return s_params_UpdatePurchaseDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdatePurchaseDate + { + public readonly string id = "id"; + public readonly string PurchaseDate = "PurchaseDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateSupplier s_params_UpdateSupplier = new ActionParamsClass_UpdateSupplier(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateSupplier UpdateSupplierParams { get { return s_params_UpdateSupplier; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateSupplier + { + public readonly string id = "id"; + public readonly string Supplier = "Supplier"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdatePurchaseDetails s_params_UpdatePurchaseDetails = new ActionParamsClass_UpdatePurchaseDetails(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdatePurchaseDetails UpdatePurchaseDetailsParams { get { return s_params_UpdatePurchaseDetails; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdatePurchaseDetails + { + public readonly string id = "id"; + public readonly string PurchaseDetails = "PurchaseDetails"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateUnitCost s_params_UpdateUnitCost = new ActionParamsClass_UpdateUnitCost(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateUnitCost UpdateUnitCostParams { get { return s_params_UpdateUnitCost; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateUnitCost + { + public readonly string id = "id"; + public readonly string UnitCost = "UnitCost"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateUnitQuantity s_params_UpdateUnitQuantity = new ActionParamsClass_UpdateUnitQuantity(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateUnitQuantity UpdateUnitQuantityParams { get { return s_params_UpdateUnitQuantity; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateUnitQuantity + { + public readonly string id = "id"; + public readonly string UnitQuantity = "UnitQuantity"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateDefaultDeviceModelId s_params_UpdateDefaultDeviceModelId = new ActionParamsClass_UpdateDefaultDeviceModelId(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateDefaultDeviceModelId UpdateDefaultDeviceModelIdParams { get { return s_params_UpdateDefaultDeviceModelId; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateDefaultDeviceModelId + { + public readonly string id = "id"; + public readonly string DefaultDeviceModelId = "DefaultDeviceModelId"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateWarrantyValidUntil s_params_UpdateWarrantyValidUntil = new ActionParamsClass_UpdateWarrantyValidUntil(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateWarrantyValidUntil UpdateWarrantyValidUntilParams { get { return s_params_UpdateWarrantyValidUntil; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateWarrantyValidUntil + { + public readonly string id = "id"; + public readonly string WarrantyValidUntil = "WarrantyValidUntil"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateWarrantyDetails s_params_UpdateWarrantyDetails = new ActionParamsClass_UpdateWarrantyDetails(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateWarrantyDetails UpdateWarrantyDetailsParams { get { return s_params_UpdateWarrantyDetails; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateWarrantyDetails + { + public readonly string id = "id"; + public readonly string WarrantyDetails = "WarrantyDetails"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuredDate s_params_UpdateInsuredDate = new ActionParamsClass_UpdateInsuredDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuredDate UpdateInsuredDateParams { get { return s_params_UpdateInsuredDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuredDate + { + public readonly string id = "id"; + public readonly string InsuredDate = "InsuredDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceSupplier s_params_UpdateInsuranceSupplier = new ActionParamsClass_UpdateInsuranceSupplier(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceSupplier UpdateInsuranceSupplierParams { get { return s_params_UpdateInsuranceSupplier; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceSupplier + { + public readonly string id = "id"; + public readonly string InsuranceSupplier = "InsuranceSupplier"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuredUntil s_params_UpdateInsuredUntil = new ActionParamsClass_UpdateInsuredUntil(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuredUntil UpdateInsuredUntilParams { get { return s_params_UpdateInsuredUntil; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuredUntil + { + public readonly string id = "id"; + public readonly string InsuredUntil = "InsuredUntil"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceDetails s_params_UpdateInsuranceDetails = new ActionParamsClass_UpdateInsuranceDetails(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceDetails UpdateInsuranceDetailsParams { get { return s_params_UpdateInsuranceDetails; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceDetails + { + public readonly string id = "id"; + public readonly string InsuranceDetails = "InsuranceDetails"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateComments s_params_UpdateComments = new ActionParamsClass_UpdateComments(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateComments UpdateCommentsParams { get { return s_params_UpdateComments; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateComments + { + public readonly string id = "id"; + public readonly string Comments = "Comments"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Delete s_params_Delete = new ActionParamsClass_Delete(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Delete DeleteParams { get { return s_params_Delete; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Delete + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Index + { + public readonly string id = "id"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_DeviceBatchController : Disco.Web.Areas.API.Controllers.DeviceBatchController + { + public T4MVC_DeviceBatchController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Update(int id, string key, string value, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "key", key); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "value", value); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateName(int id, string BatchName, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "BatchName", BatchName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdatePurchaseDate(int id, string PurchaseDate, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdatePurchaseDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PurchaseDate", PurchaseDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateSupplier(int id, string Supplier, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSupplier); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Supplier", Supplier); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdatePurchaseDetails(int id, string PurchaseDetails, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdatePurchaseDetails); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PurchaseDetails", PurchaseDetails); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateUnitCost(int id, string UnitCost, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateUnitCost); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "UnitCost", UnitCost); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateUnitQuantity(int id, string UnitQuantity, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateUnitQuantity); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "UnitQuantity", UnitQuantity); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateDefaultDeviceModelId(int id, string DefaultDeviceModelId, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultDeviceModelId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DefaultDeviceModelId", DefaultDeviceModelId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateWarrantyValidUntil(int id, string WarrantyValidUntil, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyValidUntil); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "WarrantyValidUntil", WarrantyValidUntil); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateWarrantyDetails(int id, string WarrantyDetails, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyDetails); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "WarrantyDetails", WarrantyDetails); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuredDate(int id, string InsuredDate, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuredDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "InsuredDate", InsuredDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceSupplier(int id, string InsuranceSupplier, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceSupplier); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "InsuranceSupplier", InsuranceSupplier); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuredUntil(int id, string InsuredUntil, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuredUntil); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "InsuredUntil", InsuredUntil); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceDetails(int id, string InsuranceDetails, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceDetails); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "InsuranceDetails", InsuranceDetails); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateComments(int id, string Comments, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateComments); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Comments", Comments); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Delete(int id, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Index(int? id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Timeline() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Timeline); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class DeviceCertificateController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceCertificateController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected DeviceCertificateController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Download() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Download); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceCertificateController Actions { get { return MVC.API.DeviceCertificate; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "DeviceCertificate"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "DeviceCertificate"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Download = "Download"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Download = "Download"; + } + + + static readonly ActionParamsClass_Download s_params_Download = new ActionParamsClass_Download(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Download DownloadParams { get { return s_params_Download; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Download + { + public readonly string id = "id"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_DeviceCertificateController : Disco.Web.Areas.API.Controllers.DeviceCertificateController + { + public T4MVC_DeviceCertificateController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Download(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Download); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class DeviceController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected DeviceController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Update() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateDeviceProfileId() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDeviceProfileId); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateDeviceBatchId() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDeviceBatchId); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateAssetNumber() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAssetNumber); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateLocation() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateLocation); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateAssignedUserId() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAssignedUserId); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateAllowUnauthenticatedEnrol() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAllowUnauthenticatedEnrol); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Decommission() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Decommission); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Recommission() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Recommission); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Delete() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult GeneratePdf() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdf); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult LastNetworkLogonDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LastNetworkLogonDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult AttachmentDownload() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentDownload); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult AttachmentThumbnail() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentThumbnail); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult AttachmentUpload() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Attachment() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachment); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Attachments() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult AttachmentRemove() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentRemove); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceController Actions { get { return MVC.API.Device; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Device"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Device"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Update = "Update"; + public readonly string UpdateDeviceProfileId = "UpdateDeviceProfileId"; + public readonly string UpdateDeviceBatchId = "UpdateDeviceBatchId"; + public readonly string UpdateAssetNumber = "UpdateAssetNumber"; + public readonly string UpdateLocation = "UpdateLocation"; + public readonly string UpdateAssignedUserId = "UpdateAssignedUserId"; + public readonly string UpdateAllowUnauthenticatedEnrol = "UpdateAllowUnauthenticatedEnrol"; + public readonly string Decommission = "Decommission"; + public readonly string Recommission = "Recommission"; + public readonly string Delete = "Delete"; + public readonly string GeneratePdf = "GeneratePdf"; + public readonly string LastNetworkLogonDate = "LastNetworkLogonDate"; + public readonly string AttachmentDownload = "AttachmentDownload"; + public readonly string AttachmentThumbnail = "AttachmentThumbnail"; + public readonly string AttachmentUpload = "AttachmentUpload"; + public readonly string Attachment = "Attachment"; + public readonly string Attachments = "Attachments"; + public readonly string AttachmentRemove = "AttachmentRemove"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Update = "Update"; + public const string UpdateDeviceProfileId = "UpdateDeviceProfileId"; + public const string UpdateDeviceBatchId = "UpdateDeviceBatchId"; + public const string UpdateAssetNumber = "UpdateAssetNumber"; + public const string UpdateLocation = "UpdateLocation"; + public const string UpdateAssignedUserId = "UpdateAssignedUserId"; + public const string UpdateAllowUnauthenticatedEnrol = "UpdateAllowUnauthenticatedEnrol"; + public const string Decommission = "Decommission"; + public const string Recommission = "Recommission"; + public const string Delete = "Delete"; + public const string GeneratePdf = "GeneratePdf"; + public const string LastNetworkLogonDate = "LastNetworkLogonDate"; + public const string AttachmentDownload = "AttachmentDownload"; + public const string AttachmentThumbnail = "AttachmentThumbnail"; + public const string AttachmentUpload = "AttachmentUpload"; + public const string Attachment = "Attachment"; + public const string Attachments = "Attachments"; + public const string AttachmentRemove = "AttachmentRemove"; + } + + + static readonly ActionParamsClass_Update s_params_Update = new ActionParamsClass_Update(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Update UpdateParams { get { return s_params_Update; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Update + { + public readonly string id = "id"; + public readonly string key = "key"; + public readonly string value = "value"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateDeviceProfileId s_params_UpdateDeviceProfileId = new ActionParamsClass_UpdateDeviceProfileId(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateDeviceProfileId UpdateDeviceProfileIdParams { get { return s_params_UpdateDeviceProfileId; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateDeviceProfileId + { + public readonly string id = "id"; + public readonly string DeviceProfileId = "DeviceProfileId"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateDeviceBatchId s_params_UpdateDeviceBatchId = new ActionParamsClass_UpdateDeviceBatchId(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateDeviceBatchId UpdateDeviceBatchIdParams { get { return s_params_UpdateDeviceBatchId; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateDeviceBatchId + { + public readonly string id = "id"; + public readonly string DeviceBatchId = "DeviceBatchId"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateAssetNumber s_params_UpdateAssetNumber = new ActionParamsClass_UpdateAssetNumber(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateAssetNumber UpdateAssetNumberParams { get { return s_params_UpdateAssetNumber; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateAssetNumber + { + public readonly string id = "id"; + public readonly string AssetNumber = "AssetNumber"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateLocation s_params_UpdateLocation = new ActionParamsClass_UpdateLocation(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateLocation UpdateLocationParams { get { return s_params_UpdateLocation; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateLocation + { + public readonly string id = "id"; + public readonly string Location = "Location"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateAssignedUserId s_params_UpdateAssignedUserId = new ActionParamsClass_UpdateAssignedUserId(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateAssignedUserId UpdateAssignedUserIdParams { get { return s_params_UpdateAssignedUserId; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateAssignedUserId + { + public readonly string id = "id"; + public readonly string AssignedUserId = "AssignedUserId"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateAllowUnauthenticatedEnrol s_params_UpdateAllowUnauthenticatedEnrol = new ActionParamsClass_UpdateAllowUnauthenticatedEnrol(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateAllowUnauthenticatedEnrol UpdateAllowUnauthenticatedEnrolParams { get { return s_params_UpdateAllowUnauthenticatedEnrol; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateAllowUnauthenticatedEnrol + { + public readonly string id = "id"; + public readonly string AllowUnauthenticatedEnrol = "AllowUnauthenticatedEnrol"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Decommission s_params_Decommission = new ActionParamsClass_Decommission(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Decommission DecommissionParams { get { return s_params_Decommission; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Decommission + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Recommission s_params_Recommission = new ActionParamsClass_Recommission(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Recommission RecommissionParams { get { return s_params_Recommission; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Recommission + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Delete s_params_Delete = new ActionParamsClass_Delete(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Delete DeleteParams { get { return s_params_Delete; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Delete + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_GeneratePdf s_params_GeneratePdf = new ActionParamsClass_GeneratePdf(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_GeneratePdf GeneratePdfParams { get { return s_params_GeneratePdf; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_GeneratePdf + { + public readonly string id = "id"; + public readonly string DocumentTemplateId = "DocumentTemplateId"; + } + static readonly ActionParamsClass_LastNetworkLogonDate s_params_LastNetworkLogonDate = new ActionParamsClass_LastNetworkLogonDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_LastNetworkLogonDate LastNetworkLogonDateParams { get { return s_params_LastNetworkLogonDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_LastNetworkLogonDate + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_AttachmentDownload s_params_AttachmentDownload = new ActionParamsClass_AttachmentDownload(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AttachmentDownload AttachmentDownloadParams { get { return s_params_AttachmentDownload; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AttachmentDownload + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_AttachmentThumbnail s_params_AttachmentThumbnail = new ActionParamsClass_AttachmentThumbnail(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AttachmentThumbnail AttachmentThumbnailParams { get { return s_params_AttachmentThumbnail; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AttachmentThumbnail + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_AttachmentUpload s_params_AttachmentUpload = new ActionParamsClass_AttachmentUpload(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AttachmentUpload AttachmentUploadParams { get { return s_params_AttachmentUpload; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AttachmentUpload + { + public readonly string id = "id"; + public readonly string Comments = "Comments"; + } + static readonly ActionParamsClass_Attachment s_params_Attachment = new ActionParamsClass_Attachment(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Attachment AttachmentParams { get { return s_params_Attachment; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Attachment + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_Attachments s_params_Attachments = new ActionParamsClass_Attachments(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Attachments AttachmentsParams { get { return s_params_Attachments; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Attachments + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_AttachmentRemove s_params_AttachmentRemove = new ActionParamsClass_AttachmentRemove(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AttachmentRemove AttachmentRemoveParams { get { return s_params_AttachmentRemove; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AttachmentRemove + { + public readonly string id = "id"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_DeviceController : Disco.Web.Areas.API.Controllers.DeviceController + { + public T4MVC_DeviceController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Update(string id, string key, string value, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "key", key); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "value", value); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateDeviceProfileId(string id, string DeviceProfileId, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDeviceProfileId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DeviceProfileId", DeviceProfileId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateDeviceBatchId(string id, string DeviceBatchId, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDeviceBatchId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DeviceBatchId", DeviceBatchId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateAssetNumber(string id, string AssetNumber, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAssetNumber); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AssetNumber", AssetNumber); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateLocation(string id, string Location, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateLocation); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Location", Location); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateAssignedUserId(string id, string AssignedUserId, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAssignedUserId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AssignedUserId", AssignedUserId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateAllowUnauthenticatedEnrol(string id, string AllowUnauthenticatedEnrol, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAllowUnauthenticatedEnrol); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AllowUnauthenticatedEnrol", AllowUnauthenticatedEnrol); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Decommission(string id, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Decommission); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Recommission(string id, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Recommission); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Delete(string id, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult GeneratePdf(string id, string DocumentTemplateId) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdf); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DocumentTemplateId", DocumentTemplateId); + return callInfo; + } + + public override System.Web.Mvc.ActionResult LastNetworkLogonDate(string id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LastNetworkLogonDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AttachmentDownload(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentDownload); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AttachmentThumbnail(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentThumbnail); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AttachmentUpload(string id, string Comments) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Comments", Comments); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Attachment(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachment); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Attachments(string id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AttachmentRemove(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentRemove); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class DeviceModelController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceModelController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected DeviceModelController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Update() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateDescription() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDescription); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateDefaultPurchaseDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultPurchaseDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateDefaultWarrantyProvider() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultWarrantyProvider); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Image() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Image); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Delete() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Component() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Component); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ComponentAdd() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentAdd); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ComponentUpdateJobSubTypes() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentUpdateJobSubTypes); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ComponentUpdate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentUpdate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ComponentRemove() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentRemove); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceModelController Actions { get { return MVC.API.DeviceModel; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "DeviceModel"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "DeviceModel"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Update = "Update"; + public readonly string UpdateDescription = "UpdateDescription"; + public readonly string UpdateDefaultPurchaseDate = "UpdateDefaultPurchaseDate"; + public readonly string UpdateDefaultWarrantyProvider = "UpdateDefaultWarrantyProvider"; + public readonly string Image = "Image"; + public readonly string Delete = "Delete"; + public readonly string Component = "Component"; + public readonly string ComponentAdd = "ComponentAdd"; + public readonly string ComponentUpdateJobSubTypes = "ComponentUpdateJobSubTypes"; + public readonly string ComponentUpdate = "ComponentUpdate"; + public readonly string ComponentRemove = "ComponentRemove"; + public readonly string Index = "Index"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Update = "Update"; + public const string UpdateDescription = "UpdateDescription"; + public const string UpdateDefaultPurchaseDate = "UpdateDefaultPurchaseDate"; + public const string UpdateDefaultWarrantyProvider = "UpdateDefaultWarrantyProvider"; + public const string Image = "Image"; + public const string Delete = "Delete"; + public const string Component = "Component"; + public const string ComponentAdd = "ComponentAdd"; + public const string ComponentUpdateJobSubTypes = "ComponentUpdateJobSubTypes"; + public const string ComponentUpdate = "ComponentUpdate"; + public const string ComponentRemove = "ComponentRemove"; + public const string Index = "Index"; + } + + + static readonly ActionParamsClass_Update s_params_Update = new ActionParamsClass_Update(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Update UpdateParams { get { return s_params_Update; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Update + { + public readonly string id = "id"; + public readonly string key = "key"; + public readonly string value = "value"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateDescription s_params_UpdateDescription = new ActionParamsClass_UpdateDescription(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateDescription UpdateDescriptionParams { get { return s_params_UpdateDescription; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateDescription + { + public readonly string id = "id"; + public readonly string Description = "Description"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateDefaultPurchaseDate s_params_UpdateDefaultPurchaseDate = new ActionParamsClass_UpdateDefaultPurchaseDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateDefaultPurchaseDate UpdateDefaultPurchaseDateParams { get { return s_params_UpdateDefaultPurchaseDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateDefaultPurchaseDate + { + public readonly string id = "id"; + public readonly string DefaultPurchaseDate = "DefaultPurchaseDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateDefaultWarrantyProvider s_params_UpdateDefaultWarrantyProvider = new ActionParamsClass_UpdateDefaultWarrantyProvider(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateDefaultWarrantyProvider UpdateDefaultWarrantyProviderParams { get { return s_params_UpdateDefaultWarrantyProvider; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateDefaultWarrantyProvider + { + public readonly string id = "id"; + public readonly string DefaultWarrantyProvider = "DefaultWarrantyProvider"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Image s_params_Image = new ActionParamsClass_Image(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Image ImageParams { get { return s_params_Image; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Image + { + public readonly string id = "id"; + public readonly string v = "v"; + public readonly string redirect = "redirect"; + public readonly string Image = "Image"; + } + static readonly ActionParamsClass_Delete s_params_Delete = new ActionParamsClass_Delete(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Delete DeleteParams { get { return s_params_Delete; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Delete + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Component s_params_Component = new ActionParamsClass_Component(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Component ComponentParams { get { return s_params_Component; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Component + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_ComponentAdd s_params_ComponentAdd = new ActionParamsClass_ComponentAdd(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ComponentAdd ComponentAddParams { get { return s_params_ComponentAdd; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ComponentAdd + { + public readonly string id = "id"; + public readonly string Description = "Description"; + public readonly string Cost = "Cost"; + } + static readonly ActionParamsClass_ComponentUpdateJobSubTypes s_params_ComponentUpdateJobSubTypes = new ActionParamsClass_ComponentUpdateJobSubTypes(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ComponentUpdateJobSubTypes ComponentUpdateJobSubTypesParams { get { return s_params_ComponentUpdateJobSubTypes; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ComponentUpdateJobSubTypes + { + public readonly string id = "id"; + public readonly string JobSubTypes = "JobSubTypes"; + } + static readonly ActionParamsClass_ComponentUpdate s_params_ComponentUpdate = new ActionParamsClass_ComponentUpdate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ComponentUpdate ComponentUpdateParams { get { return s_params_ComponentUpdate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ComponentUpdate + { + public readonly string id = "id"; + public readonly string Description = "Description"; + public readonly string Cost = "Cost"; + } + static readonly ActionParamsClass_ComponentRemove s_params_ComponentRemove = new ActionParamsClass_ComponentRemove(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ComponentRemove ComponentRemoveParams { get { return s_params_ComponentRemove; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ComponentRemove + { + public readonly string id = "id"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_DeviceModelController : Disco.Web.Areas.API.Controllers.DeviceModelController + { + public T4MVC_DeviceModelController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Update(int id, string key, string value, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "key", key); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "value", value); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateDescription(int id, string Description, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDescription); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateDefaultPurchaseDate(int id, string DefaultPurchaseDate, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultPurchaseDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DefaultPurchaseDate", DefaultPurchaseDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateDefaultWarrantyProvider(int id, string DefaultWarrantyProvider, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultWarrantyProvider); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DefaultWarrantyProvider", DefaultWarrantyProvider); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Image(int? id, string v) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Image); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "v", v); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Image(int id, bool redirect, System.Web.HttpPostedFileBase Image) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Image); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Image", Image); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Delete(int id, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Component(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Component); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ComponentAdd(int? id, string Description, string Cost) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentAdd); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Cost", Cost); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ComponentUpdateJobSubTypes(int id, System.Collections.Generic.List JobSubTypes) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentUpdateJobSubTypes); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "JobSubTypes", JobSubTypes); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ComponentUpdate(int id, string Description, string Cost) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentUpdate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Cost", Cost); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ComponentRemove(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentRemove); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class DeviceProfileController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceProfileController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected DeviceProfileController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Update() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateDescription() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDescription); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateName() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateName); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateShortName() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateShortName); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateDistributionType() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDistributionType); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateCertificateProviderId() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateCertificateProviderId); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateOrganisationalUnit() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateOrganisationalUnit); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateDefaultOrganisationAddress() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultOrganisationAddress); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateComputerNameTemplate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateComputerNameTemplate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateEnforceComputerNameConvention() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateEnforceComputerNameConvention); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateEnforceOrganisationalUnit() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateEnforceOrganisationalUnit); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateProvisionADAccount() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateProvisionADAccount); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Delete() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Default() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Default); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult DefaultAddDeviceOffline() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DefaultAddDeviceOffline); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceProfileController Actions { get { return MVC.API.DeviceProfile; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "DeviceProfile"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "DeviceProfile"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Update = "Update"; + public readonly string UpdateDescription = "UpdateDescription"; + public readonly string UpdateName = "UpdateName"; + public readonly string UpdateShortName = "UpdateShortName"; + public readonly string UpdateDistributionType = "UpdateDistributionType"; + public readonly string UpdateCertificateProviderId = "UpdateCertificateProviderId"; + public readonly string UpdateOrganisationalUnit = "UpdateOrganisationalUnit"; + public readonly string UpdateDefaultOrganisationAddress = "UpdateDefaultOrganisationAddress"; + public readonly string UpdateComputerNameTemplate = "UpdateComputerNameTemplate"; + public readonly string UpdateEnforceComputerNameConvention = "UpdateEnforceComputerNameConvention"; + public readonly string UpdateEnforceOrganisationalUnit = "UpdateEnforceOrganisationalUnit"; + public readonly string UpdateProvisionADAccount = "UpdateProvisionADAccount"; + public readonly string OrganisationalUnits = "OrganisationalUnits"; + public readonly string Delete = "Delete"; + public readonly string Default = "Default"; + public readonly string DefaultAddDeviceOffline = "DefaultAddDeviceOffline"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Update = "Update"; + public const string UpdateDescription = "UpdateDescription"; + public const string UpdateName = "UpdateName"; + public const string UpdateShortName = "UpdateShortName"; + public const string UpdateDistributionType = "UpdateDistributionType"; + public const string UpdateCertificateProviderId = "UpdateCertificateProviderId"; + public const string UpdateOrganisationalUnit = "UpdateOrganisationalUnit"; + public const string UpdateDefaultOrganisationAddress = "UpdateDefaultOrganisationAddress"; + public const string UpdateComputerNameTemplate = "UpdateComputerNameTemplate"; + public const string UpdateEnforceComputerNameConvention = "UpdateEnforceComputerNameConvention"; + public const string UpdateEnforceOrganisationalUnit = "UpdateEnforceOrganisationalUnit"; + public const string UpdateProvisionADAccount = "UpdateProvisionADAccount"; + public const string OrganisationalUnits = "OrganisationalUnits"; + public const string Delete = "Delete"; + public const string Default = "Default"; + public const string DefaultAddDeviceOffline = "DefaultAddDeviceOffline"; + } + + + static readonly ActionParamsClass_Update s_params_Update = new ActionParamsClass_Update(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Update UpdateParams { get { return s_params_Update; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Update + { + public readonly string id = "id"; + public readonly string key = "key"; + public readonly string value = "value"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateDescription s_params_UpdateDescription = new ActionParamsClass_UpdateDescription(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateDescription UpdateDescriptionParams { get { return s_params_UpdateDescription; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateDescription + { + public readonly string id = "id"; + public readonly string Description = "Description"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateName s_params_UpdateName = new ActionParamsClass_UpdateName(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateName UpdateNameParams { get { return s_params_UpdateName; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateName + { + public readonly string id = "id"; + public readonly string ProfileName = "ProfileName"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateShortName s_params_UpdateShortName = new ActionParamsClass_UpdateShortName(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateShortName UpdateShortNameParams { get { return s_params_UpdateShortName; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateShortName + { + public readonly string id = "id"; + public readonly string ShortName = "ShortName"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateDistributionType s_params_UpdateDistributionType = new ActionParamsClass_UpdateDistributionType(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateDistributionType UpdateDistributionTypeParams { get { return s_params_UpdateDistributionType; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateDistributionType + { + public readonly string id = "id"; + public readonly string DistributionType = "DistributionType"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateCertificateProviderId s_params_UpdateCertificateProviderId = new ActionParamsClass_UpdateCertificateProviderId(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateCertificateProviderId UpdateCertificateProviderIdParams { get { return s_params_UpdateCertificateProviderId; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateCertificateProviderId + { + public readonly string id = "id"; + public readonly string CertificateProviderId = "CertificateProviderId"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateOrganisationalUnit s_params_UpdateOrganisationalUnit = new ActionParamsClass_UpdateOrganisationalUnit(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateOrganisationalUnit UpdateOrganisationalUnitParams { get { return s_params_UpdateOrganisationalUnit; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateOrganisationalUnit + { + public readonly string id = "id"; + public readonly string OrganisationalUnit = "OrganisationalUnit"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateDefaultOrganisationAddress s_params_UpdateDefaultOrganisationAddress = new ActionParamsClass_UpdateDefaultOrganisationAddress(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateDefaultOrganisationAddress UpdateDefaultOrganisationAddressParams { get { return s_params_UpdateDefaultOrganisationAddress; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateDefaultOrganisationAddress + { + public readonly string id = "id"; + public readonly string DefaultOrganisationAddress = "DefaultOrganisationAddress"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateComputerNameTemplate s_params_UpdateComputerNameTemplate = new ActionParamsClass_UpdateComputerNameTemplate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateComputerNameTemplate UpdateComputerNameTemplateParams { get { return s_params_UpdateComputerNameTemplate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateComputerNameTemplate + { + public readonly string id = "id"; + public readonly string ComputerNameTemplate = "ComputerNameTemplate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateEnforceComputerNameConvention s_params_UpdateEnforceComputerNameConvention = new ActionParamsClass_UpdateEnforceComputerNameConvention(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateEnforceComputerNameConvention UpdateEnforceComputerNameConventionParams { get { return s_params_UpdateEnforceComputerNameConvention; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateEnforceComputerNameConvention + { + public readonly string id = "id"; + public readonly string EnforceComputerNameConvention = "EnforceComputerNameConvention"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateEnforceOrganisationalUnit s_params_UpdateEnforceOrganisationalUnit = new ActionParamsClass_UpdateEnforceOrganisationalUnit(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateEnforceOrganisationalUnit UpdateEnforceOrganisationalUnitParams { get { return s_params_UpdateEnforceOrganisationalUnit; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateEnforceOrganisationalUnit + { + public readonly string id = "id"; + public readonly string EnforceOrganisationalUnit = "EnforceOrganisationalUnit"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateProvisionADAccount s_params_UpdateProvisionADAccount = new ActionParamsClass_UpdateProvisionADAccount(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateProvisionADAccount UpdateProvisionADAccountParams { get { return s_params_UpdateProvisionADAccount; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateProvisionADAccount + { + public readonly string id = "id"; + public readonly string ProvisionADAccount = "ProvisionADAccount"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Delete s_params_Delete = new ActionParamsClass_Delete(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Delete DeleteParams { get { return s_params_Delete; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Delete + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Default s_params_Default = new ActionParamsClass_Default(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Default DefaultParams { get { return s_params_Default; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Default + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_DefaultAddDeviceOffline s_params_DefaultAddDeviceOffline = new ActionParamsClass_DefaultAddDeviceOffline(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_DefaultAddDeviceOffline DefaultAddDeviceOfflineParams { get { return s_params_DefaultAddDeviceOffline; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_DefaultAddDeviceOffline + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_DeviceProfileController : Disco.Web.Areas.API.Controllers.DeviceProfileController + { + public T4MVC_DeviceProfileController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Update(int id, string key, string value, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "key", key); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "value", value); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateDescription(int id, string Description, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDescription); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateName(int id, string ProfileName, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ProfileName", ProfileName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateShortName(int id, string ShortName, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateShortName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ShortName", ShortName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateDistributionType(int id, string DistributionType, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDistributionType); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DistributionType", DistributionType); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateCertificateProviderId(int id, string CertificateProviderId, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateCertificateProviderId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "CertificateProviderId", CertificateProviderId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateOrganisationalUnit(int id, string OrganisationalUnit, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateOrganisationalUnit); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "OrganisationalUnit", OrganisationalUnit); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateDefaultOrganisationAddress(int id, string DefaultOrganisationAddress, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDefaultOrganisationAddress); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DefaultOrganisationAddress", DefaultOrganisationAddress); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateComputerNameTemplate(int id, string ComputerNameTemplate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateComputerNameTemplate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ComputerNameTemplate", ComputerNameTemplate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateEnforceComputerNameConvention(int id, string EnforceComputerNameConvention, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateEnforceComputerNameConvention); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "EnforceComputerNameConvention", EnforceComputerNameConvention); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateEnforceOrganisationalUnit(int id, string EnforceOrganisationalUnit, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateEnforceOrganisationalUnit); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "EnforceOrganisationalUnit", EnforceOrganisationalUnit); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateProvisionADAccount(int id, string ProvisionADAccount, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateProvisionADAccount); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ProvisionADAccount", ProvisionADAccount); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult OrganisationalUnits() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.OrganisationalUnits); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Delete(int id, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Default(int id, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Default); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult DefaultAddDeviceOffline(int id, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DefaultAddDeviceOffline); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class DocumentTemplateController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DocumentTemplateController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected DocumentTemplateController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Update() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Template() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Template); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateDescription() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDescription); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateFilterExpression() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFilterExpression); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateFlattenForm() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFlattenForm); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateScope() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateScope); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateSubTypes() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSubTypes); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ImporterThumbnail() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterThumbnail); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ImporterUndetectedDataIdLookup() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedDataIdLookup); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ImporterUndetectedFile() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedFile); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ImporterUndetectedAssign() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedAssign); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ImporterUndetectedDelete() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedDelete); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult BulkGenerate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Delete() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DocumentTemplateController Actions { get { return MVC.API.DocumentTemplate; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "DocumentTemplate"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "DocumentTemplate"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Update = "Update"; + public readonly string Template = "Template"; + public readonly string UpdateDescription = "UpdateDescription"; + public readonly string UpdateFilterExpression = "UpdateFilterExpression"; + public readonly string UpdateFlattenForm = "UpdateFlattenForm"; + public readonly string UpdateScope = "UpdateScope"; + public readonly string UpdateSubTypes = "UpdateSubTypes"; + public readonly string ImporterThumbnail = "ImporterThumbnail"; + public readonly string ImporterUndetectedFiles = "ImporterUndetectedFiles"; + public readonly string ImporterUndetectedDataIdLookup = "ImporterUndetectedDataIdLookup"; + public readonly string ImporterUndetectedFile = "ImporterUndetectedFile"; + public readonly string ImporterUndetectedAssign = "ImporterUndetectedAssign"; + public readonly string ImporterUndetectedDelete = "ImporterUndetectedDelete"; + public readonly string BulkGenerate = "BulkGenerate"; + public readonly string Delete = "Delete"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Update = "Update"; + public const string Template = "Template"; + public const string UpdateDescription = "UpdateDescription"; + public const string UpdateFilterExpression = "UpdateFilterExpression"; + public const string UpdateFlattenForm = "UpdateFlattenForm"; + public const string UpdateScope = "UpdateScope"; + public const string UpdateSubTypes = "UpdateSubTypes"; + public const string ImporterThumbnail = "ImporterThumbnail"; + public const string ImporterUndetectedFiles = "ImporterUndetectedFiles"; + public const string ImporterUndetectedDataIdLookup = "ImporterUndetectedDataIdLookup"; + public const string ImporterUndetectedFile = "ImporterUndetectedFile"; + public const string ImporterUndetectedAssign = "ImporterUndetectedAssign"; + public const string ImporterUndetectedDelete = "ImporterUndetectedDelete"; + public const string BulkGenerate = "BulkGenerate"; + public const string Delete = "Delete"; + } + + + static readonly ActionParamsClass_Update s_params_Update = new ActionParamsClass_Update(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Update UpdateParams { get { return s_params_Update; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Update + { + public readonly string id = "id"; + public readonly string key = "key"; + public readonly string value = "value"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Template s_params_Template = new ActionParamsClass_Template(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Template TemplateParams { get { return s_params_Template; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Template + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + public readonly string Template = "Template"; + } + static readonly ActionParamsClass_UpdateDescription s_params_UpdateDescription = new ActionParamsClass_UpdateDescription(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateDescription UpdateDescriptionParams { get { return s_params_UpdateDescription; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateDescription + { + public readonly string id = "id"; + public readonly string Description = "Description"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateFilterExpression s_params_UpdateFilterExpression = new ActionParamsClass_UpdateFilterExpression(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateFilterExpression UpdateFilterExpressionParams { get { return s_params_UpdateFilterExpression; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateFilterExpression + { + public readonly string id = "id"; + public readonly string FilterExpression = "FilterExpression"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateFlattenForm s_params_UpdateFlattenForm = new ActionParamsClass_UpdateFlattenForm(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateFlattenForm UpdateFlattenFormParams { get { return s_params_UpdateFlattenForm; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateFlattenForm + { + public readonly string id = "id"; + public readonly string FlattenForm = "FlattenForm"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateScope s_params_UpdateScope = new ActionParamsClass_UpdateScope(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateScope UpdateScopeParams { get { return s_params_UpdateScope; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateScope + { + public readonly string id = "id"; + public readonly string Scope = "Scope"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateSubTypes s_params_UpdateSubTypes = new ActionParamsClass_UpdateSubTypes(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateSubTypes UpdateSubTypesParams { get { return s_params_UpdateSubTypes; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateSubTypes + { + public readonly string id = "id"; + public readonly string SubTypes = "SubTypes"; + } + static readonly ActionParamsClass_ImporterThumbnail s_params_ImporterThumbnail = new ActionParamsClass_ImporterThumbnail(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ImporterThumbnail ImporterThumbnailParams { get { return s_params_ImporterThumbnail; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ImporterThumbnail + { + public readonly string SessionId = "SessionId"; + public readonly string PageNumber = "PageNumber"; + } + static readonly ActionParamsClass_ImporterUndetectedDataIdLookup s_params_ImporterUndetectedDataIdLookup = new ActionParamsClass_ImporterUndetectedDataIdLookup(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ImporterUndetectedDataIdLookup ImporterUndetectedDataIdLookupParams { get { return s_params_ImporterUndetectedDataIdLookup; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ImporterUndetectedDataIdLookup + { + public readonly string id = "id"; + public readonly string term = "term"; + public readonly string limitCount = "limitCount"; + } + static readonly ActionParamsClass_ImporterUndetectedFile s_params_ImporterUndetectedFile = new ActionParamsClass_ImporterUndetectedFile(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ImporterUndetectedFile ImporterUndetectedFileParams { get { return s_params_ImporterUndetectedFile; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ImporterUndetectedFile + { + public readonly string id = "id"; + public readonly string Source = "Source"; + public readonly string Thumbnail = "Thumbnail"; + } + static readonly ActionParamsClass_ImporterUndetectedAssign s_params_ImporterUndetectedAssign = new ActionParamsClass_ImporterUndetectedAssign(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ImporterUndetectedAssign ImporterUndetectedAssignParams { get { return s_params_ImporterUndetectedAssign; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ImporterUndetectedAssign + { + public readonly string id = "id"; + public readonly string DocumentTemplateId = "DocumentTemplateId"; + public readonly string DataId = "DataId"; + } + static readonly ActionParamsClass_ImporterUndetectedDelete s_params_ImporterUndetectedDelete = new ActionParamsClass_ImporterUndetectedDelete(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ImporterUndetectedDelete ImporterUndetectedDeleteParams { get { return s_params_ImporterUndetectedDelete; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ImporterUndetectedDelete + { + public readonly string id = "id"; + } + 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"; + public readonly string DataIds = "DataIds"; + } + static readonly ActionParamsClass_Delete s_params_Delete = new ActionParamsClass_Delete(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Delete DeleteParams { get { return s_params_Delete; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Delete + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_DocumentTemplateController : Disco.Web.Areas.API.Controllers.DocumentTemplateController + { + public T4MVC_DocumentTemplateController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Update(string id, string key, string value, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "key", key); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "value", value); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Template(string id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Template); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Template(string id, bool redirect, System.Web.HttpPostedFileBase Template) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Template); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Template", Template); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateDescription(string id, string Description, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDescription); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateFilterExpression(string id, string FilterExpression, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFilterExpression); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "FilterExpression", FilterExpression); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateFlattenForm(string id, string FlattenForm, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFlattenForm); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "FlattenForm", FlattenForm); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateScope(string id, string Scope, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateScope); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Scope", Scope); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateSubTypes(string id, System.Collections.Generic.List SubTypes) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSubTypes); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "SubTypes", SubTypes); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ImporterThumbnail(string SessionId, int PageNumber) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterThumbnail); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "SessionId", SessionId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PageNumber", PageNumber); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ImporterUndetectedFiles() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedFiles); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ImporterUndetectedDataIdLookup(string id, string term, int limitCount) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedDataIdLookup); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "limitCount", limitCount); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ImporterUndetectedFile(string id, bool? Source, bool? Thumbnail) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedFile); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Source", Source); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Thumbnail", Thumbnail); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ImporterUndetectedAssign(string id, string DocumentTemplateId, string DataId) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedAssign); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DocumentTemplateId", DocumentTemplateId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DataId", DataId); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ImporterUndetectedDelete(string id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImporterUndetectedDelete); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult BulkGenerate(string id, string DataIds) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.BulkGenerate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DataIds", DataIds); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Delete(string id, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class ExpressionsController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ExpressionsController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected ExpressionsController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ValidateExpression() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ValidateExpression); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ExpressionsController Actions { get { return MVC.API.Expressions; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Expressions"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Expressions"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string ValidateExpression = "ValidateExpression"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string ValidateExpression = "ValidateExpression"; + } + + + static readonly ActionParamsClass_ValidateExpression s_params_ValidateExpression = new ActionParamsClass_ValidateExpression(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ValidateExpression ValidateExpressionParams { get { return s_params_ValidateExpression; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ValidateExpression + { + public readonly string Expression = "Expression"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_ExpressionsController : Disco.Web.Areas.API.Controllers.ExpressionsController + { + public T4MVC_ExpressionsController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult ValidateExpression(string Expression) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ValidateExpression); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Expression", Expression); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class JobController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public JobController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected JobController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Update() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateExpectedClosedDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateExpectedClosedDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateDeviceHeldLocation() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDeviceHeldLocation); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateFlags() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFlags); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateNonWarrantyAccountingChargeRequired() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyAccountingChargeRequired); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateNonWarrantyAccountingChargeAdded() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyAccountingChargeAdded); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateNonWarrantyAccountingChargePaid() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyAccountingChargePaid); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateNonWarrantyPurchaseOrderRaised() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyPurchaseOrderRaised); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateNonWarrantyPurchaseOrderReference() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyPurchaseOrderReference); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateNonWarrantyPurchaseOrderSent() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyPurchaseOrderSent); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateNonWarrantyInvoiceReceived() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyInvoiceReceived); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerName() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerName); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerLoggedDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerLoggedDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerReference() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerReference); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerCompletedDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerCompletedDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateNonWarrantyIsInsuranceClaim() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyIsInsuranceClaim); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceLossOrDamageDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceLossOrDamageDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceEventLocation() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceEventLocation); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceDescription() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceDescription); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceThirdPartyCaused() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceThirdPartyCaused); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceThirdPartyCausedName() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceThirdPartyCausedName); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceThirdPartyCausedWhy() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceThirdPartyCausedWhy); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceWitnessesNamesAddresses() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceWitnessesNamesAddresses); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceBurglaryTheftMethodOfEntry() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceBurglaryTheftMethodOfEntry); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsurancePropertyLastSeenDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePropertyLastSeenDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsurancePoliceNotified() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotified); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsurancePoliceNotifiedStation() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotifiedStation); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsurancePoliceNotifiedDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotifiedDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsurancePoliceNotifiedCrimeReportNo() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotifiedCrimeReportNo); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceRecoverReduceAction() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceRecoverReduceAction); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceOtherInterestedParties() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceOtherInterestedParties); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceDateOfPurchase() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceDateOfPurchase); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceClaimFormSentDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceClaimFormSentDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateInsuranceClaimFormSentUserId() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceClaimFormSentUserId); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateWarrantyExternalName() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalName); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateWarrantyExternalLoggedDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalLoggedDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateWarrantyExternalReference() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalReference); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateWarrantyExternalCompletedDate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalCompletedDate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateSubTypes() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSubTypes); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateFlag() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFlag); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult WaitingForUserAction() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.WaitingForUserAction); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult NotWaitingForUserAction() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.NotWaitingForUserAction); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult LogRepair() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LogRepair); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult DeviceReadyForReturn() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeviceReadyForReturn); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult DeviceHeld() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeviceHeld); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult DeviceReturned() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeviceReturned); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Close() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Close); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Reopen() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Reopen); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Delete() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ConvertHWarToHNWar() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ConvertHWarToHNWar); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Comments() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Comments); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult CommentPost() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.CommentPost); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult CommentRemove() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.CommentRemove); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult AttachmentDownload() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentDownload); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult AttachmentThumbnail() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentThumbnail); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult AttachmentUpload() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Attachment() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachment); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Attachments() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult AttachmentRemove() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentRemove); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ComponentAdd() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentAdd); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ComponentUpdate() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentUpdate); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ComponentRemove() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentRemove); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult GeneratePdf() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdf); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult OrganisationAddress() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.OrganisationAddress); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public JobController Actions { get { return MVC.API.Job; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Job"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Job"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Update = "Update"; + public readonly string UpdateExpectedClosedDate = "UpdateExpectedClosedDate"; + public readonly string UpdateDeviceHeldLocation = "UpdateDeviceHeldLocation"; + public readonly string UpdateFlags = "UpdateFlags"; + public readonly string UpdateNonWarrantyAccountingChargeRequired = "UpdateNonWarrantyAccountingChargeRequired"; + public readonly string UpdateNonWarrantyAccountingChargeAdded = "UpdateNonWarrantyAccountingChargeAdded"; + public readonly string UpdateNonWarrantyAccountingChargePaid = "UpdateNonWarrantyAccountingChargePaid"; + public readonly string UpdateNonWarrantyPurchaseOrderRaised = "UpdateNonWarrantyPurchaseOrderRaised"; + public readonly string UpdateNonWarrantyPurchaseOrderReference = "UpdateNonWarrantyPurchaseOrderReference"; + public readonly string UpdateNonWarrantyPurchaseOrderSent = "UpdateNonWarrantyPurchaseOrderSent"; + public readonly string UpdateNonWarrantyInvoiceReceived = "UpdateNonWarrantyInvoiceReceived"; + public readonly string UpdateNonWarrantyRepairerName = "UpdateNonWarrantyRepairerName"; + public readonly string UpdateNonWarrantyRepairerLoggedDate = "UpdateNonWarrantyRepairerLoggedDate"; + public readonly string UpdateNonWarrantyRepairerReference = "UpdateNonWarrantyRepairerReference"; + public readonly string UpdateNonWarrantyRepairerCompletedDate = "UpdateNonWarrantyRepairerCompletedDate"; + public readonly string UpdateNonWarrantyIsInsuranceClaim = "UpdateNonWarrantyIsInsuranceClaim"; + public readonly string UpdateInsuranceLossOrDamageDate = "UpdateInsuranceLossOrDamageDate"; + public readonly string UpdateInsuranceEventLocation = "UpdateInsuranceEventLocation"; + public readonly string UpdateInsuranceDescription = "UpdateInsuranceDescription"; + public readonly string UpdateInsuranceThirdPartyCaused = "UpdateInsuranceThirdPartyCaused"; + public readonly string UpdateInsuranceThirdPartyCausedName = "UpdateInsuranceThirdPartyCausedName"; + public readonly string UpdateInsuranceThirdPartyCausedWhy = "UpdateInsuranceThirdPartyCausedWhy"; + public readonly string UpdateInsuranceWitnessesNamesAddresses = "UpdateInsuranceWitnessesNamesAddresses"; + public readonly string UpdateInsuranceBurglaryTheftMethodOfEntry = "UpdateInsuranceBurglaryTheftMethodOfEntry"; + public readonly string UpdateInsurancePropertyLastSeenDate = "UpdateInsurancePropertyLastSeenDate"; + public readonly string UpdateInsurancePoliceNotified = "UpdateInsurancePoliceNotified"; + public readonly string UpdateInsurancePoliceNotifiedStation = "UpdateInsurancePoliceNotifiedStation"; + public readonly string UpdateInsurancePoliceNotifiedDate = "UpdateInsurancePoliceNotifiedDate"; + public readonly string UpdateInsurancePoliceNotifiedCrimeReportNo = "UpdateInsurancePoliceNotifiedCrimeReportNo"; + public readonly string UpdateInsuranceRecoverReduceAction = "UpdateInsuranceRecoverReduceAction"; + public readonly string UpdateInsuranceOtherInterestedParties = "UpdateInsuranceOtherInterestedParties"; + public readonly string UpdateInsuranceDateOfPurchase = "UpdateInsuranceDateOfPurchase"; + public readonly string UpdateInsuranceClaimFormSentDate = "UpdateInsuranceClaimFormSentDate"; + public readonly string UpdateInsuranceClaimFormSentUserId = "UpdateInsuranceClaimFormSentUserId"; + public readonly string UpdateWarrantyExternalName = "UpdateWarrantyExternalName"; + public readonly string UpdateWarrantyExternalLoggedDate = "UpdateWarrantyExternalLoggedDate"; + public readonly string UpdateWarrantyExternalReference = "UpdateWarrantyExternalReference"; + public readonly string UpdateWarrantyExternalCompletedDate = "UpdateWarrantyExternalCompletedDate"; + public readonly string UpdateSubTypes = "UpdateSubTypes"; + public readonly string UpdateFlag = "UpdateFlag"; + public readonly string WaitingForUserAction = "WaitingForUserAction"; + public readonly string NotWaitingForUserAction = "NotWaitingForUserAction"; + public readonly string LogRepair = "LogRepair"; + public readonly string DeviceReadyForReturn = "DeviceReadyForReturn"; + public readonly string DeviceHeld = "DeviceHeld"; + public readonly string DeviceReturned = "DeviceReturned"; + public readonly string Close = "Close"; + public readonly string Reopen = "Reopen"; + public readonly string Delete = "Delete"; + public readonly string ConvertHWarToHNWar = "ConvertHWarToHNWar"; + public readonly string Comments = "Comments"; + public readonly string CommentPost = "CommentPost"; + public readonly string CommentRemove = "CommentRemove"; + public readonly string AttachmentDownload = "AttachmentDownload"; + public readonly string AttachmentThumbnail = "AttachmentThumbnail"; + public readonly string AttachmentUpload = "AttachmentUpload"; + public readonly string Attachment = "Attachment"; + public readonly string Attachments = "Attachments"; + public readonly string AttachmentRemove = "AttachmentRemove"; + public readonly string ComponentAdd = "ComponentAdd"; + public readonly string ComponentUpdate = "ComponentUpdate"; + public readonly string ComponentRemove = "ComponentRemove"; + public readonly string StatisticsDailyOpenedClosed = "StatisticsDailyOpenedClosed"; + public readonly string GeneratePdf = "GeneratePdf"; + public readonly string OrganisationAddress = "OrganisationAddress"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Update = "Update"; + public const string UpdateExpectedClosedDate = "UpdateExpectedClosedDate"; + public const string UpdateDeviceHeldLocation = "UpdateDeviceHeldLocation"; + public const string UpdateFlags = "UpdateFlags"; + public const string UpdateNonWarrantyAccountingChargeRequired = "UpdateNonWarrantyAccountingChargeRequired"; + public const string UpdateNonWarrantyAccountingChargeAdded = "UpdateNonWarrantyAccountingChargeAdded"; + public const string UpdateNonWarrantyAccountingChargePaid = "UpdateNonWarrantyAccountingChargePaid"; + public const string UpdateNonWarrantyPurchaseOrderRaised = "UpdateNonWarrantyPurchaseOrderRaised"; + public const string UpdateNonWarrantyPurchaseOrderReference = "UpdateNonWarrantyPurchaseOrderReference"; + public const string UpdateNonWarrantyPurchaseOrderSent = "UpdateNonWarrantyPurchaseOrderSent"; + public const string UpdateNonWarrantyInvoiceReceived = "UpdateNonWarrantyInvoiceReceived"; + public const string UpdateNonWarrantyRepairerName = "UpdateNonWarrantyRepairerName"; + public const string UpdateNonWarrantyRepairerLoggedDate = "UpdateNonWarrantyRepairerLoggedDate"; + public const string UpdateNonWarrantyRepairerReference = "UpdateNonWarrantyRepairerReference"; + public const string UpdateNonWarrantyRepairerCompletedDate = "UpdateNonWarrantyRepairerCompletedDate"; + public const string UpdateNonWarrantyIsInsuranceClaim = "UpdateNonWarrantyIsInsuranceClaim"; + public const string UpdateInsuranceLossOrDamageDate = "UpdateInsuranceLossOrDamageDate"; + public const string UpdateInsuranceEventLocation = "UpdateInsuranceEventLocation"; + public const string UpdateInsuranceDescription = "UpdateInsuranceDescription"; + public const string UpdateInsuranceThirdPartyCaused = "UpdateInsuranceThirdPartyCaused"; + public const string UpdateInsuranceThirdPartyCausedName = "UpdateInsuranceThirdPartyCausedName"; + public const string UpdateInsuranceThirdPartyCausedWhy = "UpdateInsuranceThirdPartyCausedWhy"; + public const string UpdateInsuranceWitnessesNamesAddresses = "UpdateInsuranceWitnessesNamesAddresses"; + public const string UpdateInsuranceBurglaryTheftMethodOfEntry = "UpdateInsuranceBurglaryTheftMethodOfEntry"; + public const string UpdateInsurancePropertyLastSeenDate = "UpdateInsurancePropertyLastSeenDate"; + public const string UpdateInsurancePoliceNotified = "UpdateInsurancePoliceNotified"; + public const string UpdateInsurancePoliceNotifiedStation = "UpdateInsurancePoliceNotifiedStation"; + public const string UpdateInsurancePoliceNotifiedDate = "UpdateInsurancePoliceNotifiedDate"; + public const string UpdateInsurancePoliceNotifiedCrimeReportNo = "UpdateInsurancePoliceNotifiedCrimeReportNo"; + public const string UpdateInsuranceRecoverReduceAction = "UpdateInsuranceRecoverReduceAction"; + public const string UpdateInsuranceOtherInterestedParties = "UpdateInsuranceOtherInterestedParties"; + public const string UpdateInsuranceDateOfPurchase = "UpdateInsuranceDateOfPurchase"; + public const string UpdateInsuranceClaimFormSentDate = "UpdateInsuranceClaimFormSentDate"; + public const string UpdateInsuranceClaimFormSentUserId = "UpdateInsuranceClaimFormSentUserId"; + public const string UpdateWarrantyExternalName = "UpdateWarrantyExternalName"; + public const string UpdateWarrantyExternalLoggedDate = "UpdateWarrantyExternalLoggedDate"; + public const string UpdateWarrantyExternalReference = "UpdateWarrantyExternalReference"; + public const string UpdateWarrantyExternalCompletedDate = "UpdateWarrantyExternalCompletedDate"; + public const string UpdateSubTypes = "UpdateSubTypes"; + public const string UpdateFlag = "UpdateFlag"; + public const string WaitingForUserAction = "WaitingForUserAction"; + public const string NotWaitingForUserAction = "NotWaitingForUserAction"; + public const string LogRepair = "LogRepair"; + public const string DeviceReadyForReturn = "DeviceReadyForReturn"; + public const string DeviceHeld = "DeviceHeld"; + public const string DeviceReturned = "DeviceReturned"; + public const string Close = "Close"; + public const string Reopen = "Reopen"; + public const string Delete = "Delete"; + public const string ConvertHWarToHNWar = "ConvertHWarToHNWar"; + public const string Comments = "Comments"; + public const string CommentPost = "CommentPost"; + public const string CommentRemove = "CommentRemove"; + public const string AttachmentDownload = "AttachmentDownload"; + public const string AttachmentThumbnail = "AttachmentThumbnail"; + public const string AttachmentUpload = "AttachmentUpload"; + public const string Attachment = "Attachment"; + public const string Attachments = "Attachments"; + public const string AttachmentRemove = "AttachmentRemove"; + public const string ComponentAdd = "ComponentAdd"; + public const string ComponentUpdate = "ComponentUpdate"; + public const string ComponentRemove = "ComponentRemove"; + public const string StatisticsDailyOpenedClosed = "StatisticsDailyOpenedClosed"; + public const string GeneratePdf = "GeneratePdf"; + public const string OrganisationAddress = "OrganisationAddress"; + } + + + static readonly ActionParamsClass_Update s_params_Update = new ActionParamsClass_Update(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Update UpdateParams { get { return s_params_Update; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Update + { + public readonly string id = "id"; + public readonly string key = "key"; + public readonly string value = "value"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateExpectedClosedDate s_params_UpdateExpectedClosedDate = new ActionParamsClass_UpdateExpectedClosedDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateExpectedClosedDate UpdateExpectedClosedDateParams { get { return s_params_UpdateExpectedClosedDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateExpectedClosedDate + { + public readonly string id = "id"; + public readonly string ExpectedClosedDate = "ExpectedClosedDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateDeviceHeldLocation s_params_UpdateDeviceHeldLocation = new ActionParamsClass_UpdateDeviceHeldLocation(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateDeviceHeldLocation UpdateDeviceHeldLocationParams { get { return s_params_UpdateDeviceHeldLocation; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateDeviceHeldLocation + { + public readonly string id = "id"; + public readonly string DeviceHeldLocation = "DeviceHeldLocation"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateFlags s_params_UpdateFlags = new ActionParamsClass_UpdateFlags(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateFlags UpdateFlagsParams { get { return s_params_UpdateFlags; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateFlags + { + public readonly string id = "id"; + public readonly string Flags = "Flags"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateNonWarrantyAccountingChargeRequired s_params_UpdateNonWarrantyAccountingChargeRequired = new ActionParamsClass_UpdateNonWarrantyAccountingChargeRequired(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateNonWarrantyAccountingChargeRequired UpdateNonWarrantyAccountingChargeRequiredParams { get { return s_params_UpdateNonWarrantyAccountingChargeRequired; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateNonWarrantyAccountingChargeRequired + { + public readonly string id = "id"; + public readonly string AccountingChargeRequiredDate = "AccountingChargeRequiredDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateNonWarrantyAccountingChargeAdded s_params_UpdateNonWarrantyAccountingChargeAdded = new ActionParamsClass_UpdateNonWarrantyAccountingChargeAdded(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateNonWarrantyAccountingChargeAdded UpdateNonWarrantyAccountingChargeAddedParams { get { return s_params_UpdateNonWarrantyAccountingChargeAdded; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateNonWarrantyAccountingChargeAdded + { + public readonly string id = "id"; + public readonly string AccountingChargeAddedDate = "AccountingChargeAddedDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateNonWarrantyAccountingChargePaid s_params_UpdateNonWarrantyAccountingChargePaid = new ActionParamsClass_UpdateNonWarrantyAccountingChargePaid(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateNonWarrantyAccountingChargePaid UpdateNonWarrantyAccountingChargePaidParams { get { return s_params_UpdateNonWarrantyAccountingChargePaid; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateNonWarrantyAccountingChargePaid + { + public readonly string id = "id"; + public readonly string AccountingChargePaidDate = "AccountingChargePaidDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateNonWarrantyPurchaseOrderRaised s_params_UpdateNonWarrantyPurchaseOrderRaised = new ActionParamsClass_UpdateNonWarrantyPurchaseOrderRaised(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateNonWarrantyPurchaseOrderRaised UpdateNonWarrantyPurchaseOrderRaisedParams { get { return s_params_UpdateNonWarrantyPurchaseOrderRaised; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateNonWarrantyPurchaseOrderRaised + { + public readonly string id = "id"; + public readonly string PurchaseOrderRaisedDate = "PurchaseOrderRaisedDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateNonWarrantyPurchaseOrderReference s_params_UpdateNonWarrantyPurchaseOrderReference = new ActionParamsClass_UpdateNonWarrantyPurchaseOrderReference(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateNonWarrantyPurchaseOrderReference UpdateNonWarrantyPurchaseOrderReferenceParams { get { return s_params_UpdateNonWarrantyPurchaseOrderReference; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateNonWarrantyPurchaseOrderReference + { + public readonly string id = "id"; + public readonly string PurchaseOrderReference = "PurchaseOrderReference"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateNonWarrantyPurchaseOrderSent s_params_UpdateNonWarrantyPurchaseOrderSent = new ActionParamsClass_UpdateNonWarrantyPurchaseOrderSent(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateNonWarrantyPurchaseOrderSent UpdateNonWarrantyPurchaseOrderSentParams { get { return s_params_UpdateNonWarrantyPurchaseOrderSent; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateNonWarrantyPurchaseOrderSent + { + public readonly string id = "id"; + public readonly string PurchaseOrderSentDate = "PurchaseOrderSentDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateNonWarrantyInvoiceReceived s_params_UpdateNonWarrantyInvoiceReceived = new ActionParamsClass_UpdateNonWarrantyInvoiceReceived(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateNonWarrantyInvoiceReceived UpdateNonWarrantyInvoiceReceivedParams { get { return s_params_UpdateNonWarrantyInvoiceReceived; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateNonWarrantyInvoiceReceived + { + public readonly string id = "id"; + public readonly string InvoiceReceivedDate = "InvoiceReceivedDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateNonWarrantyRepairerName s_params_UpdateNonWarrantyRepairerName = new ActionParamsClass_UpdateNonWarrantyRepairerName(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateNonWarrantyRepairerName UpdateNonWarrantyRepairerNameParams { get { return s_params_UpdateNonWarrantyRepairerName; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateNonWarrantyRepairerName + { + public readonly string id = "id"; + public readonly string RepairerName = "RepairerName"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateNonWarrantyRepairerLoggedDate s_params_UpdateNonWarrantyRepairerLoggedDate = new ActionParamsClass_UpdateNonWarrantyRepairerLoggedDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateNonWarrantyRepairerLoggedDate UpdateNonWarrantyRepairerLoggedDateParams { get { return s_params_UpdateNonWarrantyRepairerLoggedDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateNonWarrantyRepairerLoggedDate + { + public readonly string id = "id"; + public readonly string RepairerLoggedDate = "RepairerLoggedDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateNonWarrantyRepairerReference s_params_UpdateNonWarrantyRepairerReference = new ActionParamsClass_UpdateNonWarrantyRepairerReference(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateNonWarrantyRepairerReference UpdateNonWarrantyRepairerReferenceParams { get { return s_params_UpdateNonWarrantyRepairerReference; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateNonWarrantyRepairerReference + { + public readonly string id = "id"; + public readonly string RepairerReference = "RepairerReference"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateNonWarrantyRepairerCompletedDate s_params_UpdateNonWarrantyRepairerCompletedDate = new ActionParamsClass_UpdateNonWarrantyRepairerCompletedDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateNonWarrantyRepairerCompletedDate UpdateNonWarrantyRepairerCompletedDateParams { get { return s_params_UpdateNonWarrantyRepairerCompletedDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateNonWarrantyRepairerCompletedDate + { + public readonly string id = "id"; + public readonly string RepairerCompletedDate = "RepairerCompletedDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateNonWarrantyIsInsuranceClaim s_params_UpdateNonWarrantyIsInsuranceClaim = new ActionParamsClass_UpdateNonWarrantyIsInsuranceClaim(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateNonWarrantyIsInsuranceClaim UpdateNonWarrantyIsInsuranceClaimParams { get { return s_params_UpdateNonWarrantyIsInsuranceClaim; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateNonWarrantyIsInsuranceClaim + { + public readonly string id = "id"; + public readonly string IsInsuranceClaim = "IsInsuranceClaim"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceLossOrDamageDate s_params_UpdateInsuranceLossOrDamageDate = new ActionParamsClass_UpdateInsuranceLossOrDamageDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceLossOrDamageDate UpdateInsuranceLossOrDamageDateParams { get { return s_params_UpdateInsuranceLossOrDamageDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceLossOrDamageDate + { + public readonly string id = "id"; + public readonly string LossOrDamageDate = "LossOrDamageDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceEventLocation s_params_UpdateInsuranceEventLocation = new ActionParamsClass_UpdateInsuranceEventLocation(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceEventLocation UpdateInsuranceEventLocationParams { get { return s_params_UpdateInsuranceEventLocation; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceEventLocation + { + public readonly string id = "id"; + public readonly string EventLocation = "EventLocation"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceDescription s_params_UpdateInsuranceDescription = new ActionParamsClass_UpdateInsuranceDescription(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceDescription UpdateInsuranceDescriptionParams { get { return s_params_UpdateInsuranceDescription; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceDescription + { + public readonly string id = "id"; + public readonly string Description = "Description"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceThirdPartyCaused s_params_UpdateInsuranceThirdPartyCaused = new ActionParamsClass_UpdateInsuranceThirdPartyCaused(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceThirdPartyCaused UpdateInsuranceThirdPartyCausedParams { get { return s_params_UpdateInsuranceThirdPartyCaused; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceThirdPartyCaused + { + public readonly string id = "id"; + public readonly string ThirdPartyCaused = "ThirdPartyCaused"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceThirdPartyCausedName s_params_UpdateInsuranceThirdPartyCausedName = new ActionParamsClass_UpdateInsuranceThirdPartyCausedName(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceThirdPartyCausedName UpdateInsuranceThirdPartyCausedNameParams { get { return s_params_UpdateInsuranceThirdPartyCausedName; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceThirdPartyCausedName + { + public readonly string id = "id"; + public readonly string ThirdPartyCausedName = "ThirdPartyCausedName"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceThirdPartyCausedWhy s_params_UpdateInsuranceThirdPartyCausedWhy = new ActionParamsClass_UpdateInsuranceThirdPartyCausedWhy(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceThirdPartyCausedWhy UpdateInsuranceThirdPartyCausedWhyParams { get { return s_params_UpdateInsuranceThirdPartyCausedWhy; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceThirdPartyCausedWhy + { + public readonly string id = "id"; + public readonly string ThirdPartyCausedWhy = "ThirdPartyCausedWhy"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceWitnessesNamesAddresses s_params_UpdateInsuranceWitnessesNamesAddresses = new ActionParamsClass_UpdateInsuranceWitnessesNamesAddresses(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceWitnessesNamesAddresses UpdateInsuranceWitnessesNamesAddressesParams { get { return s_params_UpdateInsuranceWitnessesNamesAddresses; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceWitnessesNamesAddresses + { + public readonly string id = "id"; + public readonly string WitnessesNamesAddresses = "WitnessesNamesAddresses"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceBurglaryTheftMethodOfEntry s_params_UpdateInsuranceBurglaryTheftMethodOfEntry = new ActionParamsClass_UpdateInsuranceBurglaryTheftMethodOfEntry(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceBurglaryTheftMethodOfEntry UpdateInsuranceBurglaryTheftMethodOfEntryParams { get { return s_params_UpdateInsuranceBurglaryTheftMethodOfEntry; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceBurglaryTheftMethodOfEntry + { + public readonly string id = "id"; + public readonly string BurglaryTheftMethodOfEntry = "BurglaryTheftMethodOfEntry"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsurancePropertyLastSeenDate s_params_UpdateInsurancePropertyLastSeenDate = new ActionParamsClass_UpdateInsurancePropertyLastSeenDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsurancePropertyLastSeenDate UpdateInsurancePropertyLastSeenDateParams { get { return s_params_UpdateInsurancePropertyLastSeenDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsurancePropertyLastSeenDate + { + public readonly string id = "id"; + public readonly string PropertyLastSeenDate = "PropertyLastSeenDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsurancePoliceNotified s_params_UpdateInsurancePoliceNotified = new ActionParamsClass_UpdateInsurancePoliceNotified(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsurancePoliceNotified UpdateInsurancePoliceNotifiedParams { get { return s_params_UpdateInsurancePoliceNotified; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsurancePoliceNotified + { + public readonly string id = "id"; + public readonly string PoliceNotified = "PoliceNotified"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsurancePoliceNotifiedStation s_params_UpdateInsurancePoliceNotifiedStation = new ActionParamsClass_UpdateInsurancePoliceNotifiedStation(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsurancePoliceNotifiedStation UpdateInsurancePoliceNotifiedStationParams { get { return s_params_UpdateInsurancePoliceNotifiedStation; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsurancePoliceNotifiedStation + { + public readonly string id = "id"; + public readonly string PoliceNotifiedStation = "PoliceNotifiedStation"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsurancePoliceNotifiedDate s_params_UpdateInsurancePoliceNotifiedDate = new ActionParamsClass_UpdateInsurancePoliceNotifiedDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsurancePoliceNotifiedDate UpdateInsurancePoliceNotifiedDateParams { get { return s_params_UpdateInsurancePoliceNotifiedDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsurancePoliceNotifiedDate + { + public readonly string id = "id"; + public readonly string PoliceNotifiedDate = "PoliceNotifiedDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsurancePoliceNotifiedCrimeReportNo s_params_UpdateInsurancePoliceNotifiedCrimeReportNo = new ActionParamsClass_UpdateInsurancePoliceNotifiedCrimeReportNo(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsurancePoliceNotifiedCrimeReportNo UpdateInsurancePoliceNotifiedCrimeReportNoParams { get { return s_params_UpdateInsurancePoliceNotifiedCrimeReportNo; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsurancePoliceNotifiedCrimeReportNo + { + public readonly string id = "id"; + public readonly string PoliceNotifiedCrimeReportNo = "PoliceNotifiedCrimeReportNo"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceRecoverReduceAction s_params_UpdateInsuranceRecoverReduceAction = new ActionParamsClass_UpdateInsuranceRecoverReduceAction(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceRecoverReduceAction UpdateInsuranceRecoverReduceActionParams { get { return s_params_UpdateInsuranceRecoverReduceAction; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceRecoverReduceAction + { + public readonly string id = "id"; + public readonly string RecoverReduceAction = "RecoverReduceAction"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceOtherInterestedParties s_params_UpdateInsuranceOtherInterestedParties = new ActionParamsClass_UpdateInsuranceOtherInterestedParties(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceOtherInterestedParties UpdateInsuranceOtherInterestedPartiesParams { get { return s_params_UpdateInsuranceOtherInterestedParties; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceOtherInterestedParties + { + public readonly string id = "id"; + public readonly string OtherInterestedParties = "OtherInterestedParties"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceDateOfPurchase s_params_UpdateInsuranceDateOfPurchase = new ActionParamsClass_UpdateInsuranceDateOfPurchase(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceDateOfPurchase UpdateInsuranceDateOfPurchaseParams { get { return s_params_UpdateInsuranceDateOfPurchase; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceDateOfPurchase + { + public readonly string id = "id"; + public readonly string DateOfPurchase = "DateOfPurchase"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceClaimFormSentDate s_params_UpdateInsuranceClaimFormSentDate = new ActionParamsClass_UpdateInsuranceClaimFormSentDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceClaimFormSentDate UpdateInsuranceClaimFormSentDateParams { get { return s_params_UpdateInsuranceClaimFormSentDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceClaimFormSentDate + { + public readonly string id = "id"; + public readonly string ClaimFormSentDate = "ClaimFormSentDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateInsuranceClaimFormSentUserId s_params_UpdateInsuranceClaimFormSentUserId = new ActionParamsClass_UpdateInsuranceClaimFormSentUserId(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateInsuranceClaimFormSentUserId UpdateInsuranceClaimFormSentUserIdParams { get { return s_params_UpdateInsuranceClaimFormSentUserId; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateInsuranceClaimFormSentUserId + { + public readonly string id = "id"; + public readonly string ClaimFormSentUserId = "ClaimFormSentUserId"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateWarrantyExternalName s_params_UpdateWarrantyExternalName = new ActionParamsClass_UpdateWarrantyExternalName(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateWarrantyExternalName UpdateWarrantyExternalNameParams { get { return s_params_UpdateWarrantyExternalName; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateWarrantyExternalName + { + public readonly string id = "id"; + public readonly string ExternalName = "ExternalName"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateWarrantyExternalLoggedDate s_params_UpdateWarrantyExternalLoggedDate = new ActionParamsClass_UpdateWarrantyExternalLoggedDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateWarrantyExternalLoggedDate UpdateWarrantyExternalLoggedDateParams { get { return s_params_UpdateWarrantyExternalLoggedDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateWarrantyExternalLoggedDate + { + public readonly string id = "id"; + public readonly string ExternalLoggedDate = "ExternalLoggedDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateWarrantyExternalReference s_params_UpdateWarrantyExternalReference = new ActionParamsClass_UpdateWarrantyExternalReference(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateWarrantyExternalReference UpdateWarrantyExternalReferenceParams { get { return s_params_UpdateWarrantyExternalReference; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateWarrantyExternalReference + { + public readonly string id = "id"; + public readonly string ExternalReference = "ExternalReference"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateWarrantyExternalCompletedDate s_params_UpdateWarrantyExternalCompletedDate = new ActionParamsClass_UpdateWarrantyExternalCompletedDate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateWarrantyExternalCompletedDate UpdateWarrantyExternalCompletedDateParams { get { return s_params_UpdateWarrantyExternalCompletedDate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateWarrantyExternalCompletedDate + { + public readonly string id = "id"; + public readonly string ExternalCompletedDate = "ExternalCompletedDate"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateSubTypes s_params_UpdateSubTypes = new ActionParamsClass_UpdateSubTypes(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateSubTypes UpdateSubTypesParams { get { return s_params_UpdateSubTypes; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateSubTypes + { + public readonly string id = "id"; + public readonly string SubTypes = "SubTypes"; + public readonly string AddComponents = "AddComponents"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateFlag s_params_UpdateFlag = new ActionParamsClass_UpdateFlag(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateFlag UpdateFlagParams { get { return s_params_UpdateFlag; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateFlag + { + public readonly string id = "id"; + public readonly string Flag = "Flag"; + public readonly string Reason = "Reason"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_WaitingForUserAction s_params_WaitingForUserAction = new ActionParamsClass_WaitingForUserAction(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_WaitingForUserAction WaitingForUserActionParams { get { return s_params_WaitingForUserAction; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_WaitingForUserAction + { + public readonly string id = "id"; + public readonly string Reason = "Reason"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_NotWaitingForUserAction s_params_NotWaitingForUserAction = new ActionParamsClass_NotWaitingForUserAction(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_NotWaitingForUserAction NotWaitingForUserActionParams { get { return s_params_NotWaitingForUserAction; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_NotWaitingForUserAction + { + public readonly string id = "id"; + public readonly string Resolution = "Resolution"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_LogRepair s_params_LogRepair = new ActionParamsClass_LogRepair(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_LogRepair LogRepairParams { get { return s_params_LogRepair; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_LogRepair + { + public readonly string id = "id"; + public readonly string RepairerName = "RepairerName"; + public readonly string RepairerReference = "RepairerReference"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_DeviceReadyForReturn s_params_DeviceReadyForReturn = new ActionParamsClass_DeviceReadyForReturn(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_DeviceReadyForReturn DeviceReadyForReturnParams { get { return s_params_DeviceReadyForReturn; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_DeviceReadyForReturn + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_DeviceHeld s_params_DeviceHeld = new ActionParamsClass_DeviceHeld(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_DeviceHeld DeviceHeldParams { get { return s_params_DeviceHeld; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_DeviceHeld + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_DeviceReturned s_params_DeviceReturned = new ActionParamsClass_DeviceReturned(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_DeviceReturned DeviceReturnedParams { get { return s_params_DeviceReturned; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_DeviceReturned + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Close s_params_Close = new ActionParamsClass_Close(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Close CloseParams { get { return s_params_Close; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Close + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Reopen s_params_Reopen = new ActionParamsClass_Reopen(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Reopen ReopenParams { get { return s_params_Reopen; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Reopen + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Delete s_params_Delete = new ActionParamsClass_Delete(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Delete DeleteParams { get { return s_params_Delete; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Delete + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_ConvertHWarToHNWar s_params_ConvertHWarToHNWar = new ActionParamsClass_ConvertHWarToHNWar(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ConvertHWarToHNWar ConvertHWarToHNWarParams { get { return s_params_ConvertHWarToHNWar; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ConvertHWarToHNWar + { + public readonly string id = "id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_Comments s_params_Comments = new ActionParamsClass_Comments(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Comments CommentsParams { get { return s_params_Comments; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Comments + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_CommentPost s_params_CommentPost = new ActionParamsClass_CommentPost(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_CommentPost CommentPostParams { get { return s_params_CommentPost; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_CommentPost + { + public readonly string id = "id"; + public readonly string comment = "comment"; + } + static readonly ActionParamsClass_CommentRemove s_params_CommentRemove = new ActionParamsClass_CommentRemove(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_CommentRemove CommentRemoveParams { get { return s_params_CommentRemove; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_CommentRemove + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_AttachmentDownload s_params_AttachmentDownload = new ActionParamsClass_AttachmentDownload(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AttachmentDownload AttachmentDownloadParams { get { return s_params_AttachmentDownload; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AttachmentDownload + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_AttachmentThumbnail s_params_AttachmentThumbnail = new ActionParamsClass_AttachmentThumbnail(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AttachmentThumbnail AttachmentThumbnailParams { get { return s_params_AttachmentThumbnail; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AttachmentThumbnail + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_AttachmentUpload s_params_AttachmentUpload = new ActionParamsClass_AttachmentUpload(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AttachmentUpload AttachmentUploadParams { get { return s_params_AttachmentUpload; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AttachmentUpload + { + public readonly string id = "id"; + public readonly string Comments = "Comments"; + } + static readonly ActionParamsClass_Attachment s_params_Attachment = new ActionParamsClass_Attachment(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Attachment AttachmentParams { get { return s_params_Attachment; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Attachment + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_Attachments s_params_Attachments = new ActionParamsClass_Attachments(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Attachments AttachmentsParams { get { return s_params_Attachments; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Attachments + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_AttachmentRemove s_params_AttachmentRemove = new ActionParamsClass_AttachmentRemove(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AttachmentRemove AttachmentRemoveParams { get { return s_params_AttachmentRemove; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AttachmentRemove + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_ComponentAdd s_params_ComponentAdd = new ActionParamsClass_ComponentAdd(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ComponentAdd ComponentAddParams { get { return s_params_ComponentAdd; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ComponentAdd + { + public readonly string id = "id"; + public readonly string Description = "Description"; + public readonly string Cost = "Cost"; + } + static readonly ActionParamsClass_ComponentUpdate s_params_ComponentUpdate = new ActionParamsClass_ComponentUpdate(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ComponentUpdate ComponentUpdateParams { get { return s_params_ComponentUpdate; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ComponentUpdate + { + public readonly string id = "id"; + public readonly string Description = "Description"; + public readonly string Cost = "Cost"; + } + static readonly ActionParamsClass_ComponentRemove s_params_ComponentRemove = new ActionParamsClass_ComponentRemove(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ComponentRemove ComponentRemoveParams { get { return s_params_ComponentRemove; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ComponentRemove + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_GeneratePdf s_params_GeneratePdf = new ActionParamsClass_GeneratePdf(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_GeneratePdf GeneratePdfParams { get { return s_params_GeneratePdf; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_GeneratePdf + { + public readonly string id = "id"; + public readonly string DocumentTemplateId = "DocumentTemplateId"; + } + static readonly ActionParamsClass_OrganisationAddress s_params_OrganisationAddress = new ActionParamsClass_OrganisationAddress(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_OrganisationAddress OrganisationAddressParams { get { return s_params_OrganisationAddress; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_OrganisationAddress + { + public readonly string id = "id"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_JobController : Disco.Web.Areas.API.Controllers.JobController + { + public T4MVC_JobController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Update(int id, string key, string value, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Update); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "key", key); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "value", value); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateExpectedClosedDate(int id, string ExpectedClosedDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateExpectedClosedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ExpectedClosedDate", ExpectedClosedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateDeviceHeldLocation(int id, string DeviceHeldLocation, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateDeviceHeldLocation); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DeviceHeldLocation", DeviceHeldLocation); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateFlags(int id, string Flags, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFlags); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Flags", Flags); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateNonWarrantyAccountingChargeRequired(int id, string AccountingChargeRequiredDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyAccountingChargeRequired); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AccountingChargeRequiredDate", AccountingChargeRequiredDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateNonWarrantyAccountingChargeAdded(int id, string AccountingChargeAddedDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyAccountingChargeAdded); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AccountingChargeAddedDate", AccountingChargeAddedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateNonWarrantyAccountingChargePaid(int id, string AccountingChargePaidDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyAccountingChargePaid); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AccountingChargePaidDate", AccountingChargePaidDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateNonWarrantyPurchaseOrderRaised(int id, string PurchaseOrderRaisedDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyPurchaseOrderRaised); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PurchaseOrderRaisedDate", PurchaseOrderRaisedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateNonWarrantyPurchaseOrderReference(int id, string PurchaseOrderReference, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyPurchaseOrderReference); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PurchaseOrderReference", PurchaseOrderReference); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateNonWarrantyPurchaseOrderSent(int id, string PurchaseOrderSentDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyPurchaseOrderSent); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PurchaseOrderSentDate", PurchaseOrderSentDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateNonWarrantyInvoiceReceived(int id, string InvoiceReceivedDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyInvoiceReceived); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "InvoiceReceivedDate", InvoiceReceivedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerName(int id, string RepairerName, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RepairerName", RepairerName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerLoggedDate(int id, string RepairerLoggedDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerLoggedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RepairerLoggedDate", RepairerLoggedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerReference(int id, string RepairerReference, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerReference); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RepairerReference", RepairerReference); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateNonWarrantyRepairerCompletedDate(int id, string RepairerCompletedDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyRepairerCompletedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RepairerCompletedDate", RepairerCompletedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateNonWarrantyIsInsuranceClaim(int id, bool IsInsuranceClaim, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateNonWarrantyIsInsuranceClaim); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "IsInsuranceClaim", IsInsuranceClaim); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceLossOrDamageDate(int id, string LossOrDamageDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceLossOrDamageDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "LossOrDamageDate", LossOrDamageDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceEventLocation(int id, string EventLocation, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceEventLocation); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "EventLocation", EventLocation); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceDescription(int id, string Description, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceDescription); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceThirdPartyCaused(int id, string ThirdPartyCaused, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceThirdPartyCaused); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ThirdPartyCaused", ThirdPartyCaused); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceThirdPartyCausedName(int id, string ThirdPartyCausedName, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceThirdPartyCausedName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ThirdPartyCausedName", ThirdPartyCausedName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceThirdPartyCausedWhy(int id, string ThirdPartyCausedWhy, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceThirdPartyCausedWhy); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ThirdPartyCausedWhy", ThirdPartyCausedWhy); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceWitnessesNamesAddresses(int id, string WitnessesNamesAddresses, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceWitnessesNamesAddresses); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "WitnessesNamesAddresses", WitnessesNamesAddresses); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceBurglaryTheftMethodOfEntry(int id, string BurglaryTheftMethodOfEntry, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceBurglaryTheftMethodOfEntry); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "BurglaryTheftMethodOfEntry", BurglaryTheftMethodOfEntry); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsurancePropertyLastSeenDate(int id, string PropertyLastSeenDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePropertyLastSeenDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PropertyLastSeenDate", PropertyLastSeenDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsurancePoliceNotified(int id, string PoliceNotified, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotified); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PoliceNotified", PoliceNotified); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsurancePoliceNotifiedStation(int id, string PoliceNotifiedStation, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotifiedStation); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PoliceNotifiedStation", PoliceNotifiedStation); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsurancePoliceNotifiedDate(int id, string PoliceNotifiedDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotifiedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PoliceNotifiedDate", PoliceNotifiedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsurancePoliceNotifiedCrimeReportNo(int id, string PoliceNotifiedCrimeReportNo, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsurancePoliceNotifiedCrimeReportNo); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PoliceNotifiedCrimeReportNo", PoliceNotifiedCrimeReportNo); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceRecoverReduceAction(int id, string RecoverReduceAction, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceRecoverReduceAction); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RecoverReduceAction", RecoverReduceAction); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceOtherInterestedParties(int id, string OtherInterestedParties, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceOtherInterestedParties); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "OtherInterestedParties", OtherInterestedParties); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceDateOfPurchase(int id, string DateOfPurchase, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceDateOfPurchase); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DateOfPurchase", DateOfPurchase); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceClaimFormSentDate(int id, string ClaimFormSentDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceClaimFormSentDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ClaimFormSentDate", ClaimFormSentDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateInsuranceClaimFormSentUserId(int id, string ClaimFormSentUserId, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateInsuranceClaimFormSentUserId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ClaimFormSentUserId", ClaimFormSentUserId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateWarrantyExternalName(int id, string ExternalName, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ExternalName", ExternalName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateWarrantyExternalLoggedDate(int id, string ExternalLoggedDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalLoggedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ExternalLoggedDate", ExternalLoggedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateWarrantyExternalReference(int id, string ExternalReference, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalReference); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ExternalReference", ExternalReference); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateWarrantyExternalCompletedDate(int id, string ExternalCompletedDate, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateWarrantyExternalCompletedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ExternalCompletedDate", ExternalCompletedDate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateSubTypes(int id, System.Collections.Generic.List SubTypes, bool? AddComponents, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSubTypes); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "SubTypes", SubTypes); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AddComponents", AddComponents); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateFlag(int id, long? Flag, string Reason, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateFlag); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Flag", Flag); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Reason", Reason); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult WaitingForUserAction(int id, string Reason, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.WaitingForUserAction); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Reason", Reason); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult NotWaitingForUserAction(int id, string Resolution, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.NotWaitingForUserAction); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Resolution", Resolution); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult LogRepair(int id, string RepairerName, string RepairerReference, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.LogRepair); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RepairerName", RepairerName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RepairerReference", RepairerReference); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult DeviceReadyForReturn(int id, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeviceReadyForReturn); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult DeviceHeld(int id, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeviceHeld); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult DeviceReturned(int id, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeviceReturned); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Close(int id, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Close); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Reopen(int id, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Reopen); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Delete(int id, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ConvertHWarToHNWar(int id, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ConvertHWarToHNWar); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Comments(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Comments); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult CommentPost(int id, string comment) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.CommentPost); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "comment", comment); + return callInfo; + } + + public override System.Web.Mvc.ActionResult CommentRemove(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.CommentRemove); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AttachmentDownload(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentDownload); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AttachmentThumbnail(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentThumbnail); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AttachmentUpload(int id, string Comments) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Comments", Comments); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Attachment(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachment); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Attachments(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AttachmentRemove(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentRemove); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ComponentAdd(int id, string Description, string Cost) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentAdd); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Cost", Cost); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ComponentUpdate(int id, string Description, string Cost) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentUpdate); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Description", Description); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Cost", Cost); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ComponentRemove(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ComponentRemove); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult StatisticsDailyOpenedClosed() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.StatisticsDailyOpenedClosed); + return callInfo; + } + + public override System.Web.Mvc.ActionResult GeneratePdf(string id, string DocumentTemplateId) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdf); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DocumentTemplateId", DocumentTemplateId); + return callInfo; + } + + public override System.Web.Mvc.ActionResult OrganisationAddress(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.OrganisationAddress); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class LoggingController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public LoggingController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected LoggingController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult RetrieveEvents() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.RetrieveEvents); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ScheduledTaskStatus() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ScheduledTaskStatus); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public LoggingController Actions { get { return MVC.API.Logging; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Logging"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Logging"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Modules = "Modules"; + public readonly string RetrieveEvents = "RetrieveEvents"; + public readonly string ScheduledTaskStatus = "ScheduledTaskStatus"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Modules = "Modules"; + public const string RetrieveEvents = "RetrieveEvents"; + public const string ScheduledTaskStatus = "ScheduledTaskStatus"; + } + + + static readonly ActionParamsClass_RetrieveEvents s_params_RetrieveEvents = new ActionParamsClass_RetrieveEvents(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_RetrieveEvents RetrieveEventsParams { get { return s_params_RetrieveEvents; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_RetrieveEvents + { + public readonly string Format = "Format"; + public readonly string Start = "Start"; + public readonly string End = "End"; + public readonly string ModuleId = "ModuleId"; + public readonly string EventTypeIds = "EventTypeIds"; + public readonly string Take = "Take"; + } + static readonly ActionParamsClass_ScheduledTaskStatus s_params_ScheduledTaskStatus = new ActionParamsClass_ScheduledTaskStatus(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ScheduledTaskStatus ScheduledTaskStatusParams { get { return s_params_ScheduledTaskStatus; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ScheduledTaskStatus + { + public readonly string id = "id"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_LoggingController : Disco.Web.Areas.API.Controllers.LoggingController + { + public T4MVC_LoggingController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Modules() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Modules); + return callInfo; + } + + public override System.Web.Mvc.ActionResult RetrieveEvents(string Format, System.DateTime? Start, System.DateTime? End, int? ModuleId, System.Collections.Generic.List EventTypeIds, int? Take) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.RetrieveEvents); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Format", Format); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Start", Start); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "End", End); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ModuleId", ModuleId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "EventTypeIds", EventTypeIds); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Take", Take); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ScheduledTaskStatus(string id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ScheduledTaskStatus); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class PluginController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public PluginController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected PluginController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Uninstall() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Uninstall); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Install() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Install); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public PluginController Actions { get { return MVC.API.Plugin; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Plugin"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Plugin"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Uninstall = "Uninstall"; + public readonly string Install = "Install"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Uninstall = "Uninstall"; + public const string Install = "Install"; + } + + + static readonly ActionParamsClass_Uninstall s_params_Uninstall = new ActionParamsClass_Uninstall(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Uninstall UninstallParams { get { return s_params_Uninstall; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Uninstall + { + public readonly string id = "id"; + public readonly string UninstallData = "UninstallData"; + } + static readonly ActionParamsClass_Install s_params_Install = new ActionParamsClass_Install(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Install InstallParams { get { return s_params_Install; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Install + { + public readonly string Plugin = "Plugin"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_PluginController : Disco.Web.Areas.API.Controllers.PluginController + { + public T4MVC_PluginController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Uninstall(string id, bool UninstallData) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Uninstall); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "UninstallData", UninstallData); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Install(System.Web.HttpPostedFileBase Plugin) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Install); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Plugin", Plugin); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class SystemController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public SystemController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected SystemController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateOrganisationName() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateOrganisationName); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateOrganisationAddress() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateOrganisationAddress); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult DeleteOrganisationAddress() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeleteOrganisationAddress); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpdateMultiSiteMode() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateMultiSiteMode); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public SystemController Actions { get { return MVC.API.System; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "System"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "System"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string UpdateLastNetworkLogonDates = "UpdateLastNetworkLogonDates"; + public readonly string UpdateAttachmentThumbnails = "UpdateAttachmentThumbnails"; + public readonly string UpdateCheck = "UpdateCheck"; + public readonly string UpdateOrganisationName = "UpdateOrganisationName"; + public readonly string OrganisationLogo = "OrganisationLogo"; + public readonly string UpdateOrganisationAddress = "UpdateOrganisationAddress"; + public readonly string DeleteOrganisationAddress = "DeleteOrganisationAddress"; + public readonly string UpdateMultiSiteMode = "UpdateMultiSiteMode"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string UpdateLastNetworkLogonDates = "UpdateLastNetworkLogonDates"; + public const string UpdateAttachmentThumbnails = "UpdateAttachmentThumbnails"; + public const string UpdateCheck = "UpdateCheck"; + public const string UpdateOrganisationName = "UpdateOrganisationName"; + public const string OrganisationLogo = "OrganisationLogo"; + public const string UpdateOrganisationAddress = "UpdateOrganisationAddress"; + public const string DeleteOrganisationAddress = "DeleteOrganisationAddress"; + public const string UpdateMultiSiteMode = "UpdateMultiSiteMode"; + } + + + static readonly ActionParamsClass_UpdateOrganisationName s_params_UpdateOrganisationName = new ActionParamsClass_UpdateOrganisationName(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateOrganisationName UpdateOrganisationNameParams { get { return s_params_UpdateOrganisationName; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateOrganisationName + { + public readonly string OrganisationName = "OrganisationName"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_OrganisationLogo s_params_OrganisationLogo = new ActionParamsClass_OrganisationLogo(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_OrganisationLogo OrganisationLogoParams { get { return s_params_OrganisationLogo; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_OrganisationLogo + { + public readonly string Width = "Width"; + public readonly string Height = "Height"; + public readonly string v = "v"; + public readonly string redirect = "redirect"; + public readonly string Image = "Image"; + public readonly string ResetLogo = "ResetLogo"; + } + static readonly ActionParamsClass_UpdateOrganisationAddress s_params_UpdateOrganisationAddress = new ActionParamsClass_UpdateOrganisationAddress(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateOrganisationAddress UpdateOrganisationAddressParams { get { return s_params_UpdateOrganisationAddress; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateOrganisationAddress + { + public readonly string organisationAddress = "organisationAddress"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_DeleteOrganisationAddress s_params_DeleteOrganisationAddress = new ActionParamsClass_DeleteOrganisationAddress(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_DeleteOrganisationAddress DeleteOrganisationAddressParams { get { return s_params_DeleteOrganisationAddress; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_DeleteOrganisationAddress + { + public readonly string Id = "Id"; + public readonly string redirect = "redirect"; + } + static readonly ActionParamsClass_UpdateMultiSiteMode s_params_UpdateMultiSiteMode = new ActionParamsClass_UpdateMultiSiteMode(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateMultiSiteMode UpdateMultiSiteModeParams { get { return s_params_UpdateMultiSiteMode; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateMultiSiteMode + { + public readonly string MultiSiteMode = "MultiSiteMode"; + public readonly string redirect = "redirect"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_SystemController : Disco.Web.Areas.API.Controllers.SystemController + { + public T4MVC_SystemController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult UpdateLastNetworkLogonDates() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateLastNetworkLogonDates); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateAttachmentThumbnails() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateAttachmentThumbnails); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateCheck() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateCheck); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateOrganisationName(string OrganisationName, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateOrganisationName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "OrganisationName", OrganisationName); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult OrganisationLogo(int Width, int Height, string v) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.OrganisationLogo); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Width", Width); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Height", Height); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "v", v); + return callInfo; + } + + public override System.Web.Mvc.ActionResult OrganisationLogo(bool redirect, System.Web.HttpPostedFileBase Image, bool? ResetLogo) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.OrganisationLogo); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Image", Image); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ResetLogo", ResetLogo); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateOrganisationAddress(Disco.Models.BI.Config.OrganisationAddress organisationAddress, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateOrganisationAddress); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "organisationAddress", organisationAddress); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult DeleteOrganisationAddress(int Id, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.DeleteOrganisationAddress); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Id", Id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UpdateMultiSiteMode(bool MultiSiteMode, bool redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateMultiSiteMode); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "MultiSiteMode", MultiSiteMode); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.API.Controllers +{ + public partial class UserController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public UserController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected UserController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UpstreamUsers() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpstreamUsers); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult AttachmentDownload() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentDownload); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult AttachmentThumbnail() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentThumbnail); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult AttachmentUpload() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Attachment() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachment); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Attachments() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult AttachmentRemove() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentRemove); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult GeneratePdf() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdf); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public UserController Actions { get { return MVC.API.User; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "API"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "User"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "User"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string UpstreamUsers = "UpstreamUsers"; + public readonly string AttachmentDownload = "AttachmentDownload"; + public readonly string AttachmentThumbnail = "AttachmentThumbnail"; + public readonly string AttachmentUpload = "AttachmentUpload"; + public readonly string Attachment = "Attachment"; + public readonly string Attachments = "Attachments"; + public readonly string AttachmentRemove = "AttachmentRemove"; + public readonly string GeneratePdf = "GeneratePdf"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string UpstreamUsers = "UpstreamUsers"; + public const string AttachmentDownload = "AttachmentDownload"; + public const string AttachmentThumbnail = "AttachmentThumbnail"; + public const string AttachmentUpload = "AttachmentUpload"; + public const string Attachment = "Attachment"; + public const string Attachments = "Attachments"; + public const string AttachmentRemove = "AttachmentRemove"; + public const string GeneratePdf = "GeneratePdf"; + } + + + static readonly ActionParamsClass_UpstreamUsers s_params_UpstreamUsers = new ActionParamsClass_UpstreamUsers(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpstreamUsers UpstreamUsersParams { get { return s_params_UpstreamUsers; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpstreamUsers + { + public readonly string term = "term"; + } + static readonly ActionParamsClass_AttachmentDownload s_params_AttachmentDownload = new ActionParamsClass_AttachmentDownload(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AttachmentDownload AttachmentDownloadParams { get { return s_params_AttachmentDownload; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AttachmentDownload + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_AttachmentThumbnail s_params_AttachmentThumbnail = new ActionParamsClass_AttachmentThumbnail(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AttachmentThumbnail AttachmentThumbnailParams { get { return s_params_AttachmentThumbnail; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AttachmentThumbnail + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_AttachmentUpload s_params_AttachmentUpload = new ActionParamsClass_AttachmentUpload(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AttachmentUpload AttachmentUploadParams { get { return s_params_AttachmentUpload; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AttachmentUpload + { + public readonly string id = "id"; + public readonly string Comments = "Comments"; + } + static readonly ActionParamsClass_Attachment s_params_Attachment = new ActionParamsClass_Attachment(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Attachment AttachmentParams { get { return s_params_Attachment; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Attachment + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_Attachments s_params_Attachments = new ActionParamsClass_Attachments(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Attachments AttachmentsParams { get { return s_params_Attachments; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Attachments + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_AttachmentRemove s_params_AttachmentRemove = new ActionParamsClass_AttachmentRemove(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_AttachmentRemove AttachmentRemoveParams { get { return s_params_AttachmentRemove; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_AttachmentRemove + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_GeneratePdf s_params_GeneratePdf = new ActionParamsClass_GeneratePdf(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_GeneratePdf GeneratePdfParams { get { return s_params_GeneratePdf; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_GeneratePdf + { + public readonly string id = "id"; + public readonly string DocumentTemplateId = "DocumentTemplateId"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_UserController : Disco.Web.Areas.API.Controllers.UserController + { + public T4MVC_UserController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult UpstreamUsers(string term) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpstreamUsers); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AttachmentDownload(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentDownload); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AttachmentThumbnail(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentThumbnail); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AttachmentUpload(string id, string Comments) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Comments", Comments); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Attachment(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachment); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Attachments(string id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult AttachmentRemove(int id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentRemove); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult GeneratePdf(string id, string DocumentTemplateId) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdf); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DocumentTemplateId", DocumentTemplateId); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.Config.Controllers +{ + public partial class ConfigController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ConfigController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected ConfigController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ConfigController Actions { get { return MVC.Config.Config; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Config"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Config"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Config"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + } + + + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Index = "Index"; + } + public readonly string Index = "~/Areas/Config/Views/Config/Index.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_ConfigController : Disco.Web.Areas.Config.Controllers.ConfigController + { + public T4MVC_ConfigController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.Config.Controllers +{ + public partial class DeviceBatchController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceBatchController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected DeviceBatchController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Index() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceBatchController Actions { get { return MVC.Config.DeviceBatch; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Config"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "DeviceBatch"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "DeviceBatch"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string Create = "Create"; + public readonly string Timeline = "Timeline"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string Create = "Create"; + public const string Timeline = "Timeline"; + } + + + static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Index + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_Create s_params_Create = new ActionParamsClass_Create(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Create CreateParams { get { return s_params_Create; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Create + { + public readonly string model = "model"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Create = "Create"; + public readonly string Index = "Index"; + public readonly string Show = "Show"; + public readonly string Timeline = "Timeline"; + } + public readonly string Create = "~/Areas/Config/Views/DeviceBatch/Create.cshtml"; + public readonly string Index = "~/Areas/Config/Views/DeviceBatch/Index.cshtml"; + public readonly string Show = "~/Areas/Config/Views/DeviceBatch/Show.cshtml"; + public readonly string Timeline = "~/Areas/Config/Views/DeviceBatch/Timeline.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_DeviceBatchController : Disco.Web.Areas.Config.Controllers.DeviceBatchController + { + public T4MVC_DeviceBatchController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index(int? id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Create() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Create(Disco.Models.Repository.DeviceBatch model) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Timeline() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Timeline); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.Config.Controllers +{ + public partial class DeviceModelController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceModelController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected DeviceModelController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Index() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceModelController Actions { get { return MVC.Config.DeviceModel; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Config"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "DeviceModel"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "DeviceModel"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string GenericComponents = "GenericComponents"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string GenericComponents = "GenericComponents"; + } + + + static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Index + { + public readonly string id = "id"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string _DeviceComponentsTable = "_DeviceComponentsTable"; + public readonly string GenericComponents = "GenericComponents"; + public readonly string Index = "Index"; + public readonly string Show = "Show"; + } + public readonly string _DeviceComponentsTable = "~/Areas/Config/Views/DeviceModel/_DeviceComponentsTable.cshtml"; + public readonly string GenericComponents = "~/Areas/Config/Views/DeviceModel/GenericComponents.cshtml"; + public readonly string Index = "~/Areas/Config/Views/DeviceModel/Index.cshtml"; + public readonly string Show = "~/Areas/Config/Views/DeviceModel/Show.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_DeviceModelController : Disco.Web.Areas.Config.Controllers.DeviceModelController + { + public T4MVC_DeviceModelController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index(int? id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult GenericComponents() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GenericComponents); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.Config.Controllers +{ + public partial class DeviceProfileController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceProfileController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected DeviceProfileController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Index() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DeviceProfileController Actions { get { return MVC.Config.DeviceProfile; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Config"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "DeviceProfile"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "DeviceProfile"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string Create = "Create"; + public readonly string Defaults = "Defaults"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string Create = "Create"; + public const string Defaults = "Defaults"; + } + + + static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Index + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_Create s_params_Create = new ActionParamsClass_Create(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Create CreateParams { get { return s_params_Create; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Create + { + public readonly string model = "model"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string _Table = "_Table"; + public readonly string _TableRender = "_TableRender"; + public readonly string Create = "Create"; + public readonly string Defaults = "Defaults"; + public readonly string Index = "Index"; + public readonly string Show = "Show"; + } + public readonly string _Table = "~/Areas/Config/Views/DeviceProfile/_Table.cshtml"; + public readonly string _TableRender = "~/Areas/Config/Views/DeviceProfile/_TableRender.cshtml"; + public readonly string Create = "~/Areas/Config/Views/DeviceProfile/Create.cshtml"; + public readonly string Defaults = "~/Areas/Config/Views/DeviceProfile/Defaults.cshtml"; + public readonly string Index = "~/Areas/Config/Views/DeviceProfile/Index.cshtml"; + public readonly string Show = "~/Areas/Config/Views/DeviceProfile/Show.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_DeviceProfileController : Disco.Web.Areas.Config.Controllers.DeviceProfileController + { + public T4MVC_DeviceProfileController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index(int? id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Create() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Create(Disco.Models.Repository.DeviceProfile model) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Defaults() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Defaults); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.Config.Controllers +{ + public partial class DocumentTemplateController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DocumentTemplateController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected DocumentTemplateController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Index() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ExpressionBrowser() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ExpressionBrowser); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public DocumentTemplateController Actions { get { return MVC.Config.DocumentTemplate; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Config"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "DocumentTemplate"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "DocumentTemplate"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string ImportStatus = "ImportStatus"; + public readonly string UndetectedPages = "UndetectedPages"; + public readonly string Create = "Create"; + public readonly string ExpressionBrowser = "ExpressionBrowser"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string ImportStatus = "ImportStatus"; + public const string UndetectedPages = "UndetectedPages"; + public const string Create = "Create"; + public const string ExpressionBrowser = "ExpressionBrowser"; + } + + + static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Index + { + public readonly string id = "id"; + } + static readonly ActionParamsClass_Create s_params_Create = new ActionParamsClass_Create(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Create CreateParams { get { return s_params_Create; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Create + { + public readonly string model = "model"; + } + static readonly ActionParamsClass_ExpressionBrowser s_params_ExpressionBrowser = new ActionParamsClass_ExpressionBrowser(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ExpressionBrowser ExpressionBrowserParams { get { return s_params_ExpressionBrowser; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ExpressionBrowser + { + public readonly string type = "type"; + public readonly string StaticDeclaredMembersOnly = "StaticDeclaredMembersOnly"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string _ExpressionsTable = "_ExpressionsTable"; + public readonly string Create = "Create"; + public readonly string ExpressionBrowser = "ExpressionBrowser"; + public readonly string ImportStatus = "ImportStatus"; + public readonly string Index = "Index"; + public readonly string Show = "Show"; + public readonly string UndetectedPages = "UndetectedPages"; + } + public readonly string _ExpressionsTable = "~/Areas/Config/Views/DocumentTemplate/_ExpressionsTable.cshtml"; + public readonly string Create = "~/Areas/Config/Views/DocumentTemplate/Create.cshtml"; + public readonly string ExpressionBrowser = "~/Areas/Config/Views/DocumentTemplate/ExpressionBrowser.cshtml"; + public readonly string ImportStatus = "~/Areas/Config/Views/DocumentTemplate/ImportStatus.cshtml"; + public readonly string Index = "~/Areas/Config/Views/DocumentTemplate/Index.cshtml"; + public readonly string Show = "~/Areas/Config/Views/DocumentTemplate/Show.cshtml"; + public readonly string UndetectedPages = "~/Areas/Config/Views/DocumentTemplate/UndetectedPages.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_DocumentTemplateController : Disco.Web.Areas.Config.Controllers.DocumentTemplateController + { + public T4MVC_DocumentTemplateController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index(string id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ImportStatus() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ImportStatus); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UndetectedPages() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UndetectedPages); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Create() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Create(Disco.Web.Areas.Config.Models.DocumentTemplate.CreateModel model) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ExpressionBrowser(string type, bool StaticDeclaredMembersOnly) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ExpressionBrowser); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "type", type); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "StaticDeclaredMembersOnly", StaticDeclaredMembersOnly); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.Config.Controllers +{ + public partial class EnrolmentController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public EnrolmentController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected EnrolmentController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public EnrolmentController Actions { get { return MVC.Config.Enrolment; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Config"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Enrolment"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Enrolment"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string Status = "Status"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string Status = "Status"; + } + + + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Index = "Index"; + public readonly string Status = "Status"; + } + public readonly string Index = "~/Areas/Config/Views/Enrolment/Index.cshtml"; + public readonly string Status = "~/Areas/Config/Views/Enrolment/Status.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_EnrolmentController : Disco.Web.Areas.Config.Controllers.EnrolmentController + { + public T4MVC_EnrolmentController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Status() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Status); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.Config.Controllers +{ + public partial class ExpressionsController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ExpressionsController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected ExpressionsController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ExpressionsController Actions { get { return MVC.Config.Expressions; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Config"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Expressions"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Expressions"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + } + + + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Editor = "Editor"; + } + public readonly string Editor = "~/Areas/Config/Views/Expressions/Editor.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_ExpressionsController : Disco.Web.Areas.Config.Controllers.ExpressionsController + { + public T4MVC_ExpressionsController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.Config.Controllers +{ + public partial class LoggingController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public LoggingController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected LoggingController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult TaskStatus() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.TaskStatus); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public LoggingController Actions { get { return MVC.Config.Logging; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Config"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Logging"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Logging"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string TaskStatus = "TaskStatus"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string TaskStatus = "TaskStatus"; + } + + + static readonly ActionParamsClass_TaskStatus s_params_TaskStatus = new ActionParamsClass_TaskStatus(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_TaskStatus TaskStatusParams { get { return s_params_TaskStatus; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_TaskStatus + { + public readonly string id = "id"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Index = "Index"; + public readonly string TaskStatus = "TaskStatus"; + } + public readonly string Index = "~/Areas/Config/Views/Logging/Index.cshtml"; + public readonly string TaskStatus = "~/Areas/Config/Views/Logging/TaskStatus.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_LoggingController : Disco.Web.Areas.Config.Controllers.LoggingController + { + public T4MVC_LoggingController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + public override System.Web.Mvc.ActionResult TaskStatus(string id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.TaskStatus); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.Config.Controllers +{ + public partial class OrganisationController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public OrganisationController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected OrganisationController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public OrganisationController Actions { get { return MVC.Config.Organisation; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Config"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Organisation"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Organisation"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + } + + + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Index = "Index"; + } + public readonly string Index = "~/Areas/Config/Views/Organisation/Index.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_OrganisationController : Disco.Web.Areas.Config.Controllers.OrganisationController + { + public T4MVC_OrganisationController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.Config.Controllers +{ + public partial class PluginsController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public PluginsController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected PluginsController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Configure() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Configure); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public PluginsController Actions { get { return MVC.Config.Plugins; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Config"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Plugins"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Plugins"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string Configure = "Configure"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string Configure = "Configure"; + } + + + static readonly ActionParamsClass_Configure s_params_Configure = new ActionParamsClass_Configure(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Configure ConfigureParams { get { return s_params_Configure; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Configure + { + public readonly string PluginId = "PluginId"; + public readonly string form = "form"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Configure = "Configure"; + public readonly string Index = "Index"; + } + public readonly string Configure = "~/Areas/Config/Views/Plugins/Configure.cshtml"; + public readonly string Index = "~/Areas/Config/Views/Plugins/Index.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_PluginsController : Disco.Web.Areas.Config.Controllers.PluginsController + { + public T4MVC_PluginsController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Configure(string PluginId, System.Web.Mvc.FormCollection form) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Configure); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PluginId", PluginId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "form", form); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Configure(string PluginId) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Configure); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "PluginId", PluginId); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.Config.Controllers +{ + public partial class SystemConfigController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public SystemConfigController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected SystemConfigController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public SystemConfigController Actions { get { return MVC.Config.SystemConfig; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Config"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "SystemConfig"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "SystemConfig"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + } + + + static readonly ActionParamsClass_Index s_params_Index = new ActionParamsClass_Index(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Index IndexParams { get { return s_params_Index; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Index + { + public readonly string config = "config"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Index = "Index"; + } + public readonly string Index = "~/Areas/Config/Views/SystemConfig/Index.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_SystemConfigController : Disco.Web.Areas.Config.Controllers.SystemConfigController + { + public T4MVC_SystemConfigController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Index(Disco.Web.Areas.Config.Models.SystemConfig.IndexModel config) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "config", config); + return callInfo; + } + + } +} + +namespace T4MVC.Config +{ + public class SharedController + { + + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string LogEvents = "LogEvents"; + } + public readonly string LogEvents = "~/Areas/Config/Views/Shared/LogEvents.cshtml"; + } + } + +} + +namespace Disco.Web.Areas.Public.Controllers +{ + public partial class PublicController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public PublicController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected PublicController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public PublicController Actions { get { return MVC.Public.Public; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Public"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Public"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Public"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string Credits = "Credits"; + public readonly string Licence = "Licence"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string Credits = "Credits"; + public const string Licence = "Licence"; + } + + + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Credits = "Credits"; + public readonly string Index = "Index"; + public readonly string Licence = "Licence"; + } + public readonly string Credits = "~/Areas/Public/Views/Public/Credits.cshtml"; + public readonly string Index = "~/Areas/Public/Views/Public/Index.cshtml"; + public readonly string Licence = "~/Areas/Public/Views/Public/Licence.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_PublicController : Disco.Web.Areas.Public.Controllers.PublicController + { + public T4MVC_PublicController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Credits() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Credits); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Licence() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Licence); + return callInfo; + } + + } +} + +namespace Disco.Web.Areas.Public.Controllers +{ + public partial class UserHeldDevicesController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public UserHeldDevicesController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected UserHeldDevicesController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult UserHeldDevice() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UserHeldDevice); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public UserHeldDevicesController Actions { get { return MVC.Public.UserHeldDevices; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Public"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "UserHeldDevices"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "UserHeldDevices"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Index = "Index"; + public readonly string ReadyForReturnXml = "ReadyForReturnXml"; + public readonly string WaitingForUserActionXml = "WaitingForUserActionXml"; + public readonly string UserHeldDevicesXml = "UserHeldDevicesXml"; + public readonly string Noticeboard = "Noticeboard"; + public readonly string UserHeldDevice = "UserHeldDevice"; + public readonly string UserHeldDevices = "UserHeldDevices"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Index = "Index"; + public const string ReadyForReturnXml = "ReadyForReturnXml"; + public const string WaitingForUserActionXml = "WaitingForUserActionXml"; + public const string UserHeldDevicesXml = "UserHeldDevicesXml"; + public const string Noticeboard = "Noticeboard"; + public const string UserHeldDevice = "UserHeldDevice"; + public const string UserHeldDevices = "UserHeldDevices"; + } + + + static readonly ActionParamsClass_UserHeldDevice s_params_UserHeldDevice = new ActionParamsClass_UserHeldDevice(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UserHeldDevice UserHeldDeviceParams { get { return s_params_UserHeldDevice; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UserHeldDevice + { + public readonly string id = "id"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string Index = "Index"; + public readonly string Noticeboard = "Noticeboard"; + } + public readonly string Index = "~/Areas/Public/Views/UserHeldDevices/Index.cshtml"; + public readonly string Noticeboard = "~/Areas/Public/Views/UserHeldDevices/Noticeboard.cshtml"; + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_UserHeldDevicesController : Disco.Web.Areas.Public.Controllers.UserHeldDevicesController + { + public T4MVC_UserHeldDevicesController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Index() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ReadyForReturnXml() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ReadyForReturnXml); + return callInfo; + } + + public override System.Web.Mvc.ActionResult WaitingForUserActionXml() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.WaitingForUserActionXml); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UserHeldDevicesXml() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UserHeldDevicesXml); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Noticeboard() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Noticeboard); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UserHeldDevice(string id) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UserHeldDevice); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + return callInfo; + } + + public override System.Web.Mvc.ActionResult UserHeldDevices() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UserHeldDevices); + return callInfo; + } + + } +} + +namespace T4MVC.Public +{ + public class SharedController + { + + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + public readonly string _Layout = "_Layout"; + } + public readonly string _Layout = "~/Areas/Public/Views/Shared/_Layout.cshtml"; + } + } + +} + +namespace Disco.Web.Areas.Services.Controllers +{ + public partial class ClientController + { + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ClientController() { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected ClientController(Dummy d) { } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToAction(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoute(callInfo.RouteValueDictionary); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + protected RedirectToRouteResult RedirectToActionPermanent(ActionResult result) + { + var callInfo = result.GetT4MVCResult(); + return RedirectToRoutePermanent(callInfo.RouteValueDictionary); + } + + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Unauthenticated() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Unauthenticated); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult Authenticated() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Authenticated); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public System.Web.Mvc.ActionResult ClientError() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ClientError); + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ClientController Actions { get { return MVC.Services.Client; } } + [GeneratedCode("T4MVC", "2.0")] + public readonly string Area = "Services"; + [GeneratedCode("T4MVC", "2.0")] + public readonly string Name = "Client"; + [GeneratedCode("T4MVC", "2.0")] + public const string NameConst = "Client"; + + static readonly ActionNamesClass s_actions = new ActionNamesClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionNamesClass ActionNames { get { return s_actions; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNamesClass + { + public readonly string Bootstrapper = "Bootstrapper"; + public readonly string PreparationClient = "PreparationClient"; + public readonly string Unauthenticated = "Unauthenticated"; + public readonly string Authenticated = "Authenticated"; + public readonly string ClientError = "ClientError"; + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionNameConstants + { + public const string Bootstrapper = "Bootstrapper"; + public const string PreparationClient = "PreparationClient"; + public const string Unauthenticated = "Unauthenticated"; + public const string Authenticated = "Authenticated"; + public const string ClientError = "ClientError"; + } + + + static readonly ActionParamsClass_Unauthenticated s_params_Unauthenticated = new ActionParamsClass_Unauthenticated(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Unauthenticated UnauthenticatedParams { get { return s_params_Unauthenticated; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Unauthenticated + { + public readonly string feature = "feature"; + } + static readonly ActionParamsClass_Authenticated s_params_Authenticated = new ActionParamsClass_Authenticated(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_Authenticated AuthenticatedParams { get { return s_params_Authenticated; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_Authenticated + { + public readonly string feature = "feature"; + } + static readonly ActionParamsClass_ClientError s_params_ClientError = new ActionParamsClass_ClientError(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_ClientError ClientErrorParams { get { return s_params_ClientError; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_ClientError + { + public readonly string SessionId = "SessionId"; + public readonly string DeviceIdentifier = "DeviceIdentifier"; + public readonly string JsonException = "JsonException"; + } + static readonly ViewsClass s_views = new ViewsClass(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ViewsClass Views { get { return s_views; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ViewsClass + { + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } + public class _ViewNamesClass + { + } + } + } + + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class T4MVC_ClientController : Disco.Web.Areas.Services.Controllers.ClientController + { + public T4MVC_ClientController() : base(Dummy.Instance) { } + + public override System.Web.Mvc.ActionResult Bootstrapper() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Bootstrapper); + return callInfo; + } + + public override System.Web.Mvc.ActionResult PreparationClient() + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.PreparationClient); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Unauthenticated(string feature) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Unauthenticated); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "feature", feature); + return callInfo; + } + + public override System.Web.Mvc.ActionResult Authenticated(string feature) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Authenticated); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "feature", feature); + return callInfo; + } + + public override System.Web.Mvc.ActionResult ClientError(string SessionId, string DeviceIdentifier, string JsonException) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ClientError); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "SessionId", SessionId); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DeviceIdentifier", DeviceIdentifier); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "JsonException", JsonException); + return callInfo; + } + + } +} + + + + +#endregion T4MVC +#pragma warning restore 1591 + +