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:
@@ -5,7 +5,7 @@ using System.IO;
|
||||
using Autofac;
|
||||
using ClaySharp;
|
||||
using NUnit.Framework;
|
||||
using Orchard.Scripting;
|
||||
using Orchard.Scripting.Services;
|
||||
|
||||
namespace Orchard.Tests.Scripting {
|
||||
[TestFixture]
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using Autofac;
|
||||
using NUnit.Framework;
|
||||
using Orchard.Scripting;
|
||||
using Orchard.Scripting.Services;
|
||||
using Orchard.UI.Widgets;
|
||||
using Orchard.Widgets.RuleEngine;
|
||||
|
||||
|
@@ -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