Class ScriptingContext
A scripting context.
Implements
System.Dynamic.IDynamicMetaObjectProvider
    
    
    System.IDisposable
  Inherited Members
      System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
    
    
      System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
    
    
      System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
    
    
      System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
    
    
      System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
    
    
      System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
    
    
      System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
    
    
      System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
    
    
      System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
    
    
      System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Kephas.Scripting
Assembly: Kephas.Scripting.dll
Syntax
public class ScriptingContext : Context, IScriptingContext, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposableConstructors
| Improve this Doc View SourceScriptingContext(ICompositionContext)
Initializes a new instance of the ScriptingContext class.
Declaration
public ScriptingContext(ICompositionContext compositionContext)Parameters
| Type | Name | Description | 
|---|---|---|
| ICompositionContext | compositionContext | The composition context. | 
ScriptingContext(IContext)
Initializes a new instance of the ScriptingContext class.
Declaration
public ScriptingContext(IContext executionContext)Parameters
| Type | Name | Description | 
|---|---|---|
| IContext | executionContext | The execution context. | 
Properties
| Improve this Doc View SourceArgs
Gets or sets the arguments.
Declaration
public IExpando Args { get; set; }Property Value
| Type | Description | 
|---|---|
| IExpando | The arguments. | 
Exception
Gets or sets the exception.
Declaration
public Exception Exception { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Exception | The exception. | 
ExecutionContext
Gets or sets a context for the execution.
Declaration
public IContext ExecutionContext { get; set; }Property Value
| Type | Description | 
|---|---|
| IContext | The execution context. | 
Result
Gets or sets the result.
Declaration
public object Result { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Object | The result. | 
Script
Gets or sets the script to execute.
Declaration
public IScript Script { get; set; }Property Value
| Type | Description | 
|---|---|
| IScript | The script to execute. | 
ScriptGlobals
Gets or sets the script globals.
Declaration
public IScriptGlobals ScriptGlobals { get; set; }Property Value
| Type | Description | 
|---|---|
| IScriptGlobals | The script globals. | 
Implements
      System.Dynamic.IDynamicMetaObjectProvider
  
  
  
  
      System.IDisposable