public XboxLiveUser(Windows.System.User systemUser) { var user = new UserImpl(systemUser); // The UserImpl monitors the underlying system for sign out events // and notifies us that a user has been signed out. We can then // pass that event on the application with a concrete reference. user.SignInCompleted += (sender, args) => { OnSignInCompleted(this); }; user.SignOutCompleted += (sender, args) => { OnSignOutCompleted(this); }; this.userImpl = user; }
public User(Windows.System.User user) { _user = user; }
public XboxLiveUser(Windows.System.User systemUser) { this.userImpl = new UserImpl(SignInCompleted, SignOutCompleted, systemUser, this); }