Example #1
0
		public void Dispose ()
		{
			if (Source != null) {
				var s = Source;
				Source = null;

				s.DeferLevel--;
				if (s.DeferLevel == 0)
					s.Refresh ();
			}
		}
Example #2
0
        public void Dispose()
        {
            if (Source != null)
            {
                var s = Source;
                Source = null;

                s.DeferLevel--;
                if (s.DeferLevel == 0)
                {
                    s.Refresh();
                }
            }
        }
Example #3
0
 public Deferrer(IDeferRefresh source)
 {
     Source = source;
     Source.DeferLevel++;
 }
Example #4
0
		public Deferrer (IDeferRefresh source)
		{
			Source = source;
			Source.DeferLevel ++;
		}