Пример #1
0
        public async Task InitializeAsync()
        {
            var state = await treeStateStore.Get();

            if (state is null)
            {
                state = treeStateFactory.CreateTree();
                await treeStateStore.Set(state);
            }

            TreeBehaviour = new TreeBehaviourEngine(config, state);
        }