// moved into it's own method to make it easier /safer to be re-written by the linker static void CreateRegistrar (InitializationOptions options) { #if XAMCORE_2_0 Registrar = new DynamicRegistrar (); #else if (options.UseOldDynamicRegistrar) { Registrar = new OldDynamicRegistrar (); } else { Registrar = new DynamicRegistrar (); } #endif }
// moved into it's own method to make it easier /safer to be re-written by the linker static void CreateRegistrar(InitializationOptions options) { #if XAMCORE_2_0 Registrar = new DynamicRegistrar(); #else if (options.UseOldDynamicRegistrar) { Registrar = new OldDynamicRegistrar(); } else { Registrar = new DynamicRegistrar(); } #endif }
// moved into it's own method to make it easier /safer to be re-written by the linker static void CreateRegistrar(InitializationOptions options) { Registrar = new DynamicRegistrar(); }