DOCUMENTATION: Added XML documentation to DiscImageChef.Core.

This commit is contained in:
2017-12-23 01:46:08 +00:00
parent e7932c12c2
commit 9249a221fc
61 changed files with 1937 additions and 1267 deletions

View File

@@ -37,8 +37,14 @@ namespace DiscImageChef.Core
{
static class Version
{
/// <summary>
/// Gets XML software type for the running version
/// </summary>
/// <param name="platform">Platform we are running in</param>
/// <returns>XML software type</returns>
internal static SoftwareType GetSoftwareType(PlatformID platform)
{
// TODO: Platform should be get automatically
return new SoftwareType
{
Name = "DiscImageChef",
@@ -47,6 +53,10 @@ namespace DiscImageChef.Core
};
}
/// <summary>
/// Gets version string
/// </summary>
/// <returns>Version</returns>
internal static string GetVersion()
{
return typeof(Version).Assembly.GetName().Version.ToString();