示例#1
0
 public static GeneralConfiguration Clone(GeneralConfiguration configuration)
 {
     return(new GeneralConfiguration
     {
         ShowNumericalScore = configuration.ShowNumericalScore,
         ScorePerQuestion = configuration.ScorePerQuestion
     });
 }
 public static Configuration Clone(Configuration configuration)
 {
     return(new Configuration
     {
         General = GeneralConfiguration.Clone(configuration.General),
         Update = UpdateConfiguration.Clone(configuration.Update)
     });
 }