a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
46 lines
682 B
C#
46 lines
682 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.Caching;
|
|
using System.Text;
|
|
|
|
namespace MonoTests.Common
|
|
{
|
|
class PokerChangeMonitor : ChangeMonitor
|
|
{
|
|
List <string> calls;
|
|
string uniqueId;
|
|
|
|
public List<string> Calls
|
|
{
|
|
get
|
|
{
|
|
if (calls == null)
|
|
calls = new List<string> ();
|
|
|
|
return calls;
|
|
}
|
|
}
|
|
|
|
public override string UniqueId
|
|
{
|
|
get { return uniqueId; }
|
|
}
|
|
|
|
public PokerChangeMonitor ()
|
|
{
|
|
uniqueId = "UniqueID";
|
|
InitializationComplete ();
|
|
}
|
|
|
|
public void SignalChange ()
|
|
{
|
|
OnChanged (null);
|
|
}
|
|
|
|
protected override void Dispose (bool disposing)
|
|
{
|
|
Calls.Add ("Dispose (bool disposing)");
|
|
}
|
|
}
|
|
}
|