Exemplo n.º 1
0
        public ExceptionPropagationTests(ITestOutputHelper output, Fixture fixture)
        {
            this.output  = output;
            this.fixture = fixture;

            var grainFactory = (IInternalGrainFactory)this.fixture.GrainFactory;

            this.exceptionGrain  = grainFactory.GetGrain <IMessageSerializationGrain>(GetRandomGrainId());
            this.clientObjectRef = grainFactory.CreateObjectReference <IMessageSerializationClientObject>(this.clientObject);
        }
Exemplo n.º 2
0
 public Task GetUndeserializableFromClient(IMessageSerializationClientObject obj) => obj.GetUndeserializable();
Exemplo n.º 3
0
 public Task GetFromClient(IMessageSerializationClientObject obj) => obj.Get();
Exemplo n.º 4
0
 public Task SendUnserializableToClient(IMessageSerializationClientObject obj) => obj.SendUnserializable(new UnserializableType());
Exemplo n.º 5
0
 public Task SendToClient(IMessageSerializationClientObject obj) => obj.Send(new UndeserializableType(35));