public static Pusher?GetPusher(string label) { return(GetProvider(label) switch { PushProvider pp => pp.SetValue, _ => null });
public static Pusher RegisterPush(string label, Formatter formatter, IComparable order) { var pp = new PushProvider(label, formatter, order); Register(pp); return(pp.SetValue); }