LAUREL BRIDGE

OptionsTryParse Method

DICOM Connectivity Framework V3.4
Try to create an instance of the Options class using the specified commandLine parameter. For an invalid command line, a failure message is written to the console.

Namespace:  LaurelBridge.DCFExamples.DiningPhilosophers
Assembly:  DiningPhilosophers (in DiningPhilosophers.exe) Version: DCF34 r12431 DCF_3_4_38_20200923 NetFramework
Syntax

C#
public static bool TryParse(
	IEnumerable<string> commandLine,
	out Options options
)

Parameters

commandLine
Type: System.Collections.GenericIEnumerableString
Command line parameters.
options
Type: LaurelBridge.DCFExamples.DiningPhilosophersOptions
Returned Options instance if successful, otherwise null.

Return Value

Type: Boolean
True if parse was successful, else false.
See Also

Reference