internal AWSOptions Clone() { MemoryStream stream = new MemoryStream(); base.write(stream); stream.Seek(0, SeekOrigin.Begin); return(JSONConfig <AWSOptions> .load(stream)); }
internal static AWSOptions load() { logger.Info("Loading AWS options from " + CONFIG_FILE); return(JSONConfig <AWSOptions> .load(CONFIG_FILE)); }
internal static GeneralOptions load() { logger.Info("Loading general options from " + CONFIG_FILE); return(JSONConfig <GeneralOptions> .load(CONFIG_FILE).withRandomized()); }