Abp.Domain.Uow.UnitOfWorkBase.OnFailed(System.Exception)

Here are the examples of the csharp api class Abp.Domain.Uow.UnitOfWorkBase.OnFailed(System.Exception) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: ABP
Source File: UnitOfWorkBase.cs
public void Dispose()
        {
            if (IsDisposed)
            {
                return;
            }

            IsDisposed = true;

            if (!_succeed)
            {
                OnFailed(_exception);
            }

            DisposeUow();
            OnDisposed();
        }

2. Example

Project: aspnetboilerplate
Source File: UnitOfWorkBase.cs
public void Dispose()
        {
            if (!_isBeginCalledBefore || IsDisposed)
            {
                return;
            }

            IsDisposed = true;

            if (!_succeed)
            {
                OnFailed(_exception);
            }

            DisposeUow();
            OnDisposed();
        }