public void non_default_fill() { var count = 0; cache.OnMissing = key => ++ count; cache.FillDefault("number"); cache["number"].ShouldEqual(1); cache.Fill("diff", key => 1000); cache["diff"].ShouldEqual(1000); }
public void AddEventType(Type eventType) { _events.FillDefault(eventType); }