feat: init avalonia demo.

This commit is contained in:
NaBian committed 2024-07-14 22:23:46 +08:00
1 parent adb6355884
commit 63bf5c6aa7
95 files changed
+20896 -2634

No files matched your search

@@ -10,7 +10,9 @@ namespace HandyControlDemo.Tools;
internal class HighlightingProvider
{
public static HighlightingProvider Default = new Lazy<HighlightingProvider>(() => new HighlightingProvider()).Value;
private static readonly Lazy<HighlightingProvider> DefaultInternal = new(() => new HighlightingProvider());
public static HighlightingProvider Default => DefaultInternal.Value;
protected static readonly Lazy<IHighlightingDefinition> DefaultDefinition = new(() => HighlightingManager.Instance.GetDefinition("C#"));