public void CopyDataTo(ProxyRecord proxyRecord) { proxyRecord.ProxyProtocol = ProxyProtocol; proxyRecord.Host = Host; proxyRecord.Port = Port; proxyRecord.Username = Username; proxyRecord.Password = Password; }
public ProxyRecord GetCopy() { var proxyRecord = new ProxyRecord { ProxyProtocol = ProxyProtocol, Host = Host, Port = Port, Username = Username, Password = Password }; return(proxyRecord); }