mirror of
https://github.com/Radarr/Radarr
synced 2025-02-28 08:55:51 +00:00
20 lines
502 B
C#
20 lines
502 B
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
|
|
|
|
using System.Collections.Generic;
|
|
|
|
namespace Microsoft.AspNet.SignalR.Infrastructure
|
|
{
|
|
internal struct DiffPair<T>
|
|
{
|
|
public ICollection<T> Added;
|
|
public ICollection<T> Removed;
|
|
|
|
public bool AnyChanges
|
|
{
|
|
get
|
|
{
|
|
return Added.Count > 0 || Removed.Count > 0;
|
|
}
|
|
}
|
|
}
|
|
}
|