コード例 #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;
 }
コード例 #2
0
 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;
 }
コード例 #4
0
 public StandardViewCommands(ICommandService commandService, IContextRegistry contextRegistry, ScriptingService scriptingService)
 {
     m_commandService   = commandService;
     m_contextRegistry  = contextRegistry;
     m_scriptingService = scriptingService;
 }