MetadataXmlExtensions.

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

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

Syntax

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

Parameters

Name Type Description
metadata IMetadata
key string
valueFunc Func<string, string>

Return Value

Type Description
XAttribute
GitHub