From 39effecfe95a8c70a819181c1ee7c0d75bb9d68a Mon Sep 17 00:00:00 2001 From: syneffort Date: Wed, 14 Feb 2024 11:13:42 +0900 Subject: [PATCH] fix --- ExcelHelper/ExcelHelper/ExcelHelper.cs | 6 +++--- ExcelHelper/ExcelHelperFW/ExcelHelper.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ExcelHelper/ExcelHelper/ExcelHelper.cs b/ExcelHelper/ExcelHelper/ExcelHelper.cs index bcdbba1..fa448f3 100644 --- a/ExcelHelper/ExcelHelper/ExcelHelper.cs +++ b/ExcelHelper/ExcelHelper/ExcelHelper.cs @@ -81,7 +81,7 @@ namespace ExcelHelper return pairs; } - private string ConvertValue(Dictionary pairs, string key) + public string ConvertValue(Dictionary pairs, string key) { if (!pairs.ContainsKey(key)) return null; @@ -89,7 +89,7 @@ namespace ExcelHelper return pairs[key]; } - private T ConvertValue(Dictionary pairs, string key, Func func) + public T ConvertValue(Dictionary pairs, string key, Func func) { if (!pairs.ContainsKey(key) || func == null) return default(T); @@ -98,7 +98,7 @@ namespace ExcelHelper return func(value); } - private DateTime? ConvertValueToDateTime(Dictionary pairs, string key) + public DateTime? ConvertValueToDateTime(Dictionary pairs, string key) { return ConvertValue(pairs, key, x => { diff --git a/ExcelHelper/ExcelHelperFW/ExcelHelper.cs b/ExcelHelper/ExcelHelperFW/ExcelHelper.cs index 4cfbb2e..3118b77 100644 --- a/ExcelHelper/ExcelHelperFW/ExcelHelper.cs +++ b/ExcelHelper/ExcelHelperFW/ExcelHelper.cs @@ -86,7 +86,7 @@ namespace ExcelHelperFW return pairs; } - private string ConvertValue(Dictionary pairs, string key) + public string ConvertValue(Dictionary pairs, string key) { if (!pairs.ContainsKey(key)) return null; @@ -94,7 +94,7 @@ namespace ExcelHelperFW return pairs[key]; } - private T ConvertValue(Dictionary pairs, string key, Func func) + public T ConvertValue(Dictionary pairs, string key, Func func) { if (!pairs.ContainsKey(key) || func == null) return default(T); @@ -103,7 +103,7 @@ namespace ExcelHelperFW return func(value); } - private DateTime? ConvertValueToDateTime(Dictionary pairs, string key) + public DateTime? ConvertValueToDateTime(Dictionary pairs, string key) { return ConvertValue(pairs, key, x => {