Table of Contents

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 TXmlNode

The current INode.

attributesObject object

The object containing attribute names and values.

Returns

TXmlNode

The self INode object for fluent chaining.

Type Parameters

TXmlNode

The object type which implements INode.