Meta.

OnlyIfNonExisting(bool) Method

Summary

Only sets the new metadata value if a value doesn't already exist. The default behavior is to set the new value regardless.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Metadata
Containing Type
Meta

Syntax

public Meta OnlyIfNonExisting(bool onlyIfNonExisting = true)

Parameters

Name Type Description
onlyIfNonExisting bool true if the new value should only be set if it doesn't already exist.

Return Value

Type Description
Meta The current module instance.
GitHub