コード例 #1
0
ファイル: Daemon.cs プロジェクト: demonGor/Parcs
        private void LoadFile(IChannel channel, IJob curJob)
        {
            string fileName = channel.ReadFile();

            if (!curJob.AddFile(fileName))
            {
                throw new ParcsException("File was not sent");
            }
        }
コード例 #2
0
ファイル: Daemon.cs プロジェクト: AndriyKhavro/Parcs.NET
        private void LoadFile(IChannel channel, IJob curJob)
        {
            string fileName = channel.ReadFile();

            if (!curJob.AddFile(fileName))
            {
                throw new ParcsException("File was not sent");
            }
        }