Example #1
0
            public void Add(string key, object value)
            {
                ScriptEngine outer;

                if (_outer.TryGetTarget(out outer))
                {
                    outer.Inner.AddNamedItem(key, (uint)(SCRIPTITEMFLAGS.SCRIPTITEM_NOCODE | SCRIPTITEMFLAGS.SCRIPTITEM_ISVISIBLE));
                }
                _inner.Add(key, value);
            }