2022-06-19 13:10:44 -05:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2023-05-08 20:30:57 -05:00
|
|
|
namespace Microsoft.Zune.Library;
|
|
|
|
|
|
|
|
|
|
public class ZuneQueryList : List<object>, IDisposable
|
2022-06-19 13:10:44 -05:00
|
|
|
{
|
2023-05-08 20:30:57 -05:00
|
|
|
internal ZuneQueryList(EQueryType queryType = EQueryType.eQueryTypeInvalid)
|
2022-06-19 13:10:44 -05:00
|
|
|
{
|
2023-05-08 20:30:57 -05:00
|
|
|
QueryType = queryType;
|
|
|
|
|
}
|
2022-06-19 13:10:44 -05:00
|
|
|
|
2023-05-08 20:30:57 -05:00
|
|
|
public bool IsEmpty => Count == 0;
|
2022-06-19 13:10:44 -05:00
|
|
|
|
2023-05-08 20:30:57 -05:00
|
|
|
public bool IsDisposed { get; protected set; }
|
2022-06-19 13:10:44 -05:00
|
|
|
|
2023-05-08 20:30:57 -05:00
|
|
|
public EQueryType QueryType { get; set; }
|
2022-06-19 13:10:44 -05:00
|
|
|
|
2023-05-08 20:30:57 -05:00
|
|
|
public void Dispose()
|
|
|
|
|
{
|
|
|
|
|
IsDisposed = true;
|
2022-06-19 13:10:44 -05:00
|
|
|
}
|
|
|
|
|
}
|