ATMLCommonLibrary.controls.signal.SignalFunctionTypeControl.IsPhysicalType C# (CSharp) Метод

IsPhysicalType() приватный Метод

private IsPhysicalType ( string nameSpace, string localName, string propertyName ) : bool
nameSpace string
localName string
propertyName string
Результат bool
        private bool IsPhysicalType( string nameSpace, string localName, string propertyName )
        {
            bool isPhysicalType = false;
            XmlSchemaAttribute schemaAttribute;
            SchemaManager.FindAttribute(nameSpace, localName, propertyName, out schemaAttribute);
            string typeName = "";
            if (schemaAttribute != null)
            {
                XmlSchemaSimpleType simpleType = schemaAttribute.AttributeSchemaType;
                isPhysicalType = SchemaManager.IsPhysicalType(simpleType);
            }
            return isPhysicalType;
        }