public PluginControllerFactory(Zongsoft.Plugins.PluginContext pluginContext)
		{
			if(pluginContext == null)
				throw new ArgumentNullException("pluginContext");

			_pluginContext = pluginContext;
		}
示例#2
0
        public PluginControllerFactory(Zongsoft.Plugins.PluginContext pluginContext)
        {
            if (pluginContext == null)
            {
                throw new ArgumentNullException("pluginContext");
            }

            _pluginContext = pluginContext;
        }
示例#3
0
        internal AppenderContext(PluginContext pluginContext, object value, PluginTreeNode node, object container, PluginTreeNode containerNode, AppenderBehavior behaviour)
        {
            if (pluginContext == null)
            {
                throw new ArgumentNullException("pluginContext");
            }

            if (node == null)
            {
                throw new ArgumentNullException("node");
            }

            _syncRoot      = new object();
            _pluginContext = pluginContext;
            _node          = node;
            _value         = value;
            _container     = container;
            _containerNode = containerNode;
            _behaviour     = behaviour;
        }