Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.Object"/> class.
 /// </summary>
 public Transition(TransitionId transitionId, DateTime timestamp, List <TransitionEvent> events, Dictionary <string, object> metadata)
 {
     Id        = transitionId;
     Events    = events;
     Metadata  = metadata ?? new Dictionary <String, Object>();
     Timestamp = timestamp;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.Object"/> class.
 /// </summary>
 public Transition(TransitionId transitionId, DateTime timestamp, List<TransitionEvent> events, Dictionary<string, object> metadata)
 {
     Id = transitionId;
     Events = events;
     Metadata = metadata ?? new Dictionary<String, Object>();
     Timestamp = timestamp;
 }