/
n-dimens
/
pascalabcnet
Обзор
Документация
Войти
/
n-dimens
/
pascalabcnet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Debugger.Core/Src/Debugger/PauseSession.cs
51 строка
971 B
Бондарев Иван
initial commit
14 май 2015, 22:35
14 май 2015, 22:35
e6e67c1
Код
Авторство
О чём код?
// <file> // <copyright see="prj:///doc/copyright.txt"/> // <license see="prj:///doc/license.txt"/> // <owner name="David Srbeck�" email="dsrbecky@gmail.com"/> // <version>$Revision: 1965 $</version> // </file> using System; namespace Debugger { /// <summary> /// Holds information about the state of paused debugger. /// Expires when when Continue is called on debugger. /// </summary> public class PauseSession: IExpirable { PausedReason pausedReason; bool hasExpired = false; public event EventHandler Expired; public bool HasExpired { get { return hasExpired; } } internal void NotifyHasExpired() { if(!hasExpired) { hasExpired = true; if (Expired != null) { Expired(this, EventArgs.Empty); } } } public PausedReason PausedReason { get { return pausedReason; } } public PauseSession(PausedReason pausedReason) { this.pausedReason = pausedReason; } } }