public override IEnumerable <KeyValuePair <string, string> > GetLoadedOptionsPairs() { yield return(new KeyValuePair <string, string>("IP", Ip.ToString())); yield return(new KeyValuePair <string, string>("HTTP PORT", HttpPort.ToString())); yield return(new KeyValuePair <string, string>("STATS PERIOD SEC", StatsPeriodSec.ToString())); }
public override IEnumerable <KeyValuePair <string, string> > GetLoadedOptionsPairs() { foreach (var pair in base.GetLoadedOptionsPairs()) { yield return(pair); } yield return(new KeyValuePair <string, string>("IP", Ip.ToString())); yield return(new KeyValuePair <string, string>("TCP PORT", TcpPort.ToString())); yield return(new KeyValuePair <string, string>("HTTP PORT", HttpPort.ToString())); yield return(new KeyValuePair <string, string>("STATS PERIOD SEC", StatsPeriodSec.ToString())); yield return(new KeyValuePair <string, string>("CHUNK CACHE", ChunksToCache.ToString())); yield return(new KeyValuePair <string, string>("DB PATH", string.IsNullOrEmpty(DbPath) ? "<DEFAULT>" : DbPath)); yield return(new KeyValuePair <string, string>("NO PROJECTIONS", NoProjections.ToString())); yield return(new KeyValuePair <string, string>("PROJECTION THREADS", ProjectionThreads.ToString())); }