Esempio n. 1
0
 public static ConfigurationValueEntry GetLatest(ConfigurationValueEntry value1, string value2)
 => throw new NotSupportedException("不含时间戳的字符串无法当作配置项比较新旧。");
Esempio n. 2
0
 public static ConfigurationValueEntry GetLatest(ConfigurationValueEntry value1, ConfigurationValueEntry value2)
 => value1._updatedTime > value2._updatedTime ? value1 : value2;