src/Services/ConferenceManagement/Strive.Infrastructure/KeyValue/InMemory/InMemoryDatabaseActions.cs
File InMemoryDatabaseActions.cs
has 278 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
Class InMemoryDatabaseActions
has 24 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public abstract class InMemoryDatabaseActions : IKeyValueDatabaseActions
{
private readonly Dictionary<string, object> _data;
protected InMemoryDatabaseActions(Dictionary<string, object> data)
Method RoomRepository_SetParticipantRoom
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private static async ValueTask<RedisResult> RoomRepository_SetParticipantRoom(IKeyValueDatabaseActions actions,
string roomMappingKey, string roomListKey, string participantId, string newRoomId)
Method JoinedParticipantsRepository_RemoveParticipantSafe
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
IKeyValueDatabaseActions actions, string participantId, string participantKey, string conferenceKeyTemplate,
string connectionId)