コード例 #1
0
 /// <summary>
 /// Create an instance of the message builder class.
 /// </summary>
 public MessageBuilder()
 {
     this.message           = new Message();
     this.messageSize       = 0;
     this.recipientCount    = 0;
     this.recipientVarCount = 0;
     this.provider          = new NodaTimeProvider();
 }
コード例 #2
0
 /// <summary>
 /// Create a new instance of stats request object.
 ///
 /// The default time resolution + duration is 7 DAYs, or one week, from current time.
 /// The default end datetime range is current datetime in UTC.
 /// Create an empty list of event types.
 /// </summary>
 public StatsRequest()
 {
     this.Resolution = TimeResolution.DAY;
     this.EventTypes = new Collection <EventType>();
     this.provider   = new NodaTimeProvider();
 }