Table of Contents

TryGetXmlAttributeAttribute Method

Definition

Namespace
Cuemon.Xml
Assemblies
Cuemon.Xml.dll
Source
src/Cuemon.Xml/Extensions/HierarchyDecoratorExtensions.cs

TryGetXmlAttributeAttribute(IDecorator<IHierarchy<object>>, out XmlAttributeAttribute)

Attempts to get an XmlAttributeAttribute from the underlying IHierarchy<T> of the decorator.

public static bool TryGetXmlAttributeAttribute(this IDecorator<IHierarchy<object>> decorator, out XmlAttributeAttribute xmlAttribute)

Parameters

decorator IDecorator<IHierarchy<object>>

The decorator that wraps the IHierarchy<T> to extend.

xmlAttribute XmlAttributeAttribute

When this method returns, contains the XmlAttributeAttribute associated with the underlying IHierarchy<T> of the decorator.

Returns

bool

true if underlying IHierarchy<T> of the decorator contains an XmlAttributeAttribute, false otherwise.