コード例 #1
0
 public StationsController(IRail rail, IGoogle google, IStaticStations staticStations, ILogger <StationsController> logger)
 {
     _rail           = rail;
     _google         = google;
     _staticStations = staticStations;
     _logger         = logger;
 }
コード例 #2
0
ファイル: GoogleCheckout.aspx.cs プロジェクト: jaytem/minGit
    protected void Page_Load(object sender, EventArgs e)
    {
        googleManager = ObjectFactory.GetGoogle();

        googleManager.InitializeFromGateway();

        if (Request.ServerVariables["HTTP_REFERER"] != null && Request.ServerVariables["HTTP_REFERER"] != "")
        {

            googleManager.EditCartUrl = Request.ServerVariables["HTTP_REFERER"];
            googleManager.ContinueShoppingUrl = (Request.QueryString["shoppingURL"] != null ? Request.QueryString["shoppingURL"] : googleManager.EditCartUrl);

        }

        SetGoogleCheckout();
    }