示例#1
0
        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> >();
        }
示例#2
0
 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;
 }
示例#3
0
 public ResultValidationInterceptionException(InterceptLayer <TArg, TResult> layer, InterceptUnitOfWork <TArg, TResult> uow, string message, Exception innerException)
     : base(layer, uow, message, innerException)
 {
 }
示例#4
0
 public InterceptionException(InterceptUnitOfWork <TArg, TResult> uow, string message, Exception innerException)
     : base(message, innerException)
 {
     Condition.Requires(uow).IsNotNull();
     this._uow = uow;
 }
示例#5
0
 public ResultDecorationInterceptionException(InterceptLayer <TArg, TResult> layer, InterceptUnitOfWork <TArg, TResult> uow, string message)
     : base(layer, uow, message)
 {
 }