mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-18 23:48:35 +02:00
21 lines
502 B
C#
21 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;
|
|
}
|
|
}
|
|
}
|
|
}
|