EmbeddedDataSwitch(ActionByte, ActionString) Method

Performs an ActionT depending on the Type of the embedded data.

Definition

Namespace: FolkerKinzel.DataUrls
Assembly: FolkerKinzel.DataUrls (in FolkerKinzel.DataUrls.dll) Version: 1.0.0+b1c843815044ca6fd87a144c9ff16386002c6473
C#
public void Switch(
	Action<byte[]>? bytesAction = null,
	Action<string>? textAction = null
)

Parameters

bytesAction  ActionByte  (Optional)
null, or the ActionT to be executed if the encapsulated value is an array of Bytes.
textAction  ActionString  (Optional)
null, or the ActionT to be executed if the encapsulated value is a String.

See Also