LRU
True
True
Class
10
9
6
7
8
True
True
Primary
cs
ViewModel
True
Class (View Model)
True
getAlphaNumericFileNameWithoutExtension()
-1
1
True
fileheader()
0
True
fileDefaultNamespace()
-1
2
True
completeSmart()
3
CSharp
True
True
InCSharpProjectFile
True
using CommunityToolkit.Mvvm.ComponentModel;
using StabilityMatrix.Core.Attributes;
$HEADER$namespace $NAMESPACE$;
[View(typeof($VIEWCLASS$))]
public partial class $CLASS$ : ViewModelBase
{
[ObservableProperty] private string title = "Hello";$END$
}
Class/Interface
True
True
axaml
UserControlBase
True
SM User Control Base
Xaml
True
True
<controls:UserControlBase xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:StabilityMatrix.Avalonia.ViewModels"
xmlns:ui="using:FluentAvalonia.UI.Controls"
xmlns:mocks="clr-namespace:StabilityMatrix.Avalonia.DesignData"
xmlns:controls="clr-namespace:StabilityMatrix.Avalonia.Controls"
xmlns:system="clr-namespace:System;assembly=System.Runtime"
d:DataContext="{x:Static mocks:DesignData.$CLASS$ViewModel}"
x:DataType="vm:$CLASS$ViewModel"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="$NAMESPACE$.$CLASS$">
Welcome to Avalonia!$END$
</controls:UserControlBase>
True
getAlphaNumericFileNameWithoutExtension()
-1
348A597E5D7F8E41BA425BC567BAB17D
1
True
fileheader()
-1
348A597E5D7F8E41BA425BC567BAB17D
0
True
fileDefaultNamespace()
-1
348A597E5D7F8E41BA425BC567BAB17D
2
True
InAnyXamlProject
True
<RelativeConfig File="$FULLNAME$.cs" />
manual
0
$HEADER$using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace $NAMESPACE$
{
public partial class $CLASS$ : UserControl
{
public $CLASS$()
{
InitializeComponent();
}
private void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
}
}
True
True
Avalonia User Control
13
5
3
8
7
9
10
11
1
4
12
2
6