committed by
GitHub
12 changed files with 72 additions and 21 deletions
@ -1,5 +1,5 @@ |
|||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<ItemGroup> |
<ItemGroup> |
||||
<PackageReference Include="ReactiveUI" Version="12.1.1" /> |
<PackageReference Include="ReactiveUI" Version="13.2.10" /> |
||||
</ItemGroup> |
</ItemGroup> |
||||
</Project> |
</Project> |
||||
|
|||||
@ -0,0 +1,12 @@ |
|||||
|
using System; |
||||
|
using XamlX.Transform; |
||||
|
|
||||
|
namespace Avalonia.Build.Tasks |
||||
|
{ |
||||
|
public class DeterministicIdGenerator : IXamlIdentifierGenerator |
||||
|
{ |
||||
|
private int _nextId = 1; |
||||
|
|
||||
|
public string GenerateIdentifierPart() => (_nextId++).ToString(); |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue