Пример #1
0
        /// <summary>
        /// Expands the template tree into the templating context current output.
        /// </summary>
        /// <param name="templatingContext"> The templating context. </param>
        public void ExpandTemplate(ITextMetalContext templatingContext)
        {
            if ((object)templatingContext == null)
            {
                throw new ArgumentNullException(nameof(templatingContext));
            }

            templatingContext.DebugBreak();
        }
Пример #2
0
        /// <summary>
        /// Gets the value of the current associative object instance.
        /// </summary>
        /// <param name="templatingContext"> The templating context. </param>
        /// <returns> A value or null. </returns>
        public object GetAssociativeObjectValue(ITextMetalContext templatingContext)
        {
            if ((object)templatingContext == null)
            {
                throw new ArgumentNullException(nameof(templatingContext));
            }

            templatingContext.DebugBreak();

            return(this);
        }
Пример #3
0
        /// <summary>
        /// Gets the enumerator (tick one) for the current associative object instance.
        /// </summary>
        /// <param name="templatingContext"> The templating context. </param>
        /// <returns> An instance of IEnumerator`1 or null. </returns>
        public IEnumerator <KeyValuePair <string, object> > GetAssociativeObjectEnumeratorTickOne(ITextMetalContext templatingContext)
        {
            if ((object)templatingContext == null)
            {
                throw new ArgumentNullException(nameof(templatingContext));
            }

            templatingContext.DebugBreak();

            return(null);
        }
Пример #4
0
        /// <summary>
        /// Gets the dictionary enumerator for the current associative object instance.
        /// </summary>
        /// <param name="templatingContext"> The templating context. </param>
        /// <returns> An instance of IDictionaryEnumerator or null. </returns>
        public IDictionaryEnumerator GetAssociativeObjectEnumeratorDict(ITextMetalContext templatingContext)
        {
            if ((object)templatingContext == null)
            {
                throw new ArgumentNullException(nameof(templatingContext));
            }

            templatingContext.DebugBreak();

            return(null);
        }
Пример #5
0
        /// <summary>
        /// Re-orders an enumerable of values, yielding a re-ordered enumerable.
        /// </summary>
        /// <param name="templatingContext"> The templating context. </param>
        /// <param name="values"> </param>
        /// <returns> </returns>
        public IEnumerable EvaluateSort(ITextMetalContext templatingContext, IEnumerable values)
        {
            if ((object)templatingContext == null)
            {
                throw new ArgumentNullException(nameof(templatingContext));
            }

            templatingContext.DebugBreak();

            return(values);
        }
Пример #6
0
        /// <summary>
        /// Evaluates at run-time, an expression tree yielding an object value result.
        /// </summary>
        /// <param name="templatingContext"> The templating context. </param>
        /// <returns> An expression return value or null. </returns>
        public object EvaluateExpression(ITextMetalContext templatingContext)
        {
            if ((object)templatingContext == null)
            {
                throw new ArgumentNullException(nameof(templatingContext));
            }

            templatingContext.DebugBreak();

            return(null);
        }