This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
namespace CompressorXN_Common
{
public class LogEventHandler
#region 初始化
private string log = "-1";
/// <summary>
/// 值变化委托
/// </summary>
/// <param name="newValue"></param>
public delegate void LogChangedEventHandler(object newValue);
/// 只有Key改变,Value还未改变
public event LogChangedEventHandler LogChanged;
/// 获得或设置编号
public string Log
get { return log; }
set
log = value;
if (LogChanged != null)
LogChanged(log);
}
#endregion