Skip to content

Instantly share code, notes, and snippets.

@phrohdoh
Created July 28, 2014 23:39
Show Gist options
  • Save phrohdoh/d680ca4e707020d6ea3c to your computer and use it in GitHub Desktop.
Save phrohdoh/d680ca4e707020d6ea3c to your computer and use it in GitHub Desktop.
#region Copyright & License Information
/*
* Copyright 2007-2014 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COPYING.
*/
#endregion
using System;
using System.Collections;
namespace OpenRA.Primitives
{
public interface IObservableKeyValueCollection
{
event Action<object> OnAdd;
event Action<object> OnRemove;
event Action OnRefresh;
IEnumerable ObservedItems { get; }
}
public interface IObservableOrderedCollection
{
event Action<int> OnRemoveAt;
event Action<object, object> OnSet;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment