Show / Hide Table of Contents

Class ConnexionViewModel

Inheritance
object
ReactiveObject
ConnexionViewModel
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
INotifyPropertyChanged
INotifyPropertyChanging
IEnableLogger
Inherited Members
ReactiveObject.SuppressChangeNotifications()
ReactiveObject.AreChangeNotificationsEnabled()
ReactiveObject.DelayChangeNotifications()
ReactiveObject.Changing
ReactiveObject.Changed
ReactiveObject.ThrownExceptions
ReactiveObject.PropertyChanging
ReactiveObject.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: EasySave_Project.ViewModels.Pages
Assembly: .dll
Syntax
public class ConnexionViewModel : ReactiveObject, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger

Constructors

| Edit this page View Source

ConnexionViewModel()

Declaration
public ConnexionViewModel()

Properties

| Edit this page View Source

IsConnected

Declaration
public bool IsConnected { get; }
Property Value
Type Description
bool
| Edit this page View Source

Users

Declaration
public ObservableCollection<User> Users { get; }
Property Value
Type Description
ObservableCollection<User>
| Edit this page View Source

connexion

Declaration
public string connexion { get; }
Property Value
Type Description
string
| Edit this page View Source

entrerVotreNom

Declaration
public string entrerVotreNom { get; }
Property Value
Type Description
string
| Edit this page View Source

seconnecter

Declaration
public string seconnecter { get; }
Property Value
Type Description
string
| Edit this page View Source

sedeconnecter

Declaration
public string sedeconnecter { get; }
Property Value
Type Description
string
| Edit this page View Source

vousetesconnecte

Declaration
public string vousetesconnecte { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

Connexion(string)

Establishes a connection with the server using the provided username.

Declaration
public Task Connexion(string name)
Parameters
Type Name Description
string name

The username for the connection.

Returns
Type Description
Task
| Edit this page View Source

ConnexionTo(string, string)

Connects to a specific user by sending a request to the server.

Declaration
public void ConnexionTo(string id, string name)
Parameters
Type Name Description
string id

The ID of the user to connect to.

string name

The name of the user to connect to.

| Edit this page View Source

DisconnexionTo()

Disconnects from the currently connected user and updates the UI.

Declaration
public void DisconnexionTo()
| Edit this page View Source

GetAllUserConnect()

Retrieves the list of all connected users from the server.

Declaration
public void GetAllUserConnect()
| Edit this page View Source

Refresh()

Refreshes the connection status and updates UI text translations.

Declaration
public void Refresh()

Implements

ReactiveUI.IReactiveNotifyPropertyChanged<TSender>
ReactiveUI.IHandleObservableErrors
ReactiveUI.IReactiveObject
INotifyPropertyChanged
INotifyPropertyChanging
Splat.IEnableLogger
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX