Esempio n. 1
0
        static EmailManager()
        {
            ReignServices.CheckStatus();

                        #if !DISABLE_REIGN
                        #if UNITY_EDITOR
            plugin = new EmailPlugin();
                        #elif UNITY_WINRT
            plugin = new EmailPlugin_WinRT();
                        #elif UNITY_ANDROID
            plugin = new EmailPlugin_Android();
                        #elif UNITY_IOS
            plugin = new EmailPlugin_iOS();
                        #elif UNITY_BLACKBERRY
            plugin = new EmailPlugin_BB10();
                        #elif UNITY_STANDALONE_WIN
            plugin = new EmailPlugin_Win32();
                        #else
            plugin = new EmailPlugin_Dumy();
                        #endif
                        #endif
        }
		static EmailManager()
		{
			ReignServices.CheckStatus();
			
			#if !DISABLE_REIGN
			#if UNITY_EDITOR
			plugin = new EmailPlugin();
			#elif UNITY_WINRT
			plugin = new EmailPlugin_WinRT();
			#elif UNITY_ANDROID
			plugin = new EmailPlugin_Android();
			#elif UNITY_IOS
			plugin = new EmailPlugin_iOS();
			#elif UNITY_BLACKBERRY
			plugin = new EmailPlugin_BB10();
			#elif UNITY_STANDALONE_WIN
			plugin = new EmailPlugin_Win32();
			#else
			plugin = new EmailPlugin_Dumy();
			#endif
			#endif
		}
 public UserManager(IModelFactory modelFactory, IUserStore<ApplicationUser> store,IEmailPlugin emailPlugin)
     : base(store)
 {
     _modelFactory = modelFactory;
 }