public IActivity GetActivity(string name)
        {
            if (_registeredActivityNames.ContainsKey(name))
            {
                return(GetActivity(_registeredActivityNames[name]));
            }

            return(_activictyFactory.BuildDefaultActivity(name));
        }