![]() |
Yottabyte
1.0
An AI powerd app meant to detect polluted beaches and organise clean up events.
|
User services handler More...
Inheritance diagram for Yottabyte.Client.Services.UserServices:
Collaboration diagram for Yottabyte.Client.Services.UserServices:Public Member Functions | |
| UserServices (IHttpClientFactory clientFac) | |
| Constructor for the user service More... | |
| async Task< String > | CreateUser (UserIM user, Stream avatarStream, string filename) |
| Register handler More... | |
| Task< String > | CreateUser (UserIM user, Stream avatarStream, string filename) |
| Register handler More... | |
Events | |
| Action | OnChange |
| Action for checking if a data needs to be updated in the DOM More... | |
Events inherited from Yottabyte.Client.Services.IUsersServices | |
| Action | OnChange |
| Action for checking if a data needs to be updated in the DOM More... | |
User services handler
Definition at line 18 of file UserServices.cs.
|
inline |
Constructor for the user service
| clientFac | Client factory to get the HTTP client |
Definition at line 29 of file UserServices.cs.
|
inline |
Register handler
| user | The user info |
| avatarStream | The image as file stream |
| filename | Name of the image |
Implements Yottabyte.Client.Services.IUsersServices.
Definition at line 39 of file UserServices.cs.
| Action Yottabyte.Client.Services.UserServices.OnChange |
Action for checking if a data needs to be updated in the DOM
Definition at line 37 of file UserServices.cs.