Class XboxLiveProfileViewModel
View Model for the XboxLiveProfileWindow.
Inheritance
Namespace: Phoenix.Users
Assembly: Phoenix.Plugin.Users.dll
Syntax
public class XboxLiveProfileViewModel : BindableBase
Constructors
View SourceXboxLiveProfileViewModel(SerializableUser, IPhoenixLogger)
Initializes a new instance of the XboxLiveProfileViewModel class.
Declaration
public XboxLiveProfileViewModel(SerializableUser user, IPhoenixLogger logger)
Parameters
Type | Name | Description |
---|---|---|
SerializableUser | user | The user to view the profile of. |
IPhoenixLogger | logger | The logger. |
Properties
View SourceChangeGamertagCommand
Gets the command to change the gamertag.
Declaration
public AsyncDelegateCommand ChangeGamertagCommand { get; }
Property Value
Type | Description |
---|---|
AsyncDelegateCommand |
CloseAction
Gets or sets an action used to close the associated window.
Declaration
public Action<bool> CloseAction { get; set; }
Property Value
Type | Description |
---|---|
System.Action<System.Boolean> |
CloseCommand
Gets the command to close the window.
Declaration
public DelegateCommand CloseCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
CommsRep
Gets or sets the comms reputation.
Declaration
public int CommsRep { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
FairplayRep
Gets or sets the fairplay reputation.
Declaration
public int FairplayRep { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
FollowUserCommand
Gets the command to follow a user.
Declaration
public AsyncDelegateCommand FollowUserCommand { get; }
Property Value
Type | Description |
---|---|
AsyncDelegateCommand |
GamerPic
Gets the gamers picture.
Declaration
public BitmapImage GamerPic { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Imaging.BitmapImage |
GetReputationCommand
Gets the command to get the reputation of the user.
Declaration
public AsyncDelegateCommand GetReputationCommand { get; }
Property Value
Type | Description |
---|---|
AsyncDelegateCommand |
IsGamerPicLoading
Gets a value indicating whether the gamer pic is loading.
Declaration
public bool IsGamerPicLoading { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRefreshingFriends
Gets a value indicating whether the friends list is refreshing.
Declaration
public bool IsRefreshingFriends { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRefreshingProfile
Gets a value indicating whether the profile is refreshing.
Declaration
public bool IsRefreshingProfile { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRefreshingReputation
Gets a value indicating whether the reputation is refreshing.
Declaration
public bool IsRefreshingReputation { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
JointPeopleList
Gets the combined collection of users who are being followed and who are being blocked.
Declaration
public ObservableCollection<UserInfo> JointPeopleList { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<UserInfo> |
Logger
Gets the Logger associated with the application.
Declaration
public IPhoenixLogger Logger { get; }
Property Value
Type | Description |
---|---|
IPhoenixLogger |
NewGamertag
Gets or sets the new gamertag.
Declaration
public string NewGamertag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Profile
Gets the users profile.
Declaration
public UserInfo Profile { get; }
Property Value
Type | Description |
---|---|
UserInfo |
RefreshCommand
Gets the command to refresh the profile.
Declaration
public AsyncDelegateCommand RefreshCommand { get; }
Property Value
Type | Description |
---|---|
AsyncDelegateCommand |
RemoveUserCommand
Gets the command to remove a user from the follow list.
Declaration
public AsyncDelegateCommand<UserInfo> RemoveUserCommand { get; }
Property Value
Type | Description |
---|---|
AsyncDelegateCommand<UserInfo> |
Reputation
Gets the users reputation.
Declaration
public Reputation Reputation { get; }
Property Value
Type | Description |
---|---|
Reputation |
SCID
Gets or sets the SCID to get the reputation with.
Declaration
public string SCID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SetBadRepCommand
Gets the command to set bad rep levels.
Declaration
public DelegateCommand SetBadRepCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
SetGoodRepCommand
Gets the command to set good rep levels.
Declaration
public DelegateCommand SetGoodRepCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
SetReputationCommand
Gets the command to set the reputation of the user.
Declaration
public AsyncDelegateCommand SetReputationCommand { get; }
Property Value
Type | Description |
---|---|
AsyncDelegateCommand |
ToggleBlockedCommand
Gets the command to toggle the blocked status of another user.
Declaration
public AsyncDelegateCommand<UserInfo> ToggleBlockedCommand { get; }
Property Value
Type | Description |
---|---|
AsyncDelegateCommand<UserInfo> |
ToggleFavoritedCommand
Gets the command to toggle the favorite status of another user.
Declaration
public AsyncDelegateCommand<UserInfo> ToggleFavoritedCommand { get; }
Property Value
Type | Description |
---|---|
AsyncDelegateCommand<UserInfo> |
UgcRep
Gets or sets the user generated content reputation.
Declaration
public int UgcRep { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
User
Gets the user.
Declaration
public SerializableUser User { get; }
Property Value
Type | Description |
---|---|
SerializableUser |