public ProfileDbDataService() { this._profileRepository = (IProfileDbRepository)Mvx.get_IoCProvider().Resolve <IProfileDbRepository>(); this._tokenInfoRepository = (ITokenInfoDbRepository)Mvx.get_IoCProvider().Resolve <ITokenInfoDbRepository>(); this._pushSettingsRepository = (IPushSettingsDbRepository)Mvx.get_IoCProvider().Resolve <IPushSettingsDbRepository>(); this._secureStore = (ISecureStore)Mvx.get_IoCProvider().Resolve <ISecureStore>(); this._globalMobileApi = (IGlobalMobileApi)Mvx.get_IoCProvider().Resolve <IGlobalMobileApi>(); this._mobileApi = (IMobileApi)Mvx.get_IoCProvider().Resolve <IMobileApi>(); this._pushNotificationHandler = (IPushNotificationHandler)Mvx.get_IoCProvider().Resolve <IPushNotificationHandler>(); this._pushNotificationPlatformSpecificService = (IPushNotificationPlatformSpecificService)Mvx.get_IoCProvider().Resolve <IPushNotificationPlatformSpecificService>(); }
public AuthDbMessageHandler( IDbMobileApi mobileApi, ISecureStore secureStore, ProfileRealm profile, HttpMessageHandler handler) : base(handler) { this._mobileApi = mobileApi; this._secureStore = secureStore; this._profile = profile; this._tokenInfoRepository = (ITokenInfoDbRepository)Mvx.get_IoCProvider().Resolve <ITokenInfoDbRepository>(); }