Esempio n. 1
0
        //--------------------------------------------------------------
        /// <summary>
        /// Initializes a new instance of the <see cref="ShaderParser"/> class.
        /// </summary>
        /// <param name="intelliSense">Te IntelliSense provider.</param>
        public ShaderParser(ShaderIntelliSense intelliSense)
        {
            if (intelliSense == null)
                throw new ArgumentNullException(nameof(intelliSense));

            _intelliSense = intelliSense;
        }
Esempio n. 2
0
        //--------------------------------------------------------------
        #region Properties
        //--------------------------------------------------------------
        #endregion


        //--------------------------------------------------------------
        #region Creation and Cleanup
        //--------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance of the <see cref="ShaderParser"/> class.
        /// </summary>
        /// <param name="intelliSense">Te IntelliSense provider.</param>
        public ShaderParser(ShaderIntelliSense intelliSense)
        {
            if (intelliSense == null)
            {
                throw new ArgumentNullException(nameof(intelliSense));
            }

            _intelliSense = intelliSense;
        }