Esempio n. 1
0
        // Note: We can't store the node anywhere because it is subject
        // to change if it gets invalidated, so we can only use the
        // node for the life of this method
        internal void ToggleLogging(IEventLoggingNode node,
                                    bool start)
        {
            ObjectEvent oe = new ObjectEvent(node.LogEventObject,
                                             node.LogEventInfo);

            ToggleLogging(oe, node.LogObjectName, start);
        }
Esempio n. 2
0
		// Note: We can't store the node anywhere because it is subject
		// to change if it gets invalidated, so we can only use the
		// node for the life of this method
		internal void ToggleLogging(IEventLoggingNode node,
									bool start)
		{
			ObjectEvent oe = new ObjectEvent(node.LogEventObject,
											 node.LogEventInfo);
			ToggleLogging(oe, node.LogObjectName, start);
		}