Projekt start
This commit is contained in:
commit
dbd708aab7
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
bin/
|
||||
obj/
|
||||
/packages/
|
||||
riderModule.iml
|
||||
/_ReSharper.Caches/
|
||||
13
.idea/.idea.ChronoFlow/.idea/.gitignore
generated
vendored
Normal file
13
.idea/.idea.ChronoFlow/.idea/.gitignore
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Rider ignored files
|
||||
/modules.xml
|
||||
/contentModel.xml
|
||||
/projectSettingsUpdater.xml
|
||||
/.idea.ChronoFlow.iml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
8
.idea/.idea.ChronoFlow/.idea/indexLayout.xml
generated
Normal file
8
.idea/.idea.ChronoFlow/.idea/indexLayout.xml
generated
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="UserContentModel">
|
||||
<attachedFolders />
|
||||
<explicitIncludes />
|
||||
<explicitExcludes />
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/.idea.ChronoFlow/.idea/vcs.xml
generated
Normal file
6
.idea/.idea.ChronoFlow/.idea/vcs.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
14
ChronoFlow.Controller/ChronoFlow.Controller.csproj
Normal file
14
ChronoFlow.Controller/ChronoFlow.Controller.csproj
Normal file
@ -0,0 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ChronoFlow.Model\ChronoFlow.Model.csproj" />
|
||||
<ProjectReference Include="..\ChronoFlow.Persistence\ChronoFlow.Persistence.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
5
ChronoFlow.Controller/Class1.cs
Normal file
5
ChronoFlow.Controller/Class1.cs
Normal file
@ -0,0 +1,5 @@
|
||||
namespace ChronoFlow.Controller;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
}
|
||||
9
ChronoFlow.Model/ChronoFlow.Model.csproj
Normal file
9
ChronoFlow.Model/ChronoFlow.Model.csproj
Normal file
@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
5
ChronoFlow.Model/Class1.cs
Normal file
5
ChronoFlow.Model/Class1.cs
Normal file
@ -0,0 +1,5 @@
|
||||
namespace ChronoFlow.Model;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
}
|
||||
13
ChronoFlow.Persistence/ChronoFlow.Persistence.csproj
Normal file
13
ChronoFlow.Persistence/ChronoFlow.Persistence.csproj
Normal file
@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ChronoFlow.Model\ChronoFlow.Model.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
5
ChronoFlow.Persistence/Class1.cs
Normal file
5
ChronoFlow.Persistence/Class1.cs
Normal file
@ -0,0 +1,5 @@
|
||||
namespace ChronoFlow.Persistence;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
}
|
||||
10
ChronoFlow.View/App.axaml
Normal file
10
ChronoFlow.View/App.axaml
Normal file
@ -0,0 +1,10 @@
|
||||
<Application xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:Class="ChronoFlow.View.App"
|
||||
RequestedThemeVariant="Default">
|
||||
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
|
||||
|
||||
<Application.Styles>
|
||||
<FluentTheme />
|
||||
</Application.Styles>
|
||||
</Application>
|
||||
23
ChronoFlow.View/App.axaml.cs
Normal file
23
ChronoFlow.View/App.axaml.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls.ApplicationLifetimes;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace ChronoFlow.View;
|
||||
|
||||
public partial class App : Application
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
AvaloniaXamlLoader.Load(this);
|
||||
}
|
||||
|
||||
public override void OnFrameworkInitializationCompleted()
|
||||
{
|
||||
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
||||
{
|
||||
desktop.MainWindow = new MainWindow();
|
||||
}
|
||||
|
||||
base.OnFrameworkInitializationCompleted();
|
||||
}
|
||||
}
|
||||
27
ChronoFlow.View/ChronoFlow.View.csproj
Normal file
27
ChronoFlow.View/ChronoFlow.View.csproj
Normal file
@ -0,0 +1,27 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Avalonia" Version="11.2.7"/>
|
||||
<PackageReference Include="Avalonia.Desktop" Version="11.2.7"/>
|
||||
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.7"/>
|
||||
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.7"/>
|
||||
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
||||
<PackageReference Include="Avalonia.Diagnostics" Version="11.2.7">
|
||||
<IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
|
||||
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ChronoFlow.Controller\ChronoFlow.Controller.csproj" />
|
||||
<ProjectReference Include="..\ChronoFlow.Model\ChronoFlow.Model.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
9
ChronoFlow.View/MainWindow.axaml
Normal file
9
ChronoFlow.View/MainWindow.axaml
Normal file
@ -0,0 +1,9 @@
|
||||
<Window 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"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="ChronoFlow.View.MainWindow"
|
||||
Title="ChronoFlow.View">
|
||||
Welcome to Avalonia!
|
||||
</Window>
|
||||
11
ChronoFlow.View/MainWindow.axaml.cs
Normal file
11
ChronoFlow.View/MainWindow.axaml.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using Avalonia.Controls;
|
||||
|
||||
namespace ChronoFlow.View;
|
||||
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
21
ChronoFlow.View/Program.cs
Normal file
21
ChronoFlow.View/Program.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using Avalonia;
|
||||
using System;
|
||||
|
||||
namespace ChronoFlow.View;
|
||||
|
||||
class Program
|
||||
{
|
||||
// Initialization code. Don't use any Avalonia, third-party APIs or any
|
||||
// SynchronizationContext-reliant code before AppMain is called: things aren't initialized
|
||||
// yet and stuff might break.
|
||||
[STAThread]
|
||||
public static void Main(string[] args) => BuildAvaloniaApp()
|
||||
.StartWithClassicDesktopLifetime(args);
|
||||
|
||||
// Avalonia configuration, don't remove; also used by visual designer.
|
||||
public static AppBuilder BuildAvaloniaApp()
|
||||
=> AppBuilder.Configure<App>()
|
||||
.UsePlatformDetect()
|
||||
.WithInterFont()
|
||||
.LogToTrace();
|
||||
}
|
||||
18
ChronoFlow.View/app.manifest
Normal file
18
ChronoFlow.View/app.manifest
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<!-- This manifest is used on Windows only.
|
||||
Don't remove it as it might cause problems with window transparency and embedded controls.
|
||||
For more details visit https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests -->
|
||||
<assemblyIdentity version="1.0.0.0" name="ChronoFlow.View.Desktop"/>
|
||||
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
||||
<!-- A list of the Windows versions that this application has been tested on
|
||||
and is designed to work with. Uncomment the appropriate elements
|
||||
and Windows will automatically select the most compatible environment. -->
|
||||
|
||||
<!-- Windows 10 -->
|
||||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
|
||||
</application>
|
||||
</compatibility>
|
||||
</assembly>
|
||||
34
ChronoFlow.sln
Normal file
34
ChronoFlow.sln
Normal file
@ -0,0 +1,34 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChronoFlow.View", "ChronoFlow.View\ChronoFlow.View.csproj", "{8201A15C-62F0-4397-A6E3-E8B34C171052}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChronoFlow.Model", "ChronoFlow.Model\ChronoFlow.Model.csproj", "{5377BA2D-0DFA-4D04-81F3-3E4EEF1FB9C7}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChronoFlow.Persistence", "ChronoFlow.Persistence\ChronoFlow.Persistence.csproj", "{85E9F362-E8C5-43E6-B5AD-CFCB2A27CB8E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChronoFlow.Controller", "ChronoFlow.Controller\ChronoFlow.Controller.csproj", "{BCCF491C-6A5D-45E4-B490-C553A550F559}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8201A15C-62F0-4397-A6E3-E8B34C171052}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8201A15C-62F0-4397-A6E3-E8B34C171052}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8201A15C-62F0-4397-A6E3-E8B34C171052}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8201A15C-62F0-4397-A6E3-E8B34C171052}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{5377BA2D-0DFA-4D04-81F3-3E4EEF1FB9C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5377BA2D-0DFA-4D04-81F3-3E4EEF1FB9C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5377BA2D-0DFA-4D04-81F3-3E4EEF1FB9C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5377BA2D-0DFA-4D04-81F3-3E4EEF1FB9C7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{85E9F362-E8C5-43E6-B5AD-CFCB2A27CB8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{85E9F362-E8C5-43E6-B5AD-CFCB2A27CB8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{85E9F362-E8C5-43E6-B5AD-CFCB2A27CB8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{85E9F362-E8C5-43E6-B5AD-CFCB2A27CB8E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BCCF491C-6A5D-45E4-B490-C553A550F559}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BCCF491C-6A5D-45E4-B490-C553A550F559}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BCCF491C-6A5D-45E4-B490-C553A550F559}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BCCF491C-6A5D-45E4-B490-C553A550F559}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
Loading…
Reference in New Issue
Block a user