Example #1
0
 /// <summary>Resets object state to default, as if newly created.
 /// </summary>
 protected virtual void Reset()
 {
     this.query           = this.author = this.oauthRequestorId = String.Empty;
     this.categories      = null;
     this.datetimeMax     = this.datetimeMin = Utilities.EmptyDate;
     this.MinPublication  = this.MaxPublication = Utilities.EmptyDate;
     this.ifModifiedSince = DateTime.MinValue;
     this.startIndex      = this.numToRetrieve = 0;
     this.altFormat       = AlternativeFormat.Atom;
 }
Example #2
0
 /// <summary>Resets object state to default, as if newly created.
 /// </summary>
 protected virtual void Reset()
 {
     _query           = _author = _oauthRequestorId = String.Empty;
     _categories      = null;
     _datetimeMax     = _datetimeMin = Utilities.EmptyDate;
     MinPublication   = MaxPublication = Utilities.EmptyDate;
     _ifModifiedSince = DateTime.MinValue;
     _startIndex      = _numToRetrieve = 0;
     _altFormat       = AlternativeFormat.Atom;
 }