forked from ClearFoundry/ClearScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScriptObject.cs
More file actions
25 lines (23 loc) · 724 Bytes
/
ScriptObject.cs
File metadata and controls
25 lines (23 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System.Dynamic;
namespace Microsoft.ClearScript
{
/// <summary>
/// Represents a script object.
/// </summary>
/// <remarks>
/// Use this class in conjunction with C#'s
/// <c><see href="https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/is">is</see></c>
/// operator to identify script objects.
/// </remarks>
/// <seealso cref="ScriptEngine.Evaluate(string, bool, string)"/>
public abstract class ScriptObject : DynamicObject
{
internal ScriptObject()
{
}
/// <summary>
/// Gets the script engine that owns the object.
/// </summary>
public abstract ScriptEngine Engine { get; }
}
}