Ejemplo n.º 1
0
 public virtual void NotifyClosed(MsgExceptionHandlingTestCase.CloseAwareBin bin)
 {
     lock (_openBins)
     {
         Sharpen.Collections.Remove(_openBins, bin);
     }
 }
Ejemplo n.º 2
0
 protected override IBin Decorate(BinConfiguration config, IBin bin)
 {
     MsgExceptionHandlingTestCase.CloseAwareBin decorated = new MsgExceptionHandlingTestCase.CloseAwareBin
                                                                (this, bin);
     lock (_openBins)
     {
         _openBins[decorated] = decorated;
     }
     return(decorated);
 }
Ejemplo n.º 3
0
			protected override IBin Decorate(BinConfiguration config, IBin bin)
			{
				MsgExceptionHandlingTestCase.CloseAwareBin decorated = new MsgExceptionHandlingTestCase.CloseAwareBin
					(this, bin);
				lock (_openBins)
				{
					_openBins[decorated] = decorated;
				}
				return decorated;
			}