Exemplo n.º 1
0
        private void ExecuteCreate(ICreator creator, CreateAction create)
        {
            if (!creator.CanCreate(create))
            {
                return;
            }

            var obj = creator.Create(create);

            State.Add(obj);
        }