Moved runtime abstractions and added SemVer + extensions to abstractions.
This commit is contained in:
@@ -4,4 +4,8 @@
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Semver" Version="2.0.4" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -5,7 +5,7 @@ using Semver;
|
||||
|
||||
namespace Umbraco.Core
|
||||
{
|
||||
internal static class VersionExtensions
|
||||
public static class VersionExtensions
|
||||
{
|
||||
public static Version GetVersion(this SemVersion semVersion, int maxParts = 4)
|
||||
{
|
||||
@@ -631,8 +631,6 @@
|
||||
<Compile Include="IO\SystemDirectories.cs" />
|
||||
<Compile Include="IO\SystemFiles.cs" />
|
||||
<Compile Include="IO\ViewHelper.cs" />
|
||||
<Compile Include="IRuntime.cs" />
|
||||
<Compile Include="IRuntimeState.cs" />
|
||||
<Compile Include="Logging\DebugDiagnosticsLogger.cs" />
|
||||
<Compile Include="Logging\Serilog\SerilogLogger.cs" />
|
||||
<Compile Include="Logging\LoggingTaskExtension.cs" />
|
||||
@@ -1446,7 +1444,6 @@
|
||||
<Compile Include="Sync\RefreshInstructionEnvelope.cs" />
|
||||
<Compile Include="Sync\RefreshMethodType.cs" />
|
||||
<Compile Include="Sync\ServerMessengerBase.cs" />
|
||||
<Compile Include="Sync\ServerRole.cs" />
|
||||
<Compile Include="Sync\SingleServerRegistrar.cs" />
|
||||
<Compile Include="Collections\TopoGraph.cs" />
|
||||
<Compile Include="TypeExtensions.cs" />
|
||||
@@ -1457,7 +1454,6 @@
|
||||
<Compile Include="UdiRange.cs" />
|
||||
<Compile Include="UdiTypeConverter.cs" />
|
||||
<Compile Include="UriExtensions.cs" />
|
||||
<Compile Include="VersionExtensions.cs" />
|
||||
<Compile Include="XmlExtensions.cs" />
|
||||
<Compile Include="PackageActions\IPackageAction.cs" />
|
||||
<Compile Include="PackageActions\PackageActionCollection.cs" />
|
||||
|
||||
Reference in New Issue
Block a user