コード例 #1
0
 /// <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;
 }
コード例 #2
0
 public ManagedWorkItemInformation(ManagedWorkItem workItem)
 {
     this.workItem = workItem;
 }