コード例 #1
0
        public RCProcessCollection ProcessClone()
        {
            RCProcessCollection rcprocessCollection = new RCProcessCollection();

            foreach (RCProcess rcprocess in this.ProcessList)
            {
                rcprocessCollection.Add(rcprocess.Clone());
            }
            return(rcprocessCollection);
        }
コード例 #2
0
 public RCClient(int version, string serverIP, int serverPort, string displayName, RCProcessCollection processCollection) : this(0, "")
 {
     this.Version            = version;
     this.ServerIP           = serverIP;
     this.ServerPort         = serverPort;
     this.Name               = displayName;
     this._processCollection = new RCProcessCollection();
     foreach (RCProcess rcprocess in processCollection)
     {
         this.AddProcess(rcprocess.Clone());
     }
     this._initialized = true;
 }