using Umbraco.Cms.Core.Semver;
namespace Umbraco.Cms.Core.Configuration;
public interface IUmbracoVersion
{
///
/// Gets the non-semantic version of the Umbraco code.
///
Version Version { get; }
///
/// Gets the semantic version comments of the Umbraco code.
///
string Comment { get; }
///
/// Gets the assembly version of the Umbraco code.
///
///
/// The assembly version is the value of the .
///
/// Is the one that the CLR checks for compatibility. Therefore, it changes only on
/// hard-breaking changes (for instance, on new major versions).
///
///
Version? AssemblyVersion { get; }
///
/// Gets the assembly file version of the Umbraco code.
///
///
/// The assembly version is the value of the .
///
Version? AssemblyFileVersion { get; }
///
/// Gets the semantic version of the Umbraco code.
///
///
/// The semantic version is the value of the .
/// It is the full version of Umbraco, including comments.
///
SemVersion SemanticVersion { get; }
}