Method Create
- Namespace
- MailFathom.Infrastructure.Secrets.References
- Assembly
- MailFathom.Infrastructure.dll
Create(string)
Creates a scheme for an adapter declared outside this assembly.
[SuppressMessage("Globalization", "CA1308:Normalize strings to uppercase", Justification = "The wire name is lower-case by specification and is never used as a security decision key; upper-casing it would print a scheme no configuration file spells that way.")]
public static SecretReferenceScheme Create(string name)
Parameters
namestringThe wire name, matched ignoring case.
Returns
- SecretReferenceScheme
The scheme carrying the normalized name.
Exceptions
- ArgumentException
Thrown when
nameis null, empty, or whitespace.