public Function2(DiSampleClass diSampleClass)
 {
     _diSampleClass = diSampleClass;
     _instanceId    = Guid.NewGuid().ToString();
 }
 public RecurringMessageSender(DiSampleClass diSampleClass)
 {
     _diSampleClass = diSampleClass;
     _instanceId    = Guid.NewGuid().ToString();
 }