コード例 #1
0
ファイル: Game.cs プロジェクト: dkv01/withSIX.Desktop
        public void Delete(IContentWithPackageName content)
        {
            var dir = content.GetSourceDirectory(this);

            if (dir.Exists)
            {
                dir.Delete(true);
            }
        }
コード例 #2
0
ファイル: Game.cs プロジェクト: dkv01/withSIX.Desktop
 public Uri GetPublisherUrl(IContentWithPackageName c) => GetPublisherUrl(c.GetSource(this));
コード例 #3
0
ファイル: Game.cs プロジェクト: dkv01/withSIX.Desktop
 public IAbsoluteDirectoryPath GetContentPath(IContentWithPackageName content)
 {
     ConfirmInstalled();
     return(content.GetSourceDirectory(this));
 }
コード例 #4
0
ファイル: Game.cs プロジェクト: dkv01/withSIX.Desktop
 protected IAbsoluteDirectoryPath GetContentSourceDirectory(IContentWithPackageName content)
 => content.GetSourceDirectory(this);
コード例 #5
0
 public RvMod(RealVirtualityGame game, IContentWithPackageName content)
 {
     _game    = game;
     _content = content;
     _myPath  = game.ContentPaths.Path.GetChildDirectoryWithName(content.PackageName);
 }