Method TryCreate
- Namespace
- MailFathom.Domain.Access
- Assembly
- MailFathom.Domain.dll
TryCreate(string?, out UserCredentialLookup)
Reads a stored value back into a lookup, whichever method wrote it.
public static bool TryCreate(string? stored, out UserCredentialLookup lookup)
Parameters
storedstringThe value as the row holds it.
lookupUserCredentialLookupThe lookup when the stored value is usable; otherwise the unspecified default.
Returns
Remarks
The one entry point that accepts a value composed elsewhere, which is what a row read back out of the table it was written into needs; every other factory states which method it is composing for.