/// <summary>Initializes an instance of the <see cref="ServiceAction"/> structure.</summary> /// <param name="type">The type of action to take.</param> /// <param name="delay">The delay, in milliseconds, before the action is performed.</param> public ServiceAction(ServiceActionMode type, int delay) : this(type, new TimeSpan(0, 0, 0, 0, delay)) { /* Do nothing */ }
/// <summary>Initializes an instance of the <see cref="ServiceAction"/> structure.</summary> /// <param name="type">The type of action to take.</param> /// <param name="delay">The delay interval before the action is performed.</param> public ServiceAction(ServiceActionMode type, TimeSpan delay) : this() { ActionType = type; Delay = delay; }
/// <summary>Initializes an instance of the <see cref="ServiceAction"/> structure.</summary> /// <param name="type">The type of action to take.</param> public ServiceAction(ServiceActionMode type) : this(type, new TimeSpan(0)) { /* Do nothing */ }