File tree Expand file tree Collapse file tree 11 files changed +59
-39
lines changed
suspension/ReactiveUI.Samples.Suspension Expand file tree Collapse file tree 11 files changed +59
-39
lines changed Original file line number Diff line number Diff line change @@ -250,4 +250,6 @@ src/*.Tests/**/ApiApprovalTests*.received.txt
250
250
.idea /
251
251
252
252
# Fody Weavers (for tests)
253
- src /Tools /
253
+ src /Tools /
254
+ /hooks
255
+ /lfs /objects
Original file line number Diff line number Diff line change 1
1
<Application xmlns =" https://github.com/avaloniaui"
2
2
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
3
- x : Class =" ReactiveAvalonia.HelloWorld.App" >
3
+ x : Class =" ReactiveAvalonia.HelloWorld.App"
4
+ RequestedThemeVariant =" Dark" >
4
5
<Application .Styles>
5
- <StyleInclude Source =" avares://Avalonia.Themes.Default/DefaultTheme.xaml" />
6
- <StyleInclude Source =" avares://Avalonia.Themes.Default/Accents/BaseLight.xaml" />
6
+ <FluentTheme />
7
7
</Application .Styles>
8
8
</Application >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<OutputType >Exe</OutputType >
4
- <TargetFramework >netcoreapp3 .0</TargetFramework >
4
+ <TargetFramework >net7 .0</TargetFramework >
5
5
<ApplicationIcon />
6
6
<StartupObject />
7
7
</PropertyGroup >
14
14
</AvaloniaResource >
15
15
</ItemGroup >
16
16
<ItemGroup >
17
- <PackageReference Include =" Avalonia" Version =" 0.9.0-preview7" />
18
- <PackageReference Include =" Avalonia.ReactiveUI" Version =" 0.9.0-preview7" />
19
- <PackageReference Include =" Avalonia.Desktop" Version =" 0.9.0-preview7" />
17
+ <PackageReference Include =" Avalonia.Desktop" Version =" 11.0.4" />
18
+ <PackageReference Include =" Avalonia.Diagnostics" Version =" 11.0.4" />
19
+ <PackageReference Include =" Avalonia.Fonts.Inter" Version =" 11.0.4" />
20
+ <PackageReference Include =" Avalonia.ReactiveUI" Version =" 11.0.4" />
21
+ <PackageReference Include =" Avalonia.Themes.Fluent" Version =" 11.0.4" />
22
+ <PackageReference Include =" Serilog" Version =" 3.0.1" />
23
+ </ItemGroup >
24
+ <ItemGroup >
25
+ <PackageReference Update =" Roslynator.Analyzers" Version =" 4.4.0" />
20
26
</ItemGroup >
21
27
</Project >
Original file line number Diff line number Diff line change 9
9
Height =" 200"
10
10
MinWidth =" 320"
11
11
MinHeight =" 200" >
12
- <!-- http://avaloniaui.net/docs/reactiveui/activation#activation-example - View.xaml -- >
13
- <!-- https://reactiveui.net/docs/handbook/data-binding/avalonia -->
14
- < TextBlock
15
- Name = " tbGreetingLabel "
16
- VerticalAlignment =" Center"
17
- HorizontalAlignment = " Center "
18
- FontSize = " 16 " / >
12
+ <Grid >
13
+ < TextBlock
14
+ Name = " tbGreetingLabel "
15
+ VerticalAlignment = " Center "
16
+ HorizontalAlignment =" Center"
17
+ FontSize = " 16 " />
18
+ </ Grid >
19
19
</Window >
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ public MainView() {
19
19
this
20
20
. WhenActivated (
21
21
disposables => {
22
- // Jut log the View's activation
22
+
23
+ // Just log the View's activation
23
24
Console . WriteLine (
24
25
$ "[v { Thread . CurrentThread . ManagedThreadId } ]: " +
25
26
"View activated\n " ) ;
Original file line number Diff line number Diff line change 1
1
using Avalonia ;
2
2
using Avalonia . Controls ;
3
- using Avalonia . Logging . Serilog ;
4
3
using Avalonia . ReactiveUI ;
5
4
6
5
namespace ReactiveAvalonia . HelloWorld {
@@ -16,7 +15,7 @@ public static AppBuilder BuildAvaloniaApp() {
16
15
. Configure < App > ( )
17
16
. UseReactiveUI ( )
18
17
. UsePlatformDetect ( )
19
- . LogToDebug ( ) ;
18
+ . LogToTrace ( ) ;
20
19
}
21
20
22
21
private static void AppMain ( Application app , string [ ] args ) {
Original file line number Diff line number Diff line change 1
1
<Application xmlns =" https://github.com/avaloniaui"
2
2
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
3
- x : Class =" ReactiveAvalonia.RandomBuddyStalker.App" >
3
+ x : Class =" ReactiveAvalonia.RandomBuddyStalker.App"
4
+ RequestedThemeVariant =" Dark" >
4
5
<Application .Styles>
5
- <StyleInclude Source =" avares://Avalonia.Themes.Default/DefaultTheme.xaml" />
6
- <StyleInclude Source =" avares://Avalonia.Themes.Default/Accents/BaseLight.xaml" />
6
+ <FluentTheme />
7
7
</Application .Styles>
8
8
</Application >
Original file line number Diff line number Diff line change 1
1
using Avalonia ;
2
2
using Avalonia . Controls ;
3
- using Avalonia . Logging . Serilog ;
4
3
using Avalonia . ReactiveUI ;
5
4
6
5
namespace ReactiveAvalonia . RandomBuddyStalker {
@@ -14,7 +13,7 @@ public static AppBuilder BuildAvaloniaApp() {
14
13
. Configure < App > ( )
15
14
. UseReactiveUI ( )
16
15
. UsePlatformDetect ( )
17
- . LogToDebug ( ) ;
16
+ . LogToTrace ( ) ;
18
17
}
19
18
20
19
private static void AppMain ( Application app , string [ ] args ) {
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<OutputType >Exe</OutputType >
4
- <TargetFramework >netcoreapp3 .0</TargetFramework >
4
+ <TargetFramework >net7 .0</TargetFramework >
5
5
<ApplicationIcon />
6
6
<StartupObject />
7
7
</PropertyGroup >
14
14
</AvaloniaResource >
15
15
</ItemGroup >
16
16
<ItemGroup >
17
- <PackageReference Include =" Avalonia" Version =" 0.9.0-preview7" />
18
- <PackageReference Include =" Avalonia.Desktop" Version =" 0.9.0-preview7" />
19
- <PackageReference Include =" Avalonia.ReactiveUI" Version =" 0.9.0-preview7" />
20
- <PackageReference Include =" Flurl.Http" Version =" 2.4.2" />
21
- <PackageReference Include =" Flurl" Version =" 3.0.0-pre1" />
22
- <PackageReference Include =" ReactiveUI.Fody" Version =" 10.5.31" />
23
- <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.1" />
17
+ <PackageReference Include =" Avalonia" Version =" 11.0.4" />
18
+ <PackageReference Include =" Avalonia.Desktop" Version =" 11.0.4" />
19
+ <PackageReference Include =" Avalonia.Fonts.Inter" Version =" 11.0.4" />
20
+ <PackageReference Include =" Avalonia.ReactiveUI" Version =" 11.0.4" />
21
+ <PackageReference Include =" Avalonia.Themes.Fluent" Version =" 11.0.4" />
22
+ <PackageReference Include =" Avalonia.Diagnostics" Version =" 11.0.4" />
23
+ <PackageReference Include =" Flurl.Http" Version =" 3.2.4" />
24
+ <PackageReference Include =" Flurl" Version =" 3.0.7" />
25
+ <PackageReference Include =" ReactiveUI.Fody" Version =" 19.4.1" />
26
+ <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
27
+ <PackageReference Include =" Serilog" Version =" 3.0.1" />
28
+ </ItemGroup >
29
+ <ItemGroup >
30
+ <PackageReference Update =" Roslynator.Analyzers" Version =" 4.4.0" />
24
31
</ItemGroup >
25
32
</Project >
Original file line number Diff line number Diff line change 1
1
<Application xmlns =" https://github.com/avaloniaui"
2
2
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
3
- x : Class =" ReactiveUI.Samples.Suspension.App" >
3
+ x : Class =" ReactiveUI.Samples.Suspension.App"
4
+ RequestedThemeVariant =" Dark" >
4
5
<Application .Styles>
5
- <StyleInclude Source =" avares://Avalonia.Themes.Default/DefaultTheme.xaml" />
6
- <StyleInclude Source =" avares://Avalonia.Themes.Default/Accents/BaseLight.xaml" />
6
+ <FluentTheme />
7
7
</Application .Styles>
8
8
</Application >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<OutputType >WinExe</OutputType >
4
- <TargetFramework >net6 .0</TargetFramework >
4
+ <TargetFramework >net7 .0</TargetFramework >
5
5
<Nullable >enable</Nullable >
6
6
</PropertyGroup >
7
7
12
12
</ItemGroup >
13
13
14
14
<ItemGroup >
15
- <PackageReference Include =" Avalonia.Desktop" Version =" 0.10.*" />
16
- <PackageReference Include =" Avalonia.Diagnostics" Version =" 0.10.*" />
17
- <PackageReference Include =" Avalonia.ReactiveUI" Version =" 0.10.*" />
15
+ <PackageReference Include =" Avalonia.Desktop" Version =" 11.0.4" />
16
+ <PackageReference Include =" Avalonia.Diagnostics" Version =" 11.0.4" />
17
+ <PackageReference Include =" Avalonia.Fonts.Inter" Version =" 11.0.4" />
18
+ <PackageReference Include =" Avalonia.ReactiveUI" Version =" 11.0.4" />
19
+ <PackageReference Include =" Avalonia.Themes.Fluent" Version =" 11.0.4" />
18
20
<PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
19
- <PackageReference Include =" Splat.Serilog" Version =" 14.6.8 " />
21
+ <PackageReference Include =" Splat.Serilog" Version =" 14.7.1 " />
20
22
</ItemGroup >
21
23
22
24
<ItemGroup >
23
25
<None Update =" appstate.json" >
24
26
<CopyToOutputDirectory >Always</CopyToOutputDirectory >
25
27
</None >
26
28
</ItemGroup >
29
+
30
+ <ItemGroup >
31
+ <PackageReference Update =" Roslynator.Analyzers" Version =" 4.4.0" />
32
+ </ItemGroup >
27
33
</Project >
You can’t perform that action at this time.
0 commit comments