コード例 #1
0
ファイル: Exceptions.cs プロジェクト: Piirtaa/Decoratid
        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
ファイル: Exceptions.cs プロジェクト: Piirtaa/Decoratid
 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
ファイル: Exceptions.cs プロジェクト: Piirtaa/Decoratid
 public ResultValidationInterceptionException(InterceptLayer <TArg, TResult> layer, InterceptUnitOfWork <TArg, TResult> uow, string message, Exception innerException)
     : base(layer, uow, message, innerException)
 {
 }
コード例 #4
0
ファイル: Exceptions.cs プロジェクト: Piirtaa/Decoratid
 public InterceptionException(InterceptUnitOfWork <TArg, TResult> uow, string message, Exception innerException)
     : base(message, innerException)
 {
     Condition.Requires(uow).IsNotNull();
     this._uow = uow;
 }
コード例 #5
0
ファイル: Exceptions.cs プロジェクト: Piirtaa/Decoratid
 public ResultDecorationInterceptionException(InterceptLayer <TArg, TResult> layer, InterceptUnitOfWork <TArg, TResult> uow, string message)
     : base(layer, uow, message)
 {
 }