Beispiel #1
0
        private void VisitIn(DOMUsing[] usings)
        {
            if (usings == null)
            {
                return;
            }

            for (var i = 0; i < usings.Length; i++)
            {
                var @using = usings[i];
                Assert.IsFalse(string.IsNullOrEmpty(@using.textContent), "content is required for <using />");
                m_File.AddInclude(@using.textContent);
            }
        }
Beispiel #2
0
        void Build(DOMUsing @using)
        {
            Assert.IsFalse(string.IsNullOrEmpty(@using.textContent), "content is required for <using />");

            m_File.AddInclude(@using.textContent);
        }
        void VisitIn(DOMUsing @using)
        {
            Assert.IsFalse(string.IsNullOrEmpty(@using.textContent));

            m_File.AddInclude(@using.textContent);
        }