Beispiel #1
0
 /// <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 */
 }
Beispiel #2
0
 /// <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;
 }
Beispiel #3
0
 /// <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 */
 }