private void copyPrimitive(string name, bool isMandatory)
        {
            string propertyValue = _memento.GetProperty(name);

            if (propertyValue == null && isMandatory)
            {
                throw new StructureMapException(205, name, _memento.InstanceKey);
            }

            _instance.SetValue(name, propertyValue);
        }