[gbrainy] Mono.CSharp service definition
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Mono.CSharp service definition
- Date: Sun, 27 Mar 2011 13:21:59 +0000 (UTC)
commit 90b96854d467ceb922bec657f681b72974453ed1
Author: Jordi Mas <jmas softcatala org>
Date: Sun Mar 27 15:23:05 2011 +0200
Mono.CSharp service definition
src/Core/Services/ICSharpCompiler.cs | 36 ++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
---
diff --git a/src/Core/Services/ICSharpCompiler.cs b/src/Core/Services/ICSharpCompiler.cs
new file mode 100644
index 0000000..730fe6e
--- /dev/null
+++ b/src/Core/Services/ICSharpCompiler.cs
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2011 Jordi Mas i Hernà ndez <jmas softcatala org>
+ *
+ * This program 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 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program 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 this program; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+using System;
+
+namespace gbrainy.Core.Services
+{
+ public interface ICSharpCompiler : IService
+ {
+ // Evaluates code and stores variables locally
+ void EvaluateCode (string c);
+
+ // Gets the value of all variables (after code evaluation)
+ string GetAllVariables ();
+
+ // Gets the value of all variables (after code evaluation)
+ string GetVariableValue (string _var);
+ }
+}
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]