示例#1
0
 /// <summary>
 /// Setting_File --> AppSettingに反映
 /// </summary>
 private void Reflect_fromFile(Setting_File file)
 {
     //string --> string[]
     this.File_CommandLine = file.CommandLine
                             .Split()
                             .Where(arg => string.IsNullOrWhiteSpace(arg) == false)
                             .ToArray();
     this.BuffSize_MiB               = file.BuffSize_MiB;
     this.ReadLimit_MiBsec           = file.ReadLimit_MiBsec;
     this.MidInterval_min            = file.MidInterval_min;
     this.PipeTimeout_sec            = file.PipeTimeout_sec;
     this.LockMove                   = file.LockMove;
     this.Client_Pipe                = file.Client_Pipe;
     this.Process_GetExternalCommand = file.Process_GetExternalCommand;
     this.PreProcess                 = file.PreProcess;
     this.MidProcess                 = file.MidProcess;
     this.PostProcess                = file.PostProcess;
 }
示例#2
0
 public ClientList(ClientList client)
 {
     List = new List <Client>(client.List);
 }