Method Resolved
- Namespace
- MailFathom.Infrastructure.Secrets.Resolution
- Assembly
- MailFathom.Infrastructure.dll
Resolved(ResolvedSecret, SecretMaterialSource)
Creates a successful result that hands ownership of the material to the caller.
public static SecretResolutionResult Resolved(ResolvedSecret secret, SecretMaterialSource source)
Parameters
secretResolvedSecretThe resolved material.
sourceSecretMaterialSourceWhere the material came from.
Returns
- SecretResolutionResult
The successful result.
Exceptions
- ArgumentNullException
Thrown when
secretis null.