C# Class Dynamo.Configuration.ExecutionSession

Inheritance: IExecutionSession
Mostrar archivo Open project: DynamoDS/Dynamo

Public Methods

Method Description
ExecutionSession ( Scheduler updateTask, DynamoModel model, string geometryFactoryPath ) : System

Constructs a new execution session.

GetParameterKeys ( ) : IEnumerable

Returns list of session parameter keys available in the session.

GetParameterValue ( string parameter ) : object

Returns session parameter value for the given parameter name.

ResolveFilePath ( string &filepath ) : bool

A helper method to resolve the given file path. The given file path will be resolved by searching into the current workspace, core and host application installation folders etc.

Method Details

ExecutionSession() public method

Constructs a new execution session.
public ExecutionSession ( Scheduler updateTask, DynamoModel model, string geometryFactoryPath ) : System
updateTask Scheduler
model Dynamo.Models.DynamoModel
geometryFactoryPath string
return System

GetParameterKeys() public method

Returns list of session parameter keys available in the session.
public GetParameterKeys ( ) : IEnumerable
return IEnumerable

GetParameterValue() public method

Returns session parameter value for the given parameter name.
public GetParameterValue ( string parameter ) : object
parameter string Name of session parameter
return object

ResolveFilePath() public method

A helper method to resolve the given file path. The given file path will be resolved by searching into the current workspace, core and host application installation folders etc.
public ResolveFilePath ( string &filepath ) : bool
filepath string Input file path
return bool