maintenance: update T4MVC

This commit is contained in:
Gary Sharp
2022-12-04 13:45:16 +11:00
parent 983bdbefb9
commit 51cebd0706
54 changed files with 1757 additions and 563 deletions
@@ -3,8 +3,10 @@
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
// Make sure the compiler doesn't complain about missing Xml comments
#pragma warning disable 1591
// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
#pragma warning disable 1591, 3008, 3009, 0108, 0114
#region T4MVC
using System;
@@ -78,7 +80,7 @@ namespace Disco.Web.Areas.API.Controllers
public readonly string Name = "Search";
[GeneratedCode("T4MVC", "2.0")]
public const string NameConst = "Search";
[GeneratedCode("T4MVC", "2.0")]
static readonly ActionNamesClass s_actions = new ActionNamesClass();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ActionNamesClass ActionNames { get { return s_actions; } }
@@ -164,4 +166,4 @@ namespace Disco.Web.Areas.API.Controllers
}
#endregion T4MVC
#pragma warning restore 1591
#pragma warning restore 1591, 3008, 3009, 0108, 0114