-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump appconfig version, remove bad session sync implementation
- Loading branch information
Showing
12 changed files
with
63 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace VolumeControl.TypeExtensions | ||
{ | ||
/// <summary> | ||
/// Extension methods for the <see cref="bool"/> type. | ||
/// </summary> | ||
public static class BoolExtensions | ||
{ | ||
/// <summary> | ||
/// Converts the <see cref="bool"/> value to <see cref="int"/>. | ||
/// </summary> | ||
/// <param name="value">(implicit) A boolean value.</param> | ||
/// <returns>1 when <paramref name="value"/> was <see langword="true"/>; 0 when <paramref name="value"/> was <see langword="false"/>.</returns> | ||
public static int ToInt32(this bool value) => value ? 1 : 0; | ||
/// <summary> | ||
/// Converts the <see cref="bool"/> value to <see cref="uint"/>. | ||
/// </summary> | ||
/// <param name="value">(implicit) A boolean value.</param> | ||
/// <returns>1 when <paramref name="value"/> was <see langword="true"/>; 0 when <paramref name="value"/> was <see langword="false"/>.</returns> | ||
public static uint ToUInt32(this bool value) => value ? 1u : 0u; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters