//──────────────────────────────────────── public void ForEach(DELEGATE_Filesystementries delegate_Records1, Log_Reports log_Reports ) { bool isBreak = false; foreach (string filepath in this.List_Filepath) { delegate_Records1(filepath, ref isBreak, log_Reports); if (isBreak) { break; } } }
//──────────────────────────────────────── #endregion #region アクション //──────────────────────────────────────── public void ForEach(DELEGATE_Filesystementries delegate_Records1, Log_Reports log_Reports) { bool isBreak = false; foreach (string filepath in this.List_Filepath) { delegate_Records1(filepath, ref isBreak, log_Reports); if (isBreak) { break; } } }