コード例 #1
0
ファイル: PageBase.cs プロジェクト: tomochandv/Test
        public PageBase()
        {
            if (true == this.DesignMode) return;

            this._environment = eBayEnvironment.Instance;
            this._context = this.CreateContext();
        }
コード例 #2
0
        protected override string TryAuth(string methodName, RequestContractBase req)
        {
            if (null == this.AppContext) this._context = this.CreateContext();

            return (true == this.AppContext.IsLogged()) ? this.AppContext.MemberId : string.Empty;
        }
コード例 #3
0
 public ServiceContractBase()
 {
     this.context = new eBayHttpContext();
     this.CheckLogin();
 }
コード例 #4
0
ファイル: WebServiceBase.cs プロジェクト: tomochandv/Test
 protected WebServicesBase()
     : base()
 {
     this.context = new eBayHttpContext();
     this.CheckLogin();
 }