Exemple #1
0
 public static void Register(CorrectorConfigurations configuration)
 {
     if (_singleton == null)
     {
         _singleton = configuration;
     }
     else
     {
         ConfigsHolder.CopyTo(configuration, _singleton);
     }
 }
Exemple #2
0
 public static void Register(MiscellaneousConfigurations miscellaneous)
 {
     if (_singleton == null)
     {
         _singleton = miscellaneous;
     }
     else
     {
         ConfigsHolder.CopyTo(miscellaneous, _singleton);
     }
 }
 public static void Register(SliceConfigurations sliceConfigurations)
 {
     if (_singleton == null)
     {
         _singleton = sliceConfigurations;
     }
     else
     {
         ConfigsHolder.CopyTo(sliceConfigurations, _singleton);
     }
 }
 public static void Register(GeneralConfigurations generalConfigurations)
 {
     if (_singleton == null)
     {
         _singleton = generalConfigurations;
     }
     else
     {
         ConfigsHolder.CopyTo(generalConfigurations, _singleton);
     }
 }