get Entry Id
Helper method for optimally extracting ids out of a RegistryEntry
Return
Identifier, nullable. If the entry is a RegistryEntry.Reference, it will directly return it's stored id, otherwise it will search the registry for it, possibly returning null if you supply a RegistryEntry.Direct
Author
fzzyhmstrs
Since
0.7.4
Parameters
T
type of object stored in the registry
registry
Registry Registry to get the id out of.
entry
RegistryEntry the entry to get the id for.