Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5aee8b77da
Fetching contributors…

Cannot retrieve contributors at this time

93 lines (78 sloc) 3.599 kb
// <auto-generated />
// 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;
namespace NuGetGallery {
public partial class AuthenticationController {
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
protected AuthenticationController(Dummy d) { }
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
protected RedirectToRouteResult RedirectToAction(ActionResult result) {
var callInfo = result.GetT4MVCResult();
return RedirectToRoute(callInfo.RouteValueDictionary);
}
[NonAction]
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public System.Web.Mvc.ActionResult LogOff() {
return new T4MVC_ActionResult(Area, Name, ActionNames.LogOff);
}
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public AuthenticationController Actions { get { return MVC.Authentication; } }
[GeneratedCode("T4MVC", "2.0")]
public readonly string Area = "";
[GeneratedCode("T4MVC", "2.0")]
public readonly string Name = "Authentication";
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 LogOn = "LogOn";
public readonly string LogOff = "LogOff";
}
static readonly ViewNames s_views = new ViewNames();
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public ViewNames Views { get { return s_views; } }
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public class ViewNames {
public readonly string LogOn = "~/Views/Authentication/LogOn.cshtml";
}
}
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
public class T4MVC_AuthenticationController: NuGetGallery.AuthenticationController {
public T4MVC_AuthenticationController() : base(Dummy.Instance) { }
public override System.Web.Mvc.ActionResult LogOn() {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.LogOn);
return callInfo;
}
public override System.Web.Mvc.ActionResult LogOn(NuGetGallery.SignInRequest request, string returnUrl) {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.LogOn);
callInfo.RouteValueDictionary.Add("request", request);
callInfo.RouteValueDictionary.Add("returnUrl", returnUrl);
return callInfo;
}
public override System.Web.Mvc.ActionResult LogOff(string returnUrl) {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.LogOff);
callInfo.RouteValueDictionary.Add("returnUrl", returnUrl);
return callInfo;
}
}
}
#endregion T4MVC
#pragma warning restore 1591
Jump to Line
Something went wrong with that request. Please try again.