Ejemplo n.º 1
0
        /// <summary>  Implementation of ReferenceInsertionEventHandler method
        /// <code>referenceInsert()</code>.
        /// *
        /// Called during Velocity merge before a reference value will
        /// be inserted into the output stream.
        /// *
        /// </summary>
        /// <param name="reference">reference from template about to be inserted
        /// </param>
        /// <param name="value"> value about to be inserted (after toString() )
        /// </param>
        /// <returns>Object on which toString() should be called for output.
        ///
        /// </returns>
        public virtual System.Object referenceInsert(System.String reference, System.Object value_Renamed)
        {
            if (rieh == null)
            {
                return(value_Renamed);
            }

            return(rieh.referenceInsert(reference, value_Renamed));
        }
        /// <summary>  Implementation of ReferenceInsertionEventHandler method
        /// <code>referenceInsert()</code>.
        /// *
        /// Called during Velocity merge before a reference value will
        /// be inserted into the output stream.
        /// *
        /// </summary>
        /// <param name="reference">reference from template about to be inserted
        /// </param>
        /// <param name="value"> value about to be inserted (after toString() )
        /// </param>
        /// <returns>Object on which toString() should be called for output.
        ///
        /// </returns>
        public Object referenceInsert(String reference, Object value_)
        {
            if (rieh == null)
            {
                return(value_);
            }

            return(rieh.referenceInsert(reference, value_));
        }