コード例 #1
0
            public override ArtifactLocation VisitArtifactLocation(ArtifactLocation node)
            {
                FileLocationUris = FileLocationUris ?? new List <string>();
                FileLocationUris.Add(node.Uri.OriginalString);

                FileLocationUriBaseIds = FileLocationUriBaseIds ?? new List <string>();
                FileLocationUriBaseIds.Add(node.UriBaseId);

                return(base.VisitArtifactLocation(node));
            }
コード例 #2
0
            public override ArtifactLocation VisitArtifactLocation(ArtifactLocation node)
            {
                if (_currentRun.OriginalUriBaseIds == null || !_currentRun.OriginalUriBaseIds.Values.Contains(node))
                {
                    FileLocationUris = FileLocationUris ?? new List <string>();
                    FileLocationUris.Add(node.Uri.OriginalString);

                    FileLocationUriBaseIds = FileLocationUriBaseIds ?? new List <string>();
                    FileLocationUriBaseIds.Add(node.UriBaseId);
                }
                return(base.VisitArtifactLocation(node));
            }