コード例 #1
0
        public TransactionNode <TInput, TNewOutput, TOutput, TNewErrorInfo> Then <TNewOutput, TNewErrorInfo>(Operation <TOutput, TNewOutput, TNewErrorInfo> operation)
            where TNewErrorInfo : ErrorInfo, new()
        {
            var tn = new TransactionNode <TInput, TNewOutput, TOutput, TNewErrorInfo>(operation);

            tn.SetParent(this);
            return(tn);
        }
コード例 #2
0
 protected void SetParent <TAny, TAny2>(TransactionNode <TInput, TParentOutput, TAny, TAny2> parent)
     where TAny2 : ErrorInfo, new()
 {
     this.Parent = parent;
 }