예제 #1
0
        public static TrendyolAppBuilder UseLocalTimes(this TrendyolAppBuilder builder)
        {
            builder.BeforeBuild(() =>
            {
                builder.DataStore.SetData(Constants.DateTimeProvider, new LocalDateTimeProvider());
            });

            return(builder);
        }
예제 #2
0
 protected TrendyolAppModule(TrendyolAppBuilder builder1)
 {
     _builder = builder1;
 }
예제 #3
0
        public static TrendyolAppBuilder UseUtcTimes(this TrendyolAppBuilder builder)
        {
            builder.DataStore.SetData(Constants.DateTimeProvider, new UtcDateTimeProvider());

            return(builder);
        }