function LastContentModLog(Content $content, Interfaces\IContainerReferenceResolver $resolver = null)
    {
        $lastLog = self::LastContentLog($content);
        $container = $resolver ? $resolver->GetReferencedContainer($content) : null;
        if ($container)
        {
            $containerLog = self::LastContainerModLog($container);
            if (self::IsAfter($containerLog, $lastLog))
            {
                $lastLog = $containerLog;
            }
        }
        if ($content->GetTemplate())
        {
            $templateLog = self::LastTemplateLog($content->GetType(), $content->GetTemplate());
            if (self::IsAfter($templateLog, $lastLog))
            {
                $lastLog = $templateLog;
            }
        }
        return $lastLog;
    }