示例#1
0
        public IEnumerable <string> GetTagsBySourcefile(Guid repositoryId, string sourcefileName)
        {
            SourcefileDto sourcefile = GetSourcefileByName(repositoryId, sourcefileName);

            return(sourcefile.Tags);
        }
        public void AddSourcefile(int version, SourcefileDto sourcefile)
        {
            _version = version;

            _sourcefiles.Add(sourcefile);
        }
示例#3
0
        public void AddRepositoryListSourcefile(Guid repositoryListId, int version, SourcefileDto sourcefile)
        {
            RepositoryListDto repositoryList = GetRepositoryListById(repositoryListId);

            repositoryList.AddSourcefile(version, sourcefile);
        }