CustomAttributeAdapter.CreateTypedValue Method

Namespace
Kampute.DocToolkit.Metadata.Adapters
Assembly
  • Kampute.DocToolkit.dll

Definition

Converts a custom attribute typed argument into a TypedValue, handling array arguments by wrapping element values in an array of TypedValue instances.
protected virtual TypedValue CreateTypedValue(CustomAttributeTypedArgument typedArgument)

Parameters

typedArgument CustomAttributeTypedArgument
The typed argument to convert.

Returns

TypedValue
A TypedValue representing the typed argument.