예제 #1
0
        public Engine()
        {
            if (SystemConstants.EngineUseTestClasses)
            {
                UserAccessLocalTest userAccessLocalTest = new UserAccessLocalTest ();
                UserAccess = userAccessLocalTest;
                AvatarAccess = new AvatarAccessLocalTest ();
                CheckInAccess = new CheckInAccessLocalTest (userAccessLocalTest.CachedUserList);
            }

            else
            {
                ClientWrapper clientWrapper = new ClientWrapper ();
                UserAccess = new WebserviceUserAccess (clientWrapper);
                AvatarAccess = new WebserviceAvatarAccess (clientWrapper);
                CheckInAccess = new WebserviceCheckInAccess (clientWrapper);
            }

            PlaceLocator = new XamarinEvolveSSLibrary.GoogleAPI.PlaceLocator ();
            ImageCache = new XamarinEvolveSSLibrary.ImageCache ();
        }
 public WebserviceUserAccess(ClientWrapper clientWrapper)
 {
     _clientWrapper = clientWrapper;
 }
 public WebserviceCheckInAccess(ClientWrapper clientWrapper)
 {
     _clientWrapper = clientWrapper;
 }