Exemple #1
0
        public void Delete(IContentWithPackageName content)
        {
            var dir = content.GetSourceDirectory(this);

            if (dir.Exists)
            {
                dir.Delete(true);
            }
        }
Exemple #2
0
 public IAbsoluteDirectoryPath GetContentPath(IContentWithPackageName content)
 {
     ConfirmInstalled();
     return(content.GetSourceDirectory(this));
 }
Exemple #3
0
 protected IAbsoluteDirectoryPath GetContentSourceDirectory(IContentWithPackageName content)
 => content.GetSourceDirectory(this);
Exemple #4
0
 public IAbsoluteDirectoryPath GetSourcePath() => _content.GetSourceDirectory(_game);