Пример #1
0
        public void Init(IEventContext context)
        {
            Context    = context;
            Identifier = EventContext.GenerateSessionIdentifier(this);
            Context.Log(LogType.ConsumerStartup, source: this);
            Warehouse = new Warehouse();

            // init the session log
            Warehouse.Store(LOG_NAME, this, new[] { $"[{context.GetTimeNow()}] Log Starting" }, LoadingDockPolicies);
        }