示例#1
0
		// 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
		}
示例#2
0
        // 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
        }
示例#3
0
 // 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();
 }