internal ScriptTemplateControlDictionary(object templateControl, ScriptTemplateControl scriptTemplateControl)
        {
            _templateControl = templateControl;
            _scriptTemplateControl = scriptTemplateControl;

            // Inject some known objects
            InjectTokens();
        }
        internal ScriptTemplateControlDictionary(object templateControl, ScriptTemplateControl scriptTemplateControl)
        {
            _templateControl       = templateControl;
            _scriptTemplateControl = scriptTemplateControl;

            // Inject some known objects
            InjectTokens();
        }
Beispiel #3
0
        ScriptTemplateControl EnsureScriptTemplateControl()
        {
            // Initialize it on demand
            if (_scriptTemplateControl == null)
            {
                _scriptTemplateControl = new ScriptTemplateControl(this);
                _scriptTemplateControl.HookUpScript(ScriptLanguage);
            }

            return(_scriptTemplateControl);
        }
Beispiel #4
0
        ScriptTemplateControl EnsureScriptTemplateControl()
        {
            // Initialize it on demand
            if (_scriptTemplateControl == null) {
                _scriptTemplateControl = new ScriptTemplateControl(this);
                _scriptTemplateControl.HookUpScript(ScriptLanguage);
            }

            return _scriptTemplateControl;
        }