public override void GetObjectData(SerializationInfo info, StreamingContext context) { // call base base.GetObjectData(info, context); //pull out added info this._uow = info.GetValue("_uow", typeof(InterceptUnitOfWork <TArg, TResult>)).ConvertTo <InterceptUnitOfWork <TArg, TResult> >(); }
public LayerInterceptionException(InterceptLayer <TArg, TResult> layer, InterceptUnitOfWork <TArg, TResult> uow, string message, Exception innerException) : base(uow, message, innerException) { Condition.Requires(layer).IsNotNull(); this._layerId = layer.Id; }
public ResultValidationInterceptionException(InterceptLayer <TArg, TResult> layer, InterceptUnitOfWork <TArg, TResult> uow, string message, Exception innerException) : base(layer, uow, message, innerException) { }
public InterceptionException(InterceptUnitOfWork <TArg, TResult> uow, string message, Exception innerException) : base(message, innerException) { Condition.Requires(uow).IsNotNull(); this._uow = uow; }
public ResultDecorationInterceptionException(InterceptLayer <TArg, TResult> layer, InterceptUnitOfWork <TArg, TResult> uow, string message) : base(layer, uow, message) { }