Method WithAttributes
- Namespace
- TinyComponents
- Assembly
- TinyComponents.dll
WithAttributes<TXmlNode>(TXmlNode, object?)
Specifies multiple attributes for this INode from an object.
public static TXmlNode WithAttributes<TXmlNode>(this TXmlNode node, object? attributesObject) where TXmlNode : INode
Parameters
node
TXmlNodeThe current INode.
attributesObject
objectThe object containing attribute names and values.
Returns
- TXmlNode
The self INode object for fluent chaining.
Type Parameters
TXmlNode
The object type which implements INode.