Exemplo n.º 1
0
        private void CreateTypeWithNHAliasReferenceAttributeValue(INHElement element, IXmlAttribute attribute)
        {
            if (attribute.Value == null)
                return;

            var parser = new ReferenceParser();
            var newElement = parser.ParseReferenceType(attribute.Value, new NHGlobalQualifier(element));
            ReplaceAttributeValue(attribute, newElement);
        }
Exemplo n.º 2
0
        private void CreateTypeReferenceAttributeValue(INHElement element, IXmlAttribute attribute)
        {
            if (attribute.Value == null)
                return;

            ReferenceParser parser = new ReferenceParser();
            IXmlAttributeValue newElement = parser.ParseReferenceType(attribute.Value, null);
            ReplaceAttributeValue(attribute, newElement);
        }