-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from MacTee/dev
- Loading branch information
Showing
91 changed files
with
4,544 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace KSPMODAdmin.Core.Utils.Ckan | ||
{ | ||
/// <summary> | ||
/// Class that contains all information from a Ckan Repository archive. | ||
/// </summary> | ||
public class CkanArchive | ||
{ | ||
/// <summary> | ||
/// The CKAN Repository information from which this Archive comes from. | ||
/// </summary> | ||
public CkanRepository Repository { get; set; } | ||
|
||
/// <summary> | ||
/// The full path to the CKAN Repository archive. | ||
/// </summary> | ||
public string FullPath { get; set; } | ||
|
||
/// <summary> | ||
/// A List of all Mods that this CKAN Repository Archive contains. | ||
/// </summary> | ||
public Dictionary<string, CkanMod> Mods { get; set; } | ||
|
||
/// <summary> | ||
/// Creates a instance of the class CkanArchive. | ||
/// </summary> | ||
public CkanArchive() | ||
{ | ||
Mods = new Dictionary<string, CkanMod>(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace KSPMODAdmin.Core.Utils.Ckan | ||
{ | ||
/// <summary> | ||
/// Class that represents a mod entry in a CKAN Repository archive. | ||
/// </summary> | ||
public class CkanMod | ||
{ | ||
/// <summary> | ||
/// Name of the mod. | ||
/// </summary> | ||
public string Name { get; set; } | ||
|
||
/// <summary> | ||
/// The all known CKAN ModInfos for this mod. | ||
/// </summary> | ||
public List<CkanModInfo> ModInfos { get; set; } | ||
|
||
/// <summary> | ||
/// Path to the CKAN Repository archive. | ||
/// </summary> | ||
public string ArchivePath { get; set; } | ||
|
||
/// <summary> | ||
/// Creates a new instance of the class CkanMod. | ||
/// </summary> | ||
public CkanMod() | ||
{ | ||
ModInfos = new List<CkanModInfo>(); | ||
} | ||
} | ||
} |
Oops, something went wrong.