feature: computer name template testing
This commit is contained in:
@@ -127,6 +127,12 @@ namespace Disco.Web.Areas.API.Controllers
|
||||
}
|
||||
[NonAction]
|
||||
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
|
||||
public virtual System.Web.Mvc.ActionResult TestComputerNameTemplate()
|
||||
{
|
||||
return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.TestComputerNameTemplate);
|
||||
}
|
||||
[NonAction]
|
||||
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
|
||||
public virtual System.Web.Mvc.ActionResult UpdateEnforceComputerNameConvention()
|
||||
{
|
||||
return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateEnforceComputerNameConvention);
|
||||
@@ -212,6 +218,7 @@ namespace Disco.Web.Areas.API.Controllers
|
||||
public readonly string UpdateOrganisationalUnit = "UpdateOrganisationalUnit";
|
||||
public readonly string UpdateDefaultOrganisationAddress = "UpdateDefaultOrganisationAddress";
|
||||
public readonly string UpdateComputerNameTemplate = "UpdateComputerNameTemplate";
|
||||
public readonly string TestComputerNameTemplate = "TestComputerNameTemplate";
|
||||
public readonly string UpdateEnforceComputerNameConvention = "UpdateEnforceComputerNameConvention";
|
||||
public readonly string UpdateEnforceOrganisationalUnit = "UpdateEnforceOrganisationalUnit";
|
||||
public readonly string UpdateProvisionADAccount = "UpdateProvisionADAccount";
|
||||
@@ -238,6 +245,7 @@ namespace Disco.Web.Areas.API.Controllers
|
||||
public const string UpdateOrganisationalUnit = "UpdateOrganisationalUnit";
|
||||
public const string UpdateDefaultOrganisationAddress = "UpdateDefaultOrganisationAddress";
|
||||
public const string UpdateComputerNameTemplate = "UpdateComputerNameTemplate";
|
||||
public const string TestComputerNameTemplate = "TestComputerNameTemplate";
|
||||
public const string UpdateEnforceComputerNameConvention = "UpdateEnforceComputerNameConvention";
|
||||
public const string UpdateEnforceOrganisationalUnit = "UpdateEnforceOrganisationalUnit";
|
||||
public const string UpdateProvisionADAccount = "UpdateProvisionADAccount";
|
||||
@@ -362,6 +370,16 @@ namespace Disco.Web.Areas.API.Controllers
|
||||
public readonly string ComputerNameTemplate = "ComputerNameTemplate";
|
||||
public readonly string redirect = "redirect";
|
||||
}
|
||||
static readonly ActionParamsClass_TestComputerNameTemplate s_params_TestComputerNameTemplate = new ActionParamsClass_TestComputerNameTemplate();
|
||||
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
|
||||
public ActionParamsClass_TestComputerNameTemplate TestComputerNameTemplateParams { get { return s_params_TestComputerNameTemplate; } }
|
||||
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
|
||||
public class ActionParamsClass_TestComputerNameTemplate
|
||||
{
|
||||
public readonly string id = "id";
|
||||
public readonly string ComputerNameTemplate = "ComputerNameTemplate";
|
||||
public readonly string UserSpecifiedDeviceSerialNumber = "UserSpecifiedDeviceSerialNumber";
|
||||
}
|
||||
static readonly ActionParamsClass_UpdateEnforceComputerNameConvention s_params_UpdateEnforceComputerNameConvention = new ActionParamsClass_UpdateEnforceComputerNameConvention();
|
||||
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
|
||||
public ActionParamsClass_UpdateEnforceComputerNameConvention UpdateEnforceComputerNameConventionParams { get { return s_params_UpdateEnforceComputerNameConvention; } }
|
||||
@@ -633,6 +651,20 @@ namespace Disco.Web.Areas.API.Controllers
|
||||
return callInfo;
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
partial void TestComputerNameTemplateOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, int id, string ComputerNameTemplate, string UserSpecifiedDeviceSerialNumber);
|
||||
|
||||
[NonAction]
|
||||
public override System.Web.Mvc.ActionResult TestComputerNameTemplate(int id, string ComputerNameTemplate, string UserSpecifiedDeviceSerialNumber)
|
||||
{
|
||||
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.TestComputerNameTemplate);
|
||||
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id);
|
||||
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ComputerNameTemplate", ComputerNameTemplate);
|
||||
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "UserSpecifiedDeviceSerialNumber", UserSpecifiedDeviceSerialNumber);
|
||||
TestComputerNameTemplateOverride(callInfo, id, ComputerNameTemplate, UserSpecifiedDeviceSerialNumber);
|
||||
return callInfo;
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
partial void UpdateEnforceComputerNameConventionOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, int id, string EnforceComputerNameConvention, bool? redirect);
|
||||
|
||||
|
||||
@@ -71,6 +71,12 @@ namespace Disco.Web.Areas.API.Controllers
|
||||
{
|
||||
return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UsersUpstream);
|
||||
}
|
||||
[NonAction]
|
||||
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
|
||||
public virtual System.Web.Mvc.ActionResult Devices()
|
||||
{
|
||||
return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Devices);
|
||||
}
|
||||
|
||||
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
|
||||
public SearchController Actions { get { return MVC.API.Search; } }
|
||||
@@ -89,6 +95,7 @@ namespace Disco.Web.Areas.API.Controllers
|
||||
{
|
||||
public readonly string QuickQuery = "QuickQuery";
|
||||
public readonly string UsersUpstream = "UsersUpstream";
|
||||
public readonly string Devices = "Devices";
|
||||
}
|
||||
|
||||
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
|
||||
@@ -96,6 +103,7 @@ namespace Disco.Web.Areas.API.Controllers
|
||||
{
|
||||
public const string QuickQuery = "QuickQuery";
|
||||
public const string UsersUpstream = "UsersUpstream";
|
||||
public const string Devices = "Devices";
|
||||
}
|
||||
|
||||
|
||||
@@ -117,6 +125,15 @@ namespace Disco.Web.Areas.API.Controllers
|
||||
public readonly string Term = "Term";
|
||||
public readonly string Limit = "Limit";
|
||||
}
|
||||
static readonly ActionParamsClass_Devices s_params_Devices = new ActionParamsClass_Devices();
|
||||
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
|
||||
public ActionParamsClass_Devices DevicesParams { get { return s_params_Devices; } }
|
||||
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
|
||||
public class ActionParamsClass_Devices
|
||||
{
|
||||
public readonly string Term = "Term";
|
||||
public readonly string Limit = "Limit";
|
||||
}
|
||||
static readonly ViewsClass s_views = new ViewsClass();
|
||||
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
|
||||
public ViewsClass Views { get { return s_views; } }
|
||||
@@ -162,6 +179,19 @@ namespace Disco.Web.Areas.API.Controllers
|
||||
return callInfo;
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
partial void DevicesOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string Term, int Limit);
|
||||
|
||||
[NonAction]
|
||||
public override System.Web.Mvc.ActionResult Devices(string Term, int Limit)
|
||||
{
|
||||
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Devices);
|
||||
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Term", Term);
|
||||
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Limit", Limit);
|
||||
DevicesOverride(callInfo, Term, Limit);
|
||||
return callInfo;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -592,6 +592,7 @@ namespace Links
|
||||
public const string UrlPath = "~/ClientSource/Style/FontAwesome";
|
||||
public static string Url() { return T4MVCHelpers.ProcessVirtualPath(UrlPath); }
|
||||
public static string Url(string fileName) { return T4MVCHelpers.ProcessVirtualPath(UrlPath + "/" + fileName); }
|
||||
public static readonly string animated_less = Url("animated.less");
|
||||
public static readonly string bordered_pulled_less = Url("bordered-pulled.less");
|
||||
public static readonly string core_less = Url("core.less");
|
||||
public static readonly string fixed_width_less = Url("fixed-width.less");
|
||||
@@ -600,6 +601,7 @@ namespace Links
|
||||
public static readonly string fontawesome_webfont_svg = Url("fontawesome-webfont.svg");
|
||||
public static readonly string fontawesome_webfont_ttf = Url("fontawesome-webfont.ttf");
|
||||
public static readonly string fontawesome_webfont_woff = Url("fontawesome-webfont.woff");
|
||||
public static readonly string fontawesome_webfont_woff2 = Url("fontawesome-webfont.woff2");
|
||||
public static readonly string FontAwesome_otf = Url("FontAwesome.otf");
|
||||
public static readonly string icons_less = Url("icons.less");
|
||||
public static readonly string larger_less = Url("larger.less");
|
||||
@@ -607,7 +609,7 @@ namespace Links
|
||||
public static readonly string mixins_less = Url("mixins.less");
|
||||
public static readonly string path_less = Url("path.less");
|
||||
public static readonly string rotated_flipped_less = Url("rotated-flipped.less");
|
||||
public static readonly string spinning_less = Url("spinning.less");
|
||||
public static readonly string screen_reader_less = Url("screen-reader.less");
|
||||
public static readonly string stacked_less = Url("stacked.less");
|
||||
public static readonly string variables_less = Url("variables.less");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user