//------------------------------------------------------------------------------
        object GetPluginInternally(Type pluginInterfaceType)
        {
            lock (s_lockObject)
            {
                object plugin = null;

                bool exist = m_plugins.TryGetValue(pluginInterfaceType, out plugin);
                if (!exist)
                {
                    plugin = InternalConfiguration.GetPluginHelper(pluginInterfaceType, this);
                    m_plugins.Add(pluginInterfaceType, plugin);
                }

                return(plugin);
            }
        }
Beispiel #2
0
        //------------------------------------------------------------------------------
        public static void ThrowNotImplementedForEvaluation(string methodName)
        {
            var exc = InternalConfiguration.GetNotImplementedForEvaluationException(methodName);

            throw exc;
        }