private void SecretHandle(RenewableDownloadHandler handler) { string content = Encoding.Default.GetString(handler.buffer); content = content.Replace("\r\n", "^"); string[] values = content.Split('^'); for (int i = 0; i < values.Length; i++) { string[] parameter = values[i].Split('|'); if (parameter.Length == 2 && !string.IsNullOrEmpty(parameter[0])) { if (m_secret.ContainsKey(parameter[0])) { m_secret[parameter[0]] = parameter[1]; } else { m_secret.Add(parameter[0], parameter[1]); } } } }
private void LawOfficerHandle(RenewableDownloadHandler handler) { string content = Encoding.Default.GetString(handler.buffer); content = content.Replace("\r\n", "^"); string[] values = content.Split('^'); for (int i = 0; i < values.Length; i++) { Excute(values[i]); } }
protected abstract void Create(RenewableDownloadHandler handle);