Class ProfileViewDialog
Dialog for viewing a user's server profile. Shows Edit Profile / Set Status buttons when viewing own profile.
public sealed class ProfileViewDialog
- Inheritance
-
ProfileViewDialog
- Inherited Members
Constructors
ProfileViewDialog()
public ProfileViewDialog()
Methods
Show(IApplication, UserProfileDto?)
Show a read-only profile view for another user.
public static void Show(IApplication app, UserProfileDto? profile)
Parameters
appIApplicationprofileUserProfileDto
ShowOwn(IApplication, UserProfileDto?, UserStatus, string?)
Show the profile view for the current user with action buttons. Returns the action the user selected.
public static ProfileAction ShowOwn(IApplication app, UserProfileDto? profile, UserStatus currentStatus, string? currentStatusMessage)
Parameters
appIApplicationprofileUserProfileDtocurrentStatusUserStatuscurrentStatusMessagestring