示例#1
0
 /// <summary>
 /// Performs the drop operation when the payload is a <see cref="Parameter"/>
 /// </summary>
 /// <param name="dropInfo">
 /// Information about the drop operation.
 /// </param>
 /// <param name="group">
 /// The <see cref="ParameterGroup"/> payload
 /// </param>
 private async Task Drop(IDropInfo dropInfo, ParameterGroup group)
 {
     if (dropInfo.Effects == DragDropEffects.Move)
     {
         var clone = group.Clone(false);
         clone.ContainingGroup = this.Thing.Group;
         await this.DalWrite(clone);
     }
 }