public void UpdateWcDayComment(string comment, UpdateCallBack udpCallBack) { if (_dayComment != null && _dayComment == comment) return; _dayComment = comment; if(udpCallBack!=null) udpCallBack.Invoke(); }
public void UpdateWcDayAttr(WсDayAttr dayAttr, UpdateCallBack udpCallBack) { if (Equals(dayAttr, _dayAttr)) return; _dayAttr = dayAttr; if (udpCallBack != null) udpCallBack.Invoke(); }