mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing UT
--HG-- branch : dev
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
using Microsoft.Scripting.Hosting;
|
||||
|
||||
namespace Orchard.Scripting.Services {
|
||||
public interface IScriptingManager /* : IDependency */ {
|
||||
public interface IScriptingManager : IDependency {
|
||||
dynamic GetVariable(string name);
|
||||
void SetVariable(string name, object value);
|
||||
dynamic ExecuteExpression(string expression);
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using Microsoft.Scripting.Hosting;
|
||||
|
||||
namespace Orchard.Scripting.Services {
|
||||
public interface IScriptingRuntime /*: ISingletonDependency */ {
|
||||
public interface IScriptingRuntime : ISingletonDependency {
|
||||
ScriptScope CreateScope();
|
||||
dynamic ExecuteExpression(string expression, ScriptScope scope);
|
||||
void ExecuteFile(string fileName, ScriptScope scope);
|
||||
|
Reference in New Issue
Block a user