Alba.Jaml.MSInternal.XamlContext.PropertyTypeMatchesGenericTagType C# (CSharp) Метод

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

private PropertyTypeMatchesGenericTagType ( XamlType tagType, string tagNs, string propNs, string propTypeName ) : bool
tagType XamlType
tagNs string
propNs string
propTypeName string
Результат bool
        private bool PropertyTypeMatchesGenericTagType (XamlType tagType, string tagNs, string propNs, string propTypeName)
        {
            if (((tagNs != propNs) && (tagType.Name != propTypeName)) && !tagType.GetXamlNamespaces().Contains(propNs)) {
                return false;
            }
            XamlType type = this.GetXamlType(propNs, propTypeName, tagType.TypeArguments);
            return (tagType == type);
        }