M56X.AvaloniaCore
1.0.14
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package M56X.AvaloniaCore --version 1.0.14
NuGet\Install-Package M56X.AvaloniaCore -Version 1.0.14
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="M56X.AvaloniaCore" Version="1.0.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="M56X.AvaloniaCore" Version="1.0.14" />
<PackageReference Include="M56X.AvaloniaCore" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add M56X.AvaloniaCore --version 1.0.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: M56X.AvaloniaCore, 1.0.14"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package M56X.AvaloniaCore@1.0.14
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=M56X.AvaloniaCore&version=1.0.14
#tool nuget:?package=M56X.AvaloniaCore&version=1.0.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
更新依赖
internal sealed class Program { private static AppLauncher? app;
[STAThread]
public static void Main(string[] args)
{
app = new AppLauncher("直播助手", "LiveStreamingAssistant", "28378143-a6cc-4a4f-bf68-ca31e29921f8", args);
app.Block += App_Block;
app.Initialize();
app.BuildBefore += (s, e) =>
{
LiveCharts.Configure(config =>
config.HasGlobalSKTypeface(SKFontManager.Default.MatchCharacter('汉'))); // 匹配包含“汉”字的字体:ml-citation{ref="1,2" data="citationList"}
app.AddSettingFile<ProjectSetting>(ProjectSettingJsonContext.Default); //设置全局配置
app.SourceGenerationSetup(UniBarrageModelJsonContext.Default,
UniBarrageModelJsonContext.Default);
app.Services.ClipboardServiceSetup();
app.Services.SukiUIServiceSetup();
app.Services.AddSingleton<PluginDefinition>();
app.Services.AddSingleton<BarrageEventManager>();
app.Services.AddSingleton<BarrageService>();
app.Services.AddSingleton<BarrageMessageService>();
app.Services.AddSingleton<BarrageStatisticsService>();
app.Services.UseViewsManager();
app.Services.AddView<MainWindow, MainWindowViewModel>();
app.Services.AddView<BarrageShowWindow, BarrageShowWindowViewModel>();
app.Services.AddView<HomePageView, HomePageViewModel>();
app.Services.AddView<PluginCenterView, PluginCenterViewModel>();
app.Services.AddView<UtilitiesView, UtilitiesViewModel>();
app.Services.AddView<AudioAssistantView, AudioAssistantViewModel>();
app.Services.AddView<VideoAssistantView, VideoAssistantViewModel>();
app.Services.AddView<DataStatisticsView, DataStatisticsViewModel>();
app.Services.AddView<HistoryDataView, HistoryDataViewModel>();
app.Services.AddView<HelpCenterView, HelpCenterViewModel>();
app.Services.AddView<SelectLiveRoomView, SelectLiveRoomViewModel>();
};
app.Startup += (s, e) =>
{
BuildAvaloniaApp()
.StartWithClassicDesktopLifetime(args);
};
app.Build();
app.Run(false);
app.Exit();
}
private static void App_Block(object? sender, EventArgs e)
{
//被阻止启动后的处理
Console.WriteLine("阻止启动");
}
// Avalonia configuration, don't remove; also used by visual designer.
public static AppBuilder BuildAvaloniaApp()
{
var result = AppBuilder.Configure<App>()
.UsePlatformDetect()
.WithInterFont()
.LogToTrace();
return result;
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- Avalonia (>= 11.3.0)
- Avalonia.Desktop (>= 11.3.0)
- Avalonia.Fonts.Inter (>= 11.3.0)
- Avalonia.Themes.Fluent (>= 11.3.0)
- CommunityToolkit.Mvvm (>= 8.4.0)
- M56X.Launcher (>= 1.0.19)
- Markdown.Avalonia (>= 11.0.2)
- Material.Icons.Avalonia (>= 2.4.1)
- SukiUI (>= 6.0.2)
- SukiUI.Dock (>= 6.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.62 | 134 | 7/7/2025 |
1.0.61 | 134 | 7/7/2025 |
1.0.60 | 55 | 7/5/2025 |
1.0.59 | 131 | 6/26/2025 |
1.0.58 | 130 | 6/16/2025 |
1.0.57 | 284 | 6/10/2025 |
1.0.56 | 232 | 6/9/2025 |
1.0.55 | 214 | 6/9/2025 |
1.0.54 | 186 | 6/8/2025 |
1.0.53 | 187 | 6/8/2025 |
1.0.52 | 188 | 6/8/2025 |
1.0.51 | 191 | 6/8/2025 |
1.0.50 | 190 | 6/8/2025 |
1.0.49 | 194 | 6/8/2025 |
1.0.48 | 188 | 6/8/2025 |
1.0.47 | 109 | 6/8/2025 |
1.0.46 | 108 | 6/8/2025 |
1.0.45 | 104 | 6/8/2025 |
1.0.44 | 107 | 6/7/2025 |
1.0.43 | 107 | 6/7/2025 |
1.0.42 | 93 | 6/6/2025 |
1.0.41 | 96 | 6/6/2025 |
1.0.40 | 99 | 6/6/2025 |
1.0.39 | 137 | 6/3/2025 |
1.0.38 | 135 | 6/3/2025 |
1.0.37 | 137 | 6/3/2025 |
1.0.36 | 139 | 6/3/2025 |
1.0.35 | 138 | 6/2/2025 |
1.0.34 | 138 | 6/1/2025 |
1.0.33 | 140 | 5/29/2025 |
1.0.32 | 144 | 5/28/2025 |
1.0.31 | 142 | 5/28/2025 |
1.0.30 | 141 | 5/28/2025 |
1.0.29 | 143 | 5/27/2025 |
1.0.28 | 144 | 5/27/2025 |
1.0.27 | 142 | 5/27/2025 |
1.0.26 | 144 | 5/25/2025 |
1.0.25 | 144 | 5/25/2025 |
1.0.24 | 81 | 5/24/2025 |
1.0.23 | 80 | 5/23/2025 |
1.0.22 | 93 | 5/23/2025 |
1.0.21 | 92 | 5/23/2025 |
1.0.20 | 93 | 5/23/2025 |
1.0.19 | 93 | 5/23/2025 |
1.0.18 | 104 | 5/23/2025 |
1.0.17 | 112 | 5/23/2025 |
1.0.16 | 141 | 5/21/2025 |
1.0.14 | 152 | 5/18/2025 |
1.0.13 | 103 | 5/17/2025 |
1.0.12 | 105 | 5/17/2025 |
1.0.11 | 110 | 5/17/2025 |
1.0.10 | 100 | 5/17/2025 |
1.0.9 | 110 | 5/17/2025 |
1.0.8 | 114 | 5/17/2025 |
1.0.7 | 115 | 5/17/2025 |
1.0.6 | 117 | 5/17/2025 |
1.0.5 | 121 | 5/17/2025 |
1.0.4 | 162 | 5/16/2025 |
1.0.3 | 171 | 5/16/2025 |
1.0.2 | 165 | 5/16/2025 |
1.0.1 | 168 | 5/16/2025 |
1.0.0 | 170 | 5/16/2025 |