示例#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);
        }