/// <summary>
 /// Update the status of the <paramref name="item" /> to the specified <paramref name="status" />.
 /// </summary>
 /// <param name="item">The item whose status is to be updated.</param>
 /// <param name="status">The status to update the item to.</param>
 private static void ChangeStatus(MediaQueueItem item, MediaQueueItemStatus status)
 {
     item.Status = status;
     item.Save();
     //Factory.GetDataProvider().MediaQueue_Save(item);
 }
 /// <summary>
 /// Update the status of the <paramref name="item" /> to the specified <paramref name="status" />.
 /// </summary>
 /// <param name="item">The item whose status is to be updated.</param>
 /// <param name="status">The status to update the item to.</param>
 private static void ChangeStatus(MediaQueueItem item, MediaQueueItemStatus status)
 {
     item.Status = status;
     item.Save();
     //Factory.GetDataProvider().MediaQueue_Save(item);
 }
示例#3
0
 /// <summary>
 /// Update the status of the <paramref name="item" /> to the specified <paramref name="status" />.
 /// </summary>
 /// <param name="item">The item whose status is to be updated.</param>
 /// <param name="status">The status to update the item to.</param>
 private static void ChangeStatus(MediaQueueDto item, MediaQueueItemStatus status)
 {
     item.Status = status.ToString();
     Factory.GetDataProvider().MediaQueue_Save(item);
 }
 /// <summary>
 /// Update the status of the <paramref name="item" /> to the specified <paramref name="status" />.
 /// </summary>
 /// <param name="item">The item whose status is to be updated.</param>
 /// <param name="status">The status to update the item to.</param>
 private static void ChangeStatus(MediaQueueDto item, MediaQueueItemStatus status)
 {
     item.Status = status.ToString();
     Factory.GetDataProvider().MediaQueue_Save(item);
 }