示例#1
0
 /// <summary>
 /// Constructor for when MEF isn't used. The caller is responsible for registering
 /// the Control with a control host service, if applicable.</summary>
 /// <param name="scriptService">ScriptingService to expose C# objects to a scripting language</param>
 public ScriptConsole(ScriptingService scriptService)
     : this()
 {
     m_scriptService = scriptService;
 }
 public AtfScriptVariables(ScriptingService scriptService)
 {
     m_scriptingService = scriptService;
 }
示例#3
0
 /// <summary>
 /// Constructor for when MEF isn't used. The caller is responsible for registering
 /// the Control with a control host service, if applicable.</summary>
 /// <param name="scriptService">ScriptingService to expose C# objects to a scripting language</param>
 /// <param name="controlHostService">Control host service</param>
 public ScriptConsole(ScriptingService scriptService, IControlHostService controlHostService)
     : this()
 {
     m_controlHostService = controlHostService;
     m_scriptService      = scriptService;
 }
 public StandardViewCommands(ICommandService commandService, IContextRegistry contextRegistry, ScriptingService scriptingService)
 {
     m_commandService   = commandService;
     m_contextRegistry  = contextRegistry;
     m_scriptingService = scriptingService;
 }