Пример #1
0
 /// <summary>
 /// Gets the type of the parent relation.
 /// </summary>
 /// <returns>WorkItemRelationType.</returns>
 /// <autogeneratedoc/>
 private async Task <WorkItemRelationType> GetParentRelationType()
 {
     return(parentRelationType ??= await WitClient.GetRelationTypeAsync(LinkTypes.Parent));
 }
Пример #2
0
 /// <summary>
 /// Gets the type of the child relation.
 /// </summary>
 /// <returns>WorkItemRelationType.</returns>
 /// <autogeneratedoc/>
 private async Task <WorkItemRelationType> GetChildRelationType()
 {
     return(childRelationType ??= await WitClient.GetRelationTypeAsync(LinkTypes.Child));
 }