Esempio n. 1
0
        protected override IStream <Stream> CreateOutputStream(ToFtpFileArgs <TParams> args)
        {
            var outputObservable = args.Stream.Observable.CombineWithLatest(args.ParamStream.Observable, (l, r) =>
            {
                WriteFtpFile(args.GetConnectionInfo(r), args.GetOutputFilePath(r), l);
                return(l);
            }, true);

            return(base.CreateUnsortedStream(outputObservable));
        }
Esempio n. 2
0
 public ToFtpFileStreamNode(string name, ToFtpFileArgs <TParams> args) : base(name, args)
 {
 }