MetadataXmlExtensions.

XAttribute(IMetadata, string, Func<string, XAttribute>) Method

Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Meta
Containing Type
MetadataXmlExtensions

Syntax

public static XAttribute XAttribute(this IMetadata metadata, string key, Func<string, XAttribute> attributeFunc)

Parameters

Name Type Description
metadata IMetadata
key string
attributeFunc Func<string, XAttribute>

Return Value

Type Description
XAttribute
GitHub