Esempio n. 1
0
        public void Invoke()
        {
            if(_inner == null)
            {
                return;
            }

            try
            {
                _inner.Invoke();
            }
            catch (UnknownObjectException exc)
            {
                var unknownRequest = new UnknownChainRequest {Id = exc.Id};
                _request.Set(unknownRequest);
                _factory
                    .BuildPartial(unknownRequest.GetType())
                    .Invoke();
            }
        }
Esempio n. 2
0
 public UnknownChainRequest Get(UnknownChainRequest request)
 {
     return request;
 }