DataBindingEventArgs.cs 591 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Bowin.Common.Utility;
  6. namespace Bowin.Common
  7. {
  8. public class DataBindingEventArgs : EventArgs
  9. {
  10. public BindingMapping BindingMapping { get; private set; }
  11. public object DataValue { get; set; }
  12. public DataBindingEventArgs(BindingMapping bindingMapping, object dataValue)
  13. {
  14. Guard.ArgumentNotNullOrEmpty(bindingMapping, "bindingMapping");
  15. this.BindingMapping = bindingMapping;
  16. this.DataValue = dataValue;
  17. }
  18. }
  19. }