public StorageIndexChangeLogWatcherInitializationProgress(string area, ChangeCount count, long token, long latest, bool done) { Done = done; Area = area; Count = count; Token = token; Latest = latest; }
public InitializationState Add(long token, long latest, ChangeCount count, bool done) { this.done = done ? "Completed" : "Indexing"; this.count += count; this.token = token; this.latest = latest; return(this); }