A Sandcastle Documented Class Library
![]() | TagManagerGetOrAdd Method (String, FuncString, Tag) |
Gets the tag by looking it up from its EPC or by creating it if it is not known.
Namespace: Tego.Rfid.Gen2
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)

public Tag GetOrAdd( string epc, Func<string, Tag> createTag )
Public Function GetOrAdd ( epc As String, createTag As Func(Of String, Tag) ) As Tag
public: virtual Tag^ GetOrAdd( String^ epc, Func<String^, Tag^>^ createTag ) sealed
abstract GetOrAdd : epc : string * createTag : Func<string, Tag> -> Tag override GetOrAdd : epc : string * createTag : Func<string, Tag> -> Tag
Parameters
- epc
- Type: SystemString
EPC of tag being got. - createTag
- Type: SystemFuncString, Tag
Function used to create tag if it does not exist.
Return Value
Type: TagTag.
Implements
ITagManagerGetOrAdd(String, FuncString, Tag)