コード例 #1
0
ファイル: ArtifactContext.cs プロジェクト: tocsleung/npanday
        public ArtifactRepository GetArtifactRepository()
        {
            ArtifactRepository artifactRepository = new ArtifactRepository();

            artifactRepository.Init(this, new DirectoryInfo(SettingsUtil.GetLocalRepositoryPath()));
            return(artifactRepository);
        }
コード例 #2
0
 public static string GetLocalUacPath(Artifact.Artifact artifact, string ext)
 {
     return(Path.Combine(SettingsUtil.GetLocalRepositoryPath(), string.Format(@"{0}\{1}\{1}{2}-{3}", Tokenize(artifact.GroupId), artifact.ArtifactId, artifact.Version, ext)));
 }