Пример #1
0
 private void fullDataRequest(bool persist)
 {
     if (!FullDataLoaded)
     {
         if (!_loadingFullData && LoadFullData != null)
         {
             _loadingFullData = true;
             _fullLoadLog.ID = this.ID;
             if (!persist)
             {
                 _fullLoadLog._tbCode = this._tbCode;
                 _fullLoadLog._finderId = this._finderId;
                 _fullLoadLog._text = this._text;
                 _fullLoadLog._encoded = this._encoded;
             }
             var e = new EventArguments.LoadFullLogEventArgs(this);
             LoadFullData(this, e);
             _fullLoadLog._tbCode = e.TBCode;
             _fullLoadLog._finderId = e.FinderId;
             _fullLoadLog._text = e.Text;
             _fullLoadLog._encoded = e.Encoded;
             _loadingFullData = false;
             if (persist)
             {
                 this._tbCode = e.TBCode;
                 this._finderId = e.FinderId;
                 this._text = e.Text;
                 this._encoded = e.Encoded;
                 FullDataLoaded = true;
             }
         }
     }
     else
     {
         _fullLoadLog._tbCode = this._tbCode;
         _fullLoadLog._finderId = this._finderId;
         _fullLoadLog._text = this._text;
         _fullLoadLog._encoded = this._encoded;
     }
 }
Пример #2
0
 private void fullDataRequest(bool persist)
 {
     if (!FullDataLoaded)
     {
         if (!_loadingFullData && LoadFullData != null)
         {
             _loadingFullData = true;
             _fullLoadLog.ID  = this.ID;
             if (!persist)
             {
                 _fullLoadLog._tbCode   = this._tbCode;
                 _fullLoadLog._finderId = this._finderId;
                 _fullLoadLog._text     = this._text;
                 _fullLoadLog._encoded  = this._encoded;
             }
             var e = new EventArguments.LoadFullLogEventArgs(this);
             LoadFullData(this, e);
             _fullLoadLog._tbCode   = e.TBCode;
             _fullLoadLog._finderId = e.FinderId;
             _fullLoadLog._text     = e.Text;
             _fullLoadLog._encoded  = e.Encoded;
             _loadingFullData       = false;
             if (persist)
             {
                 this._tbCode   = e.TBCode;
                 this._finderId = e.FinderId;
                 this._text     = e.Text;
                 this._encoded  = e.Encoded;
                 FullDataLoaded = true;
             }
         }
     }
     else
     {
         _fullLoadLog._tbCode   = this._tbCode;
         _fullLoadLog._finderId = this._finderId;
         _fullLoadLog._text     = this._text;
         _fullLoadLog._encoded  = this._encoded;
     }
 }
Пример #3
0
 void wp_LoadFullData(object sender, EventArguments.LoadFullLogEventArgs e)
 {
     OnLoadFullData(e);
 }