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 8624ec5e..88a7cb7d 100644 Binary files a/Disco.Client/Package Creation/PreparationClient.zip and b/Disco.Client/Package Creation/PreparationClient.zip differ 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 + +