[This is preliminary documentation and is subject to change.]

Perform an action if the string is not null or empty.

Namespace:  Facebook.Json.Utilities
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

C#
public static void IfNotNullOrEmpty(
	string value,
	Action<string> action
)
Visual Basic (Declaration)
Public Shared Sub IfNotNullOrEmpty ( _
	value As String, _
	action As Action(Of String) _
)
Visual C++
public:
static void IfNotNullOrEmpty(
	String^ value, 
	Action<String^>^ action
)

Parameters

value
Type: System..::.String
The value.
action
Type: System..::.Action<(Of <(String>)>)
The action to perform.

See Also

StringUtils Class
Facebook.Json.Utilities Namespace