BExIS.Xml.Helpers.XmlSchemaUtility.IsAllSimpleType C# (CSharp) 메소드

IsAllSimpleType() 공개 정적인 메소드

public static IsAllSimpleType ( List elements ) : bool
elements List
리턴 bool
        public static bool IsAllSimpleType(List<XmlSchemaElement> elements)
        {
            bool allSimple = true;

            foreach (XmlSchemaElement element in elements)
            {
                if (!IsSimpleType(element))
                {
                    allSimple = false;
                }
            }

            return allSimple;
        }