Source/Projections/Actors/ProjectionActor.cs
File ProjectionActor.cs
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Dolittle.SDK.Async;
using Dolittle.SDK.Events;
Method ReceiveAsync
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public async Task ReceiveAsync(IContext context)
{
try
{
switch (context.Message)
Method On
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async Task On(ProjectedEvent projectedEvent, IContext context)
{
var firstEvent = _projection is null;
if (firstEvent)
{