public MainWindow() { InitializeComponent(); logger = new RtbLogger(rtbConsole); profileConnection = new ProfileConnection(logger); InitBindings(); }
public ProfileInformation(ProfileConnection profileConnection) { Username = profileConnection.GetCurrentUserName(); IsAdmin = profileConnection.IsCurrentUserAdmin(); }