Пример #1
0
        internal AWSOptions Clone()
        {
            MemoryStream stream = new MemoryStream();

            base.write(stream);
            stream.Seek(0, SeekOrigin.Begin);
            return(JSONConfig <AWSOptions> .load(stream));
        }
Пример #2
0
 internal static AWSOptions load()
 {
     logger.Info("Loading AWS options from " + CONFIG_FILE);
     return(JSONConfig <AWSOptions> .load(CONFIG_FILE));
 }
Пример #3
0
 internal static GeneralOptions load()
 {
     logger.Info("Loading general options from " + CONFIG_FILE);
     return(JSONConfig <GeneralOptions> .load(CONFIG_FILE).withRandomized());
 }