BExIS.Xml.Helpers.XmlSchemaUtility.IsAllSimpleType C# (CSharp) Method

IsAllSimpleType() public static method

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

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

            return allSimple;
        }