PeyrSharp 1.10.0.2310
See the version list below for details.
dotnet add package PeyrSharp --version 1.10.0.2310
NuGet\Install-Package PeyrSharp -Version 1.10.0.2310
<PackageReference Include="PeyrSharp" Version="1.10.0.2310" />
paket add PeyrSharp --version 1.10.0.2310
#r "nuget: PeyrSharp, 1.10.0.2310"
// Install PeyrSharp as a Cake Addin #addin nuget:?package=PeyrSharp&version=1.10.0.2310 // Install PeyrSharp as a Cake Tool #tool nuget:?package=PeyrSharp&version=1.10.0.2310
PeyrSharp
A C# library designed to make developers' job easier.
View documentation » · Report Bug · Request Feature
Introduction
The roots
In March 2020, we published LeoCorpLibrary, which was also a C# library that contains useful methods. When we started the development of it, we didn't know where the project will go yet. Over the releases, we've added more and more methods and new features. However, the meaning and the purpose of LeoCorpLibrary was becoming less clear for everyone; it was becoming a mess. This is why we decided to rather not release v5, but instead, we decided to make a brand new .NET Library, PeyrSharp.
Our next product
PeyrSharp is a C# written library designed to make developers' life easier. We've all written code that we wish we hadn't. PeyrSharp is here to respond to this need; by implementing useful methods in various domains: Mathematics, Web/HTTP requests, unit converters, extensions, environment-related operations, and more!
Modules
PeyrSharp is divided in multiple packages:
PeyrSharp, the main package, that contains all of the followings:
PeyrSharp.Core, the basic methods and features of C#
- Maths
- Password
- Guid
- Converters
- Internet
- Crypt
- XmlHelper
- JsonHelper
PeyrSharp.Env, methods related to the file system and to the current execution environment.
- FileSys
- Logger
- System
- Update
- UwpApp
PeyrSharp.Enums, all enumerations used by PeyrSharp
- WindowsVersion
- TimeUnits
- SystemThemes
- OperatingSystems
- StorageUnits
- ControlAlignment
- PasswordPresets
- PasswordStrength
PeyrSharp.Exceptions, all exceptions used by PeyrSharp
- RGBInvalidValueException
- HEXInvalidValueException
- InvalidGuidLengthException
PeyrSharp.Extensions, extension methods, that extends basic types, such as string
, int
, double
or arrays (T[]
).
- String
- Int
- Double
- Array (
T[]
)
PeyrSharp.UiHelpers, methods related to Windows Forms or to the Windows Presentation Framework (WPF).
- WinForms
- Screen
- WPF
Compatibility
Platforms
Some modules of PeyrSharp are targeting features only available in specific operating systems. Thus, some packages aren't available on all platforms.
Package/Platform | Windows | macOS | Linux + others |
---|---|---|---|
Core | ✅ | ✅ | ✅ |
Env | ✅ | ⚠️ | ⚠️ |
Enums | ✅ | ✅ | ✅ |
Exceptions | ✅ | ✅ | ✅ |
Extensions | ✅ | ✅ | ✅ |
UiHelpers | ✅ | ❌ | ❌ |
Caption:
- ✅ Full Support
- ⚠️ Partial Support
- ❌ Unsupported platform
Frameworks
PeyrSharp is available in the following frameworks
- .NET 5
- .NET 6
- .NET 7
Note: .NET Framework and .NET Core are not targeted by PeyrSharp, since they are no longer supported.
Documentation
Branches
There are two branches:
Name | Release | Description |
---|---|---|
main |
Stable versions | |
vNext |
Next version of PeyrSharp (unstable) |
Note: Other branches can also - of course - exists.
Contribute
Here's what you'll need to contribute to this project:
- Visual Studio 2022 with:
- .NET Desktop Development
- Git
- .NET
- .NET 5 (SDK + runtime)
- .NET 6 (SDK + runtime)
- .NET 7 (SDK + runtime)
- (optional) NuGet
Badge
![Using PeyrSharp](https://img.shields.io/badge/using-PeyrSharp-DD00FF?logo=nuget)
License
Project under the MIT license.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net5.0-windows7.0 is compatible. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net7.0-windows7.0 is compatible. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net5.0
- PeyrSharp.Core (>= 1.10.0.2310)
- PeyrSharp.Enums (>= 1.10.0.2310)
- PeyrSharp.Env (>= 1.10.0.2310)
- PeyrSharp.Exceptions (>= 1.10.0.2310)
- PeyrSharp.Extensions (>= 1.10.0.2310)
-
net5.0-windows7.0
- PeyrSharp.Core (>= 1.10.0.2310)
- PeyrSharp.Enums (>= 1.10.0.2310)
- PeyrSharp.Env (>= 1.10.0.2310)
- PeyrSharp.Exceptions (>= 1.10.0.2310)
- PeyrSharp.Extensions (>= 1.10.0.2310)
- PeyrSharp.UiHelpers (>= 1.10.0.2310)
-
net6.0
- PeyrSharp.Core (>= 1.10.0.2310)
- PeyrSharp.Enums (>= 1.10.0.2310)
- PeyrSharp.Env (>= 1.10.0.2310)
- PeyrSharp.Exceptions (>= 1.10.0.2310)
- PeyrSharp.Extensions (>= 1.10.0.2310)
-
net6.0-windows7.0
- PeyrSharp.Core (>= 1.10.0.2310)
- PeyrSharp.Enums (>= 1.10.0.2310)
- PeyrSharp.Env (>= 1.10.0.2310)
- PeyrSharp.Exceptions (>= 1.10.0.2310)
- PeyrSharp.Extensions (>= 1.10.0.2310)
- PeyrSharp.UiHelpers (>= 1.10.0.2310)
-
net7.0
- PeyrSharp.Core (>= 1.10.0.2310)
- PeyrSharp.Enums (>= 1.10.0.2310)
- PeyrSharp.Env (>= 1.10.0.2310)
- PeyrSharp.Exceptions (>= 1.10.0.2310)
- PeyrSharp.Extensions (>= 1.10.0.2310)
-
net7.0-windows7.0
- PeyrSharp.Core (>= 1.10.0.2310)
- PeyrSharp.Enums (>= 1.10.0.2310)
- PeyrSharp.Env (>= 1.10.0.2310)
- PeyrSharp.Exceptions (>= 1.10.0.2310)
- PeyrSharp.Extensions (>= 1.10.0.2310)
- PeyrSharp.UiHelpers (>= 1.10.0.2310)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.0.2312 | 274 | 12/3/2023 |
2.0.0.2311 | 299 | 11/18/2023 |
1.10.0.2310 | 249 | 9/30/2023 |
1.9.0.2309 | 214 | 8/31/2023 |
1.8.0.2308 | 349 | 7/29/2023 |
1.7.0.2307 | 284 | 6/30/2023 |
1.6.1.2305 | 238 | 6/5/2023 |
1.6.0.2305 | 239 | 5/7/2023 |
1.5.0.2304 | 304 | 4/2/2023 |
1.4.0.2303 | 299 | 3/5/2023 |
1.4.0.2303-rc1 | 188 | 3/5/2023 |
1.4.0.2303-pre1 | 181 | 3/4/2023 |
1.3.0.2302 | 383 | 2/5/2023 |
1.3.0.2302-rc1 | 190 | 2/5/2023 |
1.3.0.2302-pre1 | 195 | 2/4/2023 |
1.2.0.2301 | 409 | 1/8/2023 |
1.2.0.2301-rc1 | 200 | 1/8/2023 |
1.2.0.2301-pre1 | 185 | 1/7/2023 |
1.1.0.2212 | 479 | 12/4/2022 |
1.1.0.2212-rc1 | 181 | 12/4/2022 |
1.1.0.2212-pre1 | 186 | 12/3/2022 |
1.0.0.2211 | 469 | 11/3/2022 |
1.0.0.2211-pre5 | 183 | 11/2/2022 |
(for Windows only)
- Added the possibility to close windows (#143)
- Added the possibility to maximize windows (#143)
- Added the possibility to restore windows (#143)
- Added the possibility to minimize windows (#143)
- Added XML documentation (#143)
- Added the possibility to set the position of any window (#144)
- Added SetTopMost() method (#145)
- Added GetWindowSize() method (#146)