public ActivityTrackingLocation(Type activityType)
 {
     this._conditions = new TrackingConditionCollection();
     this._events     = new List <ActivityExecutionStatus>();
     if (null == activityType)
     {
         throw new ArgumentNullException("activityType");
     }
     this._activityType = activityType;
 }
 public ActivityTrackingLocation(string activityTypeName)
 {
     this._conditions = new TrackingConditionCollection();
     this._events     = new List <ActivityExecutionStatus>();
     if (activityTypeName == null)
     {
         throw new ArgumentNullException("activityTypeName");
     }
     this._activityName = activityTypeName;
 }
 public ActivityTrackingLocation(Type activityType, IEnumerable <ActivityExecutionStatus> executionStatusEvents)
 {
     this._conditions = new TrackingConditionCollection();
     this._events     = new List <ActivityExecutionStatus>();
     if (null == activityType)
     {
         throw new ArgumentNullException("activityType");
     }
     if (executionStatusEvents == null)
     {
         throw new ArgumentNullException("executionStatusEvents");
     }
     this._activityType = activityType;
     this._events.AddRange(executionStatusEvents);
 }
 public ActivityTrackingLocation(string activityTypeName, bool matchDerivedTypes, IEnumerable <ActivityExecutionStatus> executionStatusEvents)
 {
     this._conditions = new TrackingConditionCollection();
     this._events     = new List <ActivityExecutionStatus>();
     if (activityTypeName == null)
     {
         throw new ArgumentNullException("activityTypeName");
     }
     if (executionStatusEvents == null)
     {
         throw new ArgumentNullException("executionStatusEvents");
     }
     this._activityName = activityTypeName;
     this._trackDerived = matchDerivedTypes;
     this._events.AddRange(executionStatusEvents);
 }
Exemple #5
0
 public UserTrackingLocation(Type argumentType, Type activityType)
 {
     this._conditions   = new TrackingConditionCollection();
     this._argType      = argumentType;
     this._activityType = activityType;
 }
Exemple #6
0
 public UserTrackingLocation(string argumentTypeName, string activityTypeName)
 {
     this._conditions   = new TrackingConditionCollection();
     this._argName      = argumentTypeName;
     this._activityName = activityTypeName;
 }
Exemple #7
0
 public UserTrackingLocation()
 {
     this._conditions = new TrackingConditionCollection();
 }
 public ActivityTrackingLocation()
 {
     this._conditions = new TrackingConditionCollection();
     this._events     = new List <ActivityExecutionStatus>();
 }