Align .editorconfig files

When debugging only
app.Services.GetRequiredService<IPCRBService>();

Injected AppSettings instead of using GetEnvironmentVariable at Services level

Get ready to use VSCode IDE
This commit is contained in:
2024-12-03 12:23:56 -07:00
parent 89790f4fc1
commit 538b1f817e
72 changed files with 3420 additions and 391 deletions

View File

@ -14,17 +14,15 @@ public class User {
public DateTime OOOExpirationDate { get; set; }
public int DelegatedTo { get; set; }
public string GetFullName() {
return $"{FirstName} {LastName}";
}
public string GetFullName() =>
$"{FirstName} {LastName}";
public override bool Equals(object obj) {
public override bool Equals(object? obj) {
User? u = obj as User;
return u is not null && u.UserID == this.UserID;
return u is not null && u.UserID == UserID;
}
public override int GetHashCode() {
return this.UserID.GetHashCode();
}
}
public override int GetHashCode() =>
UserID.GetHashCode();
}