internal void LoginServiceProvider(Page page, ApplicationContext application, Device device) { if (IsGoogle(application)) { //Page and login method } }
public MemberLogonUnitTests() { LogonState = new MemberLogon(); MobileDevice = new Device(AppConstants.IphoneSix); DesktopDevice = new Device(AppConstants.Desktop); TestPropertiesList = new AccessValues<string, Page> { {AppConstants.DeviceTypeMobile,Page}, {AppConstants.Desktop, Page} }; TestPropertiesReturnMobile = new AccessValues<string, Page> { {AppConstants.DeviceTypeMobile, Page} }; TestPropertiesReturnDesktop = new AccessValues<string, Page> { {AppConstants.Desktop, Page} }; }