This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using MediatR; | |
using MediatR.Pipeline; | |
using Microsoft.Extensions.DependencyInjection; | |
using Xunit; | |
using Xunit.Abstractions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
siloBuilder.AddIncomingGrainCallFilter<NotFoundOperationResultInterceptor>(); | |
[NotFoundIfNotExists(nameof(CreateOrUpdate))] | |
public class MyGrain : Grain<MyState>, IMyGrain | |
{ | |
public Task<OperationResult> CreateOrUpdate(MyData data) | |
{ | |
} | |
} |