Exemplo n.º 1
0
        /// <summary>
        /// Raises the <see cref="NodeConstructed"/> event.
        /// </summary>
        /// <param name="content">The content of the node that has been constructed.</param>
        /// <remarks>This method is internal so it can be used by the <see cref="ModelConsistencyCheckVisitor"/>.</remarks>
        internal void NotifyNodeConstructed(IContent content)
        {
            var handler = NodeConstructed;

            if (handler != null)
            {
                var args = new NodeConstructedArgs(content);
                handler(this, args);
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Raises the <see cref="NodeConstructed"/> event.
 /// </summary>
 /// <param name="content">The content of the node that has been constructed.</param>
 /// <remarks>This method is internal so it can be used by the <see cref="ModelConsistencyCheckVisitor"/>.</remarks>
 internal void NotifyNodeConstructed(IContent content)
 {
     var handler = NodeConstructed;
     if (handler != null)
     {
         var args = new NodeConstructedArgs(content);
         handler(this, args);
     }
 }