public static ExtensibleData Resolve(String resourceId, Gedcomx document)
        {
            if (resourceId == null)
            {
                return null;
            }

            FamilySearchPlatformLocalReferenceResolver visitor = new FamilySearchPlatformLocalReferenceResolver(resourceId);
            document.Accept(visitor);
            return visitor.Resource;
        }
        public static ExtensibleData Resolve(String resourceId, Gedcomx document)
        {
            if (resourceId == null)
            {
                return(null);
            }

            FamilySearchPlatformLocalReferenceResolver visitor = new FamilySearchPlatformLocalReferenceResolver(resourceId);

            document.Accept(visitor);
            return(visitor.Resource);
        }