void AddSourcefile(SourcefileDto sourcefile) { SourcefileViewModel newSourcefile = _sourcefileFactory(sourcefile); newSourcefile.AddTags(sourcefile.Tags); _sourcefiles.Add(newSourcefile); }
public void AddRepositoryListSourcefile(Guid repositoryListId, int version, SourcefileDto sourcefile) { RepositoryListDto repositoryList = GetRepositoryListById(repositoryListId); repositoryList.AddSourcefile(version, sourcefile); }
public SourcefileViewModel(SourcefileDto sourcefile) { _sourcefile = sourcefile; _tags = new ObservableCollection<TagViewModel>(); }
public SourcefileViewModel(SourcefileDto sourcefile) { _sourcefile = sourcefile; _tags = new ObservableCollection <TagViewModel>(); }