示例#1
0
 void IInitializable.Initialize()
 {
     // If the ScriptConsole is already a MEF component, then we don't need to do anything since it will
     //  initialize itself. But if no ScriptConsole is present, we need to add one.
     if (m_controlHostService != null && m_scriptConsole == null)
     {
         m_scriptConsole = new ScriptConsole(this, m_controlHostService);
     }
 }
示例#2
0
 void IInitializable.Initialize()
 {
     // If the ScriptConsole is already a MEF component, then we don't need to do anything since it will
     //  initialize itself. But if no ScriptConsole is present, we need to add one.
     if (m_controlHostService != null && m_scriptConsole == null)
     {
         m_scriptConsole = new ScriptConsole(this, m_controlHostService);
     }
 }