Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.10.1-preview-811" />

 CollectionExtensions

static class CollectionExtensions
public static TResult GetOrDefault<TResult>(this Dictionary<RegistrationOption, object> dict, RegistrationOption key)

public static object GetOrDefault(this Dictionary<RegistrationOption, object> dict, RegistrationOption key)

public static bool IsOn(this Dictionary<RegistrationOption, object> dict, RegistrationOption key)

public static bool TryGet(this Dictionary<RegistrationOption, object> dict, RegistrationOption key, out object value)