Skip to content

Commit 6a276b4

Browse files
committed
feat(Extensions): Add DevTKSS.Extensions.Uno project meanwhile PR is not merged
chore: update solution files
1 parent 33e4ac4 commit 6a276b4

File tree

7 files changed

+24
-3
lines changed

7 files changed

+24
-3
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"solution": {
3+
"path": "DevTKSS.Uno.Samples.sln",
4+
"projects": [
5+
"DevTKSS.Extensions.Uno\\DevTKSS.Extensions.Uno.csproj"
6+
]
7+
}
8+
}

src/DevTKSS.Extensions.Uno/DevTKSS.Extensions.Uno.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<PropertyGroup>
33
<TargetFramework>net9.0</TargetFramework>
44
<OutputType>Library</OutputType>
5+
<GenerateLibraryLayout>true</GenerateLibraryLayout>
56
</PropertyGroup>
67
<PropertyGroup>
78
<AssemblyName>DevTKSS.Extensions.Uno</AssemblyName>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
namespace DevTKSS.Uno.Samples.MvuxGallery.GeneralModel;
1+
namespace DevTKSS.Uno.Samples.MvuxGallery.Models.GalleryImages;
22

33
public partial record GalleryImageModel(string Title, string ImageLocation, string Description);

src/DevTKSS.Uno.Samples.MvuxGallery/Presentation/ViewModels/DashboardModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public async ValueTask SwitchCodeSampleAsync([FeedParameter(nameof(SelectedOptio
118118
"Get GalleryImages via \n FeedList in Model" => await _storage.ReadPackageFileAsync("Assets/Samples/ModelBinding-Sample.cs.txt"),
119119
"DI Service Resw" => await _storage.ReadPackageFileAsync("Assets/Samples/GalleryImageService-resw.cs.txt"),
120120
"DI Service without Resw" => await _storage.ReadPackageFileAsync("Assets/Samples/GalleryImageService-noResw.cs.txt"),
121-
"C# Record" => await _storage.ReadPackageFileAsync("Assets/Samples/GalleryImageModel.cs.txt"),
121+
"GalleryImage Record" => await _storage.ReadPackageFileAsync("Assets/Samples/GalleryImageModel.cs.txt"),
122122
"XAML DataTemplate" => await _storage.ReadPackageFileAsync("Assets/Samples/Card-GalleryImage.DataTemplate.xaml.txt"),
123123
"FeedView + GridView XAML" => await _storage.ReadPackageFileAsync("Assets/Samples/FeedView-GridView-Sample.xaml.txt"),
124124
_ => string.Empty

src/DevTKSS.Uno.Samples.MvuxGallery/Presentation/ViewModels/SimpleCardsModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public async ValueTask SwitchCodeSampleAsync([FeedParameter(nameof(SelectedOptio
3131
selectedOption = options.FirstOrDefault(string.Empty);
3232
_logger.LogTrace("selectedOption updated to: '{SelectedOption}' after fetching options.", selectedOption);
3333
}
34-
string codeSample = await _codeSampleService.GetCodeSampleAsync(selectedOption, ct);
34+
string codeSample = await _sampleService.GetCodeSampleAsync(selectedOption, ct);
3535
_logger.LogTrace("Loaded code sample for option '{SelectedOption}': {CodeSample}", selectedOption, codeSample);
3636
await CurrentCodeSample.SetAsync(codeSample, ct);
3737
}

src/DevTKSS.Uno.Samples.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevTKSS.Uno.Samples.MvuxGal
1717
EndProject
1818
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevTKSS.Uno.XamlNavigationApp", "DevTKSS.Uno.XamlNavigationApp-1\DevTKSS.Uno.XamlNavigationApp.csproj", "{AE75474D-B5FC-3152-7897-AB178447428A}"
1919
EndProject
20+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevTKSS.Extensions.Uno", "DevTKSS.Extensions.Uno\DevTKSS.Extensions.Uno.csproj", "{88A95F19-AAAB-6B45-A5D7-8BABCE37F25C}"
21+
EndProject
2022
Global
2123
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2224
Debug|Any CPU = Debug|Any CPU
@@ -31,6 +33,10 @@ Global
3133
{AE75474D-B5FC-3152-7897-AB178447428A}.Debug|Any CPU.Build.0 = Debug|Any CPU
3234
{AE75474D-B5FC-3152-7897-AB178447428A}.Release|Any CPU.ActiveCfg = Release|Any CPU
3335
{AE75474D-B5FC-3152-7897-AB178447428A}.Release|Any CPU.Build.0 = Release|Any CPU
36+
{88A95F19-AAAB-6B45-A5D7-8BABCE37F25C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
37+
{88A95F19-AAAB-6B45-A5D7-8BABCE37F25C}.Debug|Any CPU.Build.0 = Debug|Any CPU
38+
{88A95F19-AAAB-6B45-A5D7-8BABCE37F25C}.Release|Any CPU.ActiveCfg = Release|Any CPU
39+
{88A95F19-AAAB-6B45-A5D7-8BABCE37F25C}.Release|Any CPU.Build.0 = Release|Any CPU
3440
EndGlobalSection
3541
GlobalSection(SolutionProperties) = preSolution
3642
HideSolutionNode = FALSE

src/Directory.Packages.props

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,10 @@
1111
<PackageVersion Include="CommunityToolkit.WinUI.Converters" Version="8.2.250402" />
1212
<PackageVersion Include="DevTKSS.Extensions.Uno" Version="1.0.0-preview.1.0.0" />
1313
</ItemGroup>
14+
<ItemGroup Condition="'$(MSBuildProjectName)' == 'DevTKSS.Extensions.Uno'">
15+
<PackageVersion Include="Uno.Core" Version="4.1.1" />
16+
<PackageVersion Include="Uno.Core.Extensions" Version="4.1.1" />
17+
<PackageVersion Include="Uno.Core.Extensions.Collections" Version="4.1.1" />
18+
<PackageVersion Include="Uno.Extensions.Storage" Version="5.2.7" />
19+
</ItemGroup>
1420
</Project>

0 commit comments

Comments
 (0)