Files
Umbraco-CMS/src/Umbraco.Core/InstallLog.cs

35 lines
1.2 KiB
C#
Raw Normal View History

using System;
namespace Umbraco.Cms.Core
{
public class InstallLog
{
public Guid InstallId { get; }
public bool IsUpgrade { get; set; }
public bool InstallCompleted { get; set; }
public DateTime Timestamp { get; set; }
public int VersionMajor { get; }
public int VersionMinor { get; }
public int VersionPatch { get; }
public string VersionComment { get; }
public string Error { get; }
public string UserAgent { get; }
public string DbProvider { get; set; }
public InstallLog(Guid installId, bool isUpgrade, bool installCompleted, DateTime timestamp, int versionMajor, int versionMinor, int versionPatch, string versionComment, string error, string userAgent, string dbProvider)
{
InstallId = installId;
IsUpgrade = isUpgrade;
InstallCompleted = installCompleted;
Timestamp = timestamp;
VersionMajor = versionMajor;
VersionMinor = versionMinor;
VersionPatch = versionPatch;
VersionComment = versionComment;
Error = error;
UserAgent = userAgent;
DbProvider = dbProvider;
}
}
}