ExecutionSettingsExtensions.GetTrigger Method

TegoOS

ExecutionSettingsExtensionsGetTrigger Method
Extension method to get trigger from settings without creating an exception if settings are null.

Namespace: Tego.Rfid.Gen2
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
public static Trigger GetTrigger(
	this ExecutionSettings settings
)
<ExtensionAttribute>
Public Shared Function GetTrigger ( 
	settings As ExecutionSettings
) As Trigger
public:
[ExtensionAttribute]
static Trigger^ GetTrigger(
	ExecutionSettings^ settings
)
[<ExtensionAttribute>]
static member GetTrigger : 
        settings : ExecutionSettings -> Trigger 

Parameters

settings
Type: Tego.Rfid.Gen2ExecutionSettings
Execution settings.

Return Value

Type: Trigger
Trigger or null if settings or trigger are not present.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ExecutionSettings. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also