Ejemplo n.º 1
0
 public User(Token token)
 {
     this.Token = token;
     this.Id = Guid.NewGuid();
     this.DismissedLocationPopup = false;
     this.DismissedRateAppPopup = false;
     this.DismissedSignUpPopup = false;
     this.DismissedLoginUberPopup = false;
     this.IsBumbleRegistered = false;
     this.IsUberAuthenticated = false;
     this.Email = null;
     this.AppUsageCount = 0;
 }
Ejemplo n.º 2
0
 public User(Guid id, Token token, Country country, bool dismissedLocationPopup, Coordinate location, DateTime? lastLocationUpdate, bool dismissedRateAppPopup, bool dismissedSignUpPopup, bool isBumbleRegistered, Email email, string firstName, string lastName, bool isFacebookRegistered, bool isTwitterRegistered, FacebookInfo facebookInfo, TwitterInfo twitterInfo, string twitterHandle, int appUsageCount, bool dismissedLoginUberPopup, UberInfo uberInfo, bool isUberAuthenticated)
     : this(id, token)
 {
     this.Country = country;
     this.DismissedLocationPopup = dismissedLocationPopup;
     this.LastKnownGeneralLocation = location;
     this.LastLocationUpdate = lastLocationUpdate;
     this.DismissedRateAppPopup = dismissedRateAppPopup;
     this.DismissedSignUpPopup = dismissedSignUpPopup;
     this.DismissedLoginUberPopup = dismissedLoginUberPopup;
     this.IsBumbleRegistered = isBumbleRegistered;
     this.Email = email;
     this.FirstName = firstName;
     this.LastName = lastName;
     this.IsFacebookRegistered = isFacebookRegistered;
     this.IsTwitterRegistered = isTwitterRegistered;
     this.IsUberAuthenticated = isUberAuthenticated;
     this.FacebookInfo = facebookInfo;
     this.TwitterInfo = twitterInfo;
     this.UberInfo = uberInfo;
     this.TwitterHandle = twitterHandle;
     this.AppUsageCount = appUsageCount;
 }
Ejemplo n.º 3
0
 public User(Guid id, Token token)
     : this (token)
 {
     this.Id = id;
 }