more cleanup
This commit is contained in:
parent
af441e772b
commit
77832db39d
28 changed files with 45 additions and 105 deletions
|
@ -16,7 +16,7 @@ namespace SignalRChat.Hubs
|
|||
[Authorize]
|
||||
public class SledgemapperHub : Hub<ISledgemapperClient>
|
||||
{
|
||||
private static readonly ConcurrentDictionary<int, string> UserColors = new ConcurrentDictionary<int, string>();
|
||||
private static readonly ConcurrentDictionary<int, string> UserColors = new();
|
||||
private readonly MyDbContext _dbContext;
|
||||
private readonly DataContext _datacontext;
|
||||
|
||||
|
@ -29,7 +29,8 @@ namespace SignalRChat.Hubs
|
|||
// other colors
|
||||
// #cca300, #20f200, #004011, #00e6d6, #005c73, #0057d9, #d900ca, #660029, #d9003a
|
||||
// private static Dictionary<string, Session> _sessions = new Dictionary<string, Session>();
|
||||
public List<string> Colors = new List<string>{
|
||||
public List<string> Colors = new()
|
||||
{
|
||||
"#e6194B",
|
||||
"#f58231",
|
||||
"#3cb44b",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue