Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 93 lines (78 sloc) 3.599 kB
c787ed9 @davidebbo Initial T4MVC integration
davidebbo authored
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
7 #pragma warning disable 1591
8 #region T4MVC
9
de4e206 @Haacked Upgraded a few packages and fixed a merge error from earlier. :(
Haacked authored
10 using System;
6ab7223 Updating formatting to VS defaults
pranavkm authored
11 using System.Diagnostics;
de4e206 @Haacked Upgraded a few packages and fixed a merge error from earlier. :(
Haacked authored
12 using System.CodeDom.Compiler;
13 using System.Collections.Generic;
14 using System.Linq;
15 using System.Runtime.CompilerServices;
16 using System.Web;
17 using System.Web.Hosting;
c787ed9 @davidebbo Initial T4MVC integration
davidebbo authored
18 using System.Web.Mvc;
de4e206 @Haacked Upgraded a few packages and fixed a merge error from earlier. :(
Haacked authored
19 using System.Web.Mvc.Ajax;
20 using System.Web.Mvc.Html;
21 using System.Web.Routing;
c787ed9 @davidebbo Initial T4MVC integration
davidebbo authored
22 using T4MVC;
de4e206 @Haacked Upgraded a few packages and fixed a merge error from earlier. :(
Haacked authored
23 namespace NuGetGallery {
24 public partial class AuthenticationController {
c787ed9 @davidebbo Initial T4MVC integration
davidebbo authored
25 [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
26 protected AuthenticationController(Dummy d) { }
27
28 [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
de4e206 @Haacked Upgraded a few packages and fixed a merge error from earlier. :(
Haacked authored
29 protected RedirectToRouteResult RedirectToAction(ActionResult result) {
c787ed9 @davidebbo Initial T4MVC integration
davidebbo authored
30 var callInfo = result.GetT4MVCResult();
31 return RedirectToRoute(callInfo.RouteValueDictionary);
32 }
33
34 [NonAction]
35 [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
de4e206 @Haacked Upgraded a few packages and fixed a merge error from earlier. :(
Haacked authored
36 public System.Web.Mvc.ActionResult LogOff() {
c787ed9 @davidebbo Initial T4MVC integration
davidebbo authored
37 return new T4MVC_ActionResult(Area, Name, ActionNames.LogOff);
38 }
39
40 [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
41 public AuthenticationController Actions { get { return MVC.Authentication; } }
42 [GeneratedCode("T4MVC", "2.0")]
43 public readonly string Area = "";
44 [GeneratedCode("T4MVC", "2.0")]
45 public readonly string Name = "Authentication";
46
47 static readonly ActionNamesClass s_actions = new ActionNamesClass();
48 [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
49 public ActionNamesClass ActionNames { get { return s_actions; } }
50 [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
de4e206 @Haacked Upgraded a few packages and fixed a merge error from earlier. :(
Haacked authored
51 public class ActionNamesClass {
c787ed9 @davidebbo Initial T4MVC integration
davidebbo authored
52 public readonly string LogOn = "LogOn";
53 public readonly string LogOff = "LogOff";
54 }
55
56
57 static readonly ViewNames s_views = new ViewNames();
58 [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
59 public ViewNames Views { get { return s_views; } }
60 [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
de4e206 @Haacked Upgraded a few packages and fixed a merge error from earlier. :(
Haacked authored
61 public class ViewNames {
9d7862e @pranavkm Replacing RazorGenerator custom tool with msbuild task
pranavkm authored
62 public readonly string LogOn = "~/Views/Authentication/LogOn.cshtml";
c787ed9 @davidebbo Initial T4MVC integration
davidebbo authored
63 }
64 }
65
66 [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
de4e206 @Haacked Upgraded a few packages and fixed a merge error from earlier. :(
Haacked authored
67 public class T4MVC_AuthenticationController: NuGetGallery.AuthenticationController {
c787ed9 @davidebbo Initial T4MVC integration
davidebbo authored
68 public T4MVC_AuthenticationController() : base(Dummy.Instance) { }
69
de4e206 @Haacked Upgraded a few packages and fixed a merge error from earlier. :(
Haacked authored
70 public override System.Web.Mvc.ActionResult LogOn() {
c787ed9 @davidebbo Initial T4MVC integration
davidebbo authored
71 var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.LogOn);
72 return callInfo;
73 }
74
de4e206 @Haacked Upgraded a few packages and fixed a merge error from earlier. :(
Haacked authored
75 public override System.Web.Mvc.ActionResult LogOn(NuGetGallery.SignInRequest request, string returnUrl) {
c787ed9 @davidebbo Initial T4MVC integration
davidebbo authored
76 var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.LogOn);
77 callInfo.RouteValueDictionary.Add("request", request);
78 callInfo.RouteValueDictionary.Add("returnUrl", returnUrl);
79 return callInfo;
80 }
81
de4e206 @Haacked Upgraded a few packages and fixed a merge error from earlier. :(
Haacked authored
82 public override System.Web.Mvc.ActionResult LogOff(string returnUrl) {
c787ed9 @davidebbo Initial T4MVC integration
davidebbo authored
83 var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.LogOff);
84 callInfo.RouteValueDictionary.Add("returnUrl", returnUrl);
85 return callInfo;
86 }
87
88 }
89 }
90
91 #endregion T4MVC
92 #pragma warning restore 1591
Something went wrong with that request. Please try again.