public static TrendyolAppBuilder UseLocalTimes(this TrendyolAppBuilder builder) { builder.BeforeBuild(() => { builder.DataStore.SetData(Constants.DateTimeProvider, new LocalDateTimeProvider()); }); return(builder); }
protected TrendyolAppModule(TrendyolAppBuilder builder1) { _builder = builder1; }
public static TrendyolAppBuilder UseUtcTimes(this TrendyolAppBuilder builder) { builder.DataStore.SetData(Constants.DateTimeProvider, new UtcDateTimeProvider()); return(builder); }