public void AddActivityReference(ActivityInstanceReference reference) { if (this.activityReferences == null) { this.activityReferences = new ActivityReferenceList(); } this.activityReferences.Add(reference); }
internal NativeActivityFaultContext(ActivityInstance executingActivityInstance, ActivityExecutor executor, BookmarkManager bookmarkManager, Exception exception, ActivityInstanceReference source) : base(executingActivityInstance, executor, bookmarkManager) { Fx.Assert(exception != null, "There must be an exception."); Fx.Assert(source != null, "There must be a source."); this.exception = exception; this.source = source; }
internal NativeActivityFaultContext(System.Activities.ActivityInstance executingActivityInstance, ActivityExecutor executor, BookmarkManager bookmarkManager, Exception exception, ActivityInstanceReference source) : base(executingActivityInstance, executor, bookmarkManager) { this.exception = exception; this.source = source; }
internal void AddActivityReference(ActivityInstanceReference reference) { this.EnsureExtendedData(); this.extendedData.AddActivityReference(reference); }