/// <summary> /// Whether none of the discrete activity Ids of the <see cref="TrackingContext"/> are set or not. /// </summary> /// <returns> /// Returns <c>true</c> if none of the discrete activity Ids of the <see cref="TrackingContext"/> are set; /// <c>false</c> otherwise. /// </returns> public bool IsEmpty() { return(ProcessActivityId.IsNullOrEmpty() && ProcessingStepActivityId.IsNullOrEmpty() && MessagingStepActivityId.IsNullOrEmpty()); }
/// <summary> /// Whether the current <see cref="TrackingContext"/> is already affiliated to a process or not. /// </summary> /// <returns> /// <c>true</c> if the current <see cref="TrackingContext"/> is affiliated to a process. <c>false</c> otherwise. /// </returns> public bool HasProcessAffiliation() { return(!ProcessActivityId.IsNullOrEmpty()); }