using System; namespace PepperDash.Essentials { /// /// Defines the action to take when the User code changes /// public class UserCodeChanged { /// /// Action to take when the User Code changes /// public Action UpdateUserCode { get; private set; } /// /// create an instance of the class /// /// action to take when the User Code changes public UserCodeChanged(Action updateMethod) { UpdateUserCode = updateMethod; } } }