Skip to content

Commit

Permalink
Add abstract Operator + Increment AssemblyFileVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
brminnick committed Sep 27, 2021
1 parent 39a9ca7 commit 3c91878
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
</Description>
<PackageReleaseNotes>
New in this release:
- Add AsyncCommand support for nullable value types
- Add AsyncValueCommand support for nullable value types
- Mark internal classes as abstract
- Update AssemblyFileVersion
</PackageReleaseNotes>
<Version>6.0.0</Version>
<Version>6.0.1</Version>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/brminnick/AsyncAwaitBestPractices</RepositoryUrl>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyFileVersion>1.0.0.0</AssemblyFileVersion>
<AssemblyVersion>6.0.1</AssemblyVersion>
<AssemblyFileVersion>6.0.1</AssemblyFileVersion>
<PackageVersion>$(Version)$(VersionSuffix)</PackageVersion>
<Authors>Brandon Minnick, John Thiriet</Authors>
<Owners>Brandon Minnick</Owners>
Expand Down Expand Up @@ -62,7 +62,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AsyncAwaitBestPractices\AsyncAwaitBestPractices.csproj" />
<None Include="README.md" Pack="true" PackagePath="\"/>
<None Include="README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="NETStandard.Library" PrivateAssets="all" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace AsyncAwaitBestPractices.MVVM
/// Abstract Base Class used by AsyncValueCommand
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public class BaseAsyncCommand<TExecute, TCanExecute> : BaseCommand<TCanExecute>, ICommand
public abstract class BaseAsyncCommand<TExecute, TCanExecute> : BaseCommand<TCanExecute>, ICommand
{
readonly Func<TExecute?, Task> _execute;
readonly Action<Exception>? _onException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace AsyncAwaitBestPractices.MVVM
/// Abstract Base Class used by AsyncValueCommand
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public class BaseAsyncValueCommand<TExecute, TCanExecute> : BaseCommand<TCanExecute>, ICommand
public abstract class BaseAsyncValueCommand<TExecute, TCanExecute> : BaseCommand<TCanExecute>, ICommand
{
readonly Func<TExecute?, ValueTask> _execute;
readonly Action<Exception>? _onException;
Expand Down
1 change: 1 addition & 0 deletions Src/AsyncAwaitBestPractices.sln
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D59772E1-5AE1-4B9C-B193-AEB40CD697E3}"
ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
global.json = global.json
EndProjectSection
EndProject
Global
Expand Down
11 changes: 6 additions & 5 deletions Src/AsyncAwaitBestPractices/AsyncAwaitBestPractices.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@
</Description>
<PackageReleaseNotes>
New In This Release:
- Improve Nullability
- Mark internal classes as abstract
- Update AssemblyFileVersion
</PackageReleaseNotes>
<Version>6.0.0</Version>
<Version>6.0.1</Version>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/brminnick/AsyncAwaitBestPractices</RepositoryUrl>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyFileVersion>1.0.0.0</AssemblyFileVersion>
<AssemblyVersion>6.0.1</AssemblyVersion>
<AssemblyFileVersion>6.0.1</AssemblyFileVersion>
<PackageVersion>$(Version)$(VersionSuffix)</PackageVersion>
<Authors>Brandon Minnick, John Thiriet</Authors>
<Owners>Brandon Minnick</Owners>
Expand Down Expand Up @@ -77,6 +78,6 @@
</ItemGroup>
<ItemGroup>
<PackageReference Update="NETStandard.Library" PrivateAssets="all" />
<None Include="README.md" Pack="true" PackagePath="\"/>
<None Include="README.md" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>

0 comments on commit 3c91878

Please sign in to comment.