|
| 1 | +// <auto-generated /> |
| 2 | +// This file was generated by a T4 template. |
| 3 | +// Don't change it directly as your change would get overwritten. Instead, make changes |
| 4 | +// to the .tt file (i.e. the T4 template) and save it to regenerate this file. |
| 5 | + |
| 6 | +// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance |
| 7 | +// 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 |
| 8 | +// 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 |
| 9 | +#pragma warning disable 1591, 3008, 3009, 0108, 0114 |
| 10 | +#region T4MVC |
| 11 | + |
| 12 | +using System; |
| 13 | +using System.Diagnostics; |
| 14 | +using System.CodeDom.Compiler; |
| 15 | +using System.Collections.Generic; |
| 16 | +using System.Linq; |
| 17 | +using System.Runtime.CompilerServices; |
| 18 | +using System.Threading.Tasks; |
| 19 | +using System.Web; |
| 20 | +using System.Web.Hosting; |
| 21 | +using System.Web.Mvc; |
| 22 | +using System.Web.Mvc.Ajax; |
| 23 | +using System.Web.Mvc.Html; |
| 24 | +using System.Web.Routing; |
| 25 | +using T4MVC; |
| 26 | + |
| 27 | +[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] |
| 28 | +public static partial class MVC |
| 29 | +{ |
| 30 | + public static T4MVC.AccountController Account = new T4MVC.AccountController(); |
| 31 | + public static T4MVC.HomeController Home = new T4MVC.HomeController(); |
| 32 | + public static T4MVC.ManageController Manage = new T4MVC.ManageController(); |
| 33 | + public static T4MVC.SharedController Shared = new T4MVC.SharedController(); |
| 34 | +} |
| 35 | + |
| 36 | +namespace T4MVC |
| 37 | +{ |
| 38 | +} |
| 39 | + |
| 40 | +namespace T4MVC |
| 41 | +{ |
| 42 | + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] |
| 43 | + public class Dummy |
| 44 | + { |
| 45 | + private Dummy() { } |
| 46 | + public static Dummy Instance = new Dummy(); |
| 47 | + } |
| 48 | +} |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | +namespace Links |
| 54 | +{ |
| 55 | + |
| 56 | + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] |
| 57 | + public static partial class Bundles |
| 58 | + { |
| 59 | + } |
| 60 | +} |
| 61 | + |
| 62 | +[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] |
| 63 | +internal static class T4MVCHelpers { |
| 64 | + // You can change the ProcessVirtualPath method to modify the path that gets returned to the client. |
| 65 | + // e.g. you can prepend a domain, or append a query string: |
| 66 | + // return "http://localhost" + path + "?foo=bar"; |
| 67 | + private static string ProcessVirtualPathDefault(string virtualPath) { |
| 68 | + // The path that comes in starts with ~/ and must first be made absolute |
| 69 | + string path = VirtualPathUtility.ToAbsolute(virtualPath); |
| 70 | + |
| 71 | + // Add your own modifications here before returning the path |
| 72 | + return path; |
| 73 | + } |
| 74 | + |
| 75 | + // Calling ProcessVirtualPath through delegate to allow it to be replaced for unit testing |
| 76 | + public static Func<string, string> ProcessVirtualPath = ProcessVirtualPathDefault; |
| 77 | + |
| 78 | + // Calling T4Extension.TimestampString through delegate to allow it to be replaced for unit testing and other purposes |
| 79 | + public static Func<string, string> TimestampString = System.Web.Mvc.T4Extensions.TimestampString; |
| 80 | + |
| 81 | + // Logic to determine if the app is running in production or dev environment |
| 82 | + public static bool IsProduction() { |
| 83 | + return (HttpContext.Current != null && !HttpContext.Current.IsDebuggingEnabled); |
| 84 | + } |
| 85 | +} |
| 86 | + |
| 87 | + |
| 88 | +namespace T4MVC |
| 89 | +{ |
| 90 | + public class AccountController |
| 91 | + { |
| 92 | + |
| 93 | + static readonly ViewsClass s_views = new ViewsClass(); |
| 94 | + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] |
| 95 | + public ViewsClass Views { get { return s_views; } } |
| 96 | + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] |
| 97 | + public class ViewsClass |
| 98 | + { |
| 99 | + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); |
| 100 | + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } |
| 101 | + public class _ViewNamesClass |
| 102 | + { |
| 103 | + public readonly string ConfirmEmail = "ConfirmEmail"; |
| 104 | + public readonly string ExternalLoginConfirmation = "ExternalLoginConfirmation"; |
| 105 | + public readonly string ExternalLoginFailure = "ExternalLoginFailure"; |
| 106 | + public readonly string ForgotPassword = "ForgotPassword"; |
| 107 | + public readonly string ForgotPasswordConfirmation = "ForgotPasswordConfirmation"; |
| 108 | + public readonly string Lockout = "Lockout"; |
| 109 | + public readonly string Login = "Login"; |
| 110 | + public readonly string Register = "Register"; |
| 111 | + public readonly string ResetPassword = "ResetPassword"; |
| 112 | + public readonly string ResetPasswordConfirmation = "ResetPasswordConfirmation"; |
| 113 | + public readonly string SendCode = "SendCode"; |
| 114 | + public readonly string VerifyCode = "VerifyCode"; |
| 115 | + } |
| 116 | + public readonly string ConfirmEmail = "~/Views/Account/ConfirmEmail.cshtml"; |
| 117 | + public readonly string ExternalLoginConfirmation = "~/Views/Account/ExternalLoginConfirmation.cshtml"; |
| 118 | + public readonly string ExternalLoginFailure = "~/Views/Account/ExternalLoginFailure.cshtml"; |
| 119 | + public readonly string ForgotPassword = "~/Views/Account/ForgotPassword.cshtml"; |
| 120 | + public readonly string ForgotPasswordConfirmation = "~/Views/Account/ForgotPasswordConfirmation.cshtml"; |
| 121 | + public readonly string Lockout = "~/Views/Account/Lockout.cshtml"; |
| 122 | + public readonly string Login = "~/Views/Account/Login.cshtml"; |
| 123 | + public readonly string Register = "~/Views/Account/Register.cshtml"; |
| 124 | + public readonly string ResetPassword = "~/Views/Account/ResetPassword.cshtml"; |
| 125 | + public readonly string ResetPasswordConfirmation = "~/Views/Account/ResetPasswordConfirmation.cshtml"; |
| 126 | + public readonly string SendCode = "~/Views/Account/SendCode.cshtml"; |
| 127 | + public readonly string VerifyCode = "~/Views/Account/VerifyCode.cshtml"; |
| 128 | + } |
| 129 | + } |
| 130 | + |
| 131 | +} |
| 132 | + |
| 133 | +namespace T4MVC |
| 134 | +{ |
| 135 | + public class HomeController |
| 136 | + { |
| 137 | + |
| 138 | + static readonly ViewsClass s_views = new ViewsClass(); |
| 139 | + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] |
| 140 | + public ViewsClass Views { get { return s_views; } } |
| 141 | + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] |
| 142 | + public class ViewsClass |
| 143 | + { |
| 144 | + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); |
| 145 | + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } |
| 146 | + public class _ViewNamesClass |
| 147 | + { |
| 148 | + public readonly string About = "About"; |
| 149 | + public readonly string Contact = "Contact"; |
| 150 | + public readonly string Index = "Index"; |
| 151 | + } |
| 152 | + public readonly string About = "~/Views/Home/About.cshtml"; |
| 153 | + public readonly string Contact = "~/Views/Home/Contact.cshtml"; |
| 154 | + public readonly string Index = "~/Views/Home/Index.cshtml"; |
| 155 | + } |
| 156 | + } |
| 157 | + |
| 158 | +} |
| 159 | + |
| 160 | +namespace T4MVC |
| 161 | +{ |
| 162 | + public class ManageController |
| 163 | + { |
| 164 | + |
| 165 | + static readonly ViewsClass s_views = new ViewsClass(); |
| 166 | + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] |
| 167 | + public ViewsClass Views { get { return s_views; } } |
| 168 | + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] |
| 169 | + public class ViewsClass |
| 170 | + { |
| 171 | + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); |
| 172 | + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } |
| 173 | + public class _ViewNamesClass |
| 174 | + { |
| 175 | + public readonly string AddPhoneNumber = "AddPhoneNumber"; |
| 176 | + public readonly string ChangePassword = "ChangePassword"; |
| 177 | + public readonly string Index = "Index"; |
| 178 | + public readonly string ManageLogins = "ManageLogins"; |
| 179 | + public readonly string SetPassword = "SetPassword"; |
| 180 | + public readonly string VerifyPhoneNumber = "VerifyPhoneNumber"; |
| 181 | + } |
| 182 | + public readonly string AddPhoneNumber = "~/Views/Manage/AddPhoneNumber.cshtml"; |
| 183 | + public readonly string ChangePassword = "~/Views/Manage/ChangePassword.cshtml"; |
| 184 | + public readonly string Index = "~/Views/Manage/Index.cshtml"; |
| 185 | + public readonly string ManageLogins = "~/Views/Manage/ManageLogins.cshtml"; |
| 186 | + public readonly string SetPassword = "~/Views/Manage/SetPassword.cshtml"; |
| 187 | + public readonly string VerifyPhoneNumber = "~/Views/Manage/VerifyPhoneNumber.cshtml"; |
| 188 | + } |
| 189 | + } |
| 190 | + |
| 191 | +} |
| 192 | + |
| 193 | +namespace T4MVC |
| 194 | +{ |
| 195 | + public class SharedController |
| 196 | + { |
| 197 | + |
| 198 | + static readonly ViewsClass s_views = new ViewsClass(); |
| 199 | + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] |
| 200 | + public ViewsClass Views { get { return s_views; } } |
| 201 | + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] |
| 202 | + public class ViewsClass |
| 203 | + { |
| 204 | + static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass(); |
| 205 | + public _ViewNamesClass ViewNames { get { return s_ViewNames; } } |
| 206 | + public class _ViewNamesClass |
| 207 | + { |
| 208 | + public readonly string _Layout = "_Layout"; |
| 209 | + public readonly string _LoginPartial = "_LoginPartial"; |
| 210 | + public readonly string _ValidationScriptsPartial = "_ValidationScriptsPartial"; |
| 211 | + public readonly string Error = "Error"; |
| 212 | + } |
| 213 | + public readonly string _Layout = "~/Views/Shared/_Layout.cshtml"; |
| 214 | + public readonly string _LoginPartial = "~/Views/Shared/_LoginPartial.cshtml"; |
| 215 | + public readonly string _ValidationScriptsPartial = "~/Views/Shared/_ValidationScriptsPartial.cshtml"; |
| 216 | + public readonly string Error = "~/Views/Shared/Error.cshtml"; |
| 217 | + } |
| 218 | + } |
| 219 | + |
| 220 | +} |
| 221 | + |
| 222 | + |
| 223 | + |
| 224 | + |
| 225 | +#endregion T4MVC |
| 226 | +#pragma warning restore 1591, 3008, 3009, 0108, 0114 |
0 commit comments