/* Copyright (C) 2014-2019 de4dot@gmail.com This file is part of dnSpy dnSpy is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. dnSpy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with dnSpy. If not, see . */ using System; namespace dnSpy.Contracts.Debugger.Evaluation { /// /// Evaluation context /// public abstract class DbgEvaluationContext : DbgObject { /// /// Gets the language /// public abstract DbgLanguage Language { get; } /// /// Gets the process /// public DbgProcess Process => Runtime.Process; /// /// Gets the runtime /// public abstract DbgRuntime Runtime { get; } /// /// This object gets closed (and recreated) when the process continues /// public abstract DbgObject ContinueContext { get; } /// /// Func-eval timeout (func-eval = calling functions in debugged process) /// public abstract TimeSpan FuncEvalTimeout { get; } /// /// Context options /// public abstract DbgEvaluationContextOptions Options { get; } /// /// Closes this instance /// public void Close() => Process.DbgManager.Close(this); } }