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; } }
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; } }
void wp_LoadFullData(object sender, EventArguments.LoadFullLogEventArgs e) { OnLoadFullData(e); }