Exemplo n.º 1
0
        /// <summary>
        /// Add a process JDF to the current JDF or document
        /// </summary>
        /// <returns>The newly created JDF node.</returns>
        /// <remarks>If no types are passed, a process group node is created.</remarks>
        public static XElement AddGrayBoxJdfElement(this XContainer parent, params string[] types)
        {
            ParameterCheck.ParameterRequired(parent, "parent");

            return(parent.AddJdfElement(true, types));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Add a process group JDF to the current JDF or document
        /// </summary>
        /// <returns>The newly created JDF node.</returns>
        public static XElement AddProcessGroupElement(this XContainer parent)
        {
            ParameterCheck.ParameterRequired(parent, "parent");

            return(parent.AddJdfElement("ProcessGroup"));
        }
Exemplo n.º 3
0
        /// <summary>
        /// Add an intent JDF to the current JDF or document
        /// </summary>
        /// <param name="parent"></param>
        /// <returns>The newly created JDF node.</returns>
        public static XElement AddIntentElement(this XContainer parent)
        {
            ParameterCheck.ParameterRequired(parent, "parent");

            return(parent.AddJdfElement("Product"));
        }