public static DependencyException With(this DependencyException This, IResolver resolver) => new DependencyException(This.Type, This.DependentTypes, This.Name, This.Reason, resolver);
public static DependencyException WithDependent(this DependencyException This, Type dependentType) => new DependencyException(This.Type, This.DependentTypes.Prepend(dependentType).ToArray(), This.Name, This.Reason, This.Resolver);