/// <summary> /// Initializes a new instance of the <see cref="ManagedWorkItemAdapter" /> class. /// </summary> /// <param name="workItem">The work item.</param> /// <exception cref="ArgumentNullException">workItem</exception> /// <inheritdoc /> public ManagedWorkItemAdapter(IConverter converter, ManagedWorkItem workItem) : base(converter) { WorkItem = workItem ?? throw new ArgumentNullException(nameof(workItem)); Object = WorkItem.Object; }
public ManagedWorkItemInformation(ManagedWorkItem workItem) { this.workItem = workItem; }