示例#1
0
        public override object GetData(DeterministicRandom r)
        {
            if (needToAddFilesWithSearchPatterns)
            {
                UriList urisFromPathList = MakeUris(pathList);

                if (Uris == null)
                {
                    Uris = urisFromPathList;
                }
                else
                {
                    Uris.AddRange(MakeUris(pathList));
                }

                needToAddFilesWithSearchPatterns = false;
            }

            return(r.NextItem <Uri>(Uris));
        }