ATMLSchemaLibrary.managers.SchemaManager.IsPhysicalType C# (CSharp) Method

IsPhysicalType() public static method

public static IsPhysicalType ( XmlSchemaType schemaType ) : bool
schemaType System.Xml.Schema.XmlSchemaType
return bool
        public static bool IsPhysicalType( XmlSchemaType schemaType )
        {
            bool isPhysicalType = false;
            if (schemaType != null)
            {
                isPhysicalType = ( schemaType.Name != null && schemaType.Name.Contains( "Phys" ) );
                if (!isPhysicalType)
                {
                    if (schemaType.BaseXmlSchemaType != null)
                        isPhysicalType = IsPhysicalType( schemaType.BaseXmlSchemaType );
                }
            }
            return isPhysicalType;
        }

Same methods

SchemaManager::IsPhysicalType ( XmlQualifiedName qualifiedName ) : bool
SchemaManager::IsPhysicalType ( string nameSpace, string localName, string propertyName ) : bool