Felsökning 9.1.0
Prefix Reserveddotnet add package Felsökning --version 9.1.0
NuGet\Install-Package Felsökning -Version 9.1.0
<PackageReference Include="Felsökning" Version="9.1.0" />
<PackageVersion Include="Felsökning" Version="9.1.0" />
<PackageReference Include="Felsökning" />
paket add Felsökning --version 9.1.0
#r "nuget: Felsökning, 9.1.0"
#addin nuget:?package=Felsökning&version=9.1.0
#tool nuget:?package=Felsökning&version=9.1.0
Felsökning NuGet Package
The Felsökning NuGet Package is the base library used by other Felsökning NuGet packages. It provides a variety of utility methods and extensions to simplify common programming tasks.
Features
- Extensions for
AggregateException
,DateTime
, and collection interfaces. - Utilities for working with encrypted files.
- HTTP-related base classes and extensions.
AggregateExceptionExtensions
This static class contains extension methods for the AggregateException class.
Methods
Unbox()
- Definition: Recursively unboxes the nested child exceptions within an
AggregateException
. - Returns: A
string[]
where:string[0]
: hResults.string[1]
: Exception messages.string[2]
: Stack traces.
CollectionExtensions
This static class contains extension methods for the [ICollection<T>
], [IEnumerable<T>
], and [IList<T>
] interfaces.
Methods
ToIAsyncEnumerable<T>()
- Definition: Converts a collection or enumerable to an
IAsyncEnumerable<T>
, allowing asynchronous iteration. - Returns: An
IAsyncEnumerable<T>
.
DateTimeExtensions
This static class contains extension methods for the DateTime
struct.
Methods
IsWeekDay()
- Definition: Determines if the given
DateTime
occurs on a weekday in the Gregorian calendar. - Returns:
true
if the day is a weekday, otherwisefalse
.
ToCulturedString(string culture)
- Definition: Converts the
DateTime
to a culture-specific string format. - Returns: A
string
representation of theDateTime
in the specified culture format.
ToIso8601UtcString()
- Definition: Converts the
DateTime
to UTC and formats it as an ISO:8601 string. - Returns: A
string
in ISO:8601 format.
ToPosixTime()
- Definition: Converts the
DateTime
to POSIX time. - Returns: A
long
representing theDateTime
in POSIX time.
ToRfc1123String()
- Definition: Converts the
DateTime
to an RFC:1123 string. - Returns: A
string
in RFC:1123 format.
ToUnixEpochTime()
- Definition: Converts the
DateTime
to Unix epoch time. (Duplicate ofToPosixTime()
.) - Returns: A
long
representing theDateTime
in Unix epoch time.
ToWeekNumber()
- Definition: Converts the
DateTime
to the ISO:8601 week number of the year. - Returns: An
int
representing the week number.
EncryptedFile
Class
A class for ensuring System.IO.File
objects are encrypted when .Dispose()
is called.
Methods
DecryptAndOpen()
- Definition: Decrypts the file (if encrypted) and opens it as a FileStream.
- Returns: A
FileStream
object.
HttpBase
A base class for any class that depends on HttpClient
. The HttpClient
is initialized with TLS 1.3 and default headers, such as X-Correlation-ID
.
HttpExtensions
This static class contains extensions for performing HTTP-related tasks, such as GET
, POST
, and PUT
requests, with automatic deserialization of responses.
Example
var forecasts = await HttpExtensions.GetAsync<ForecastsForRegion>($"https://www.met.ie/Open_Data/json/{region}.json");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. 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. 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. net8.0 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net5.0
- System.IO.Abstractions (>= 22.0.14)
-
net6.0
- System.IO.Abstractions (>= 22.0.14)
-
net7.0
- System.IO.Abstractions (>= 22.0.14)
-
net8.0
- System.IO.Abstractions (>= 22.0.14)
-
net9.0
- System.IO.Abstractions (>= 22.0.14)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Felsökning:
Package | Downloads |
---|---|
Felsökning.Ireland
Package Description |
|
Felsökning.UnitedStates
Package Description |
|
Felsökning.Sverige
Package Description |
|
Felsökning.YCombinator
An Assembly to Automate Calls to Hacker News |
|
Felsökning.RipeStat
A library to automate calls to the RIPE STAT Database |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
9.1.0 | 154 | 5/17/2025 |
9.0.1 | 983 | 1/15/2025 |
9.0.0 | 231 | 11/14/2024 |
8.8.1 | 121 | 9/22/2024 |
8.7.0 | 289 | 7/16/2024 |
8.6.1 | 218 | 7/13/2024 |
8.6.0 | 100 | 7/13/2024 |
8.5.0 | 114 | 5/20/2024 |
8.1.8 | 228 | 4/26/2024 |
8.1.7 | 300 | 3/20/2024 |
8.1.6 | 319 | 3/7/2024 |
8.1.5 | 128 | 3/7/2024 |
8.1.4 | 2,582 | 2/28/2024 |
8.1.3 | 276 | 1/30/2024 |
8.1.2 | 200 | 1/25/2024 |
8.1.1 | 386 | 11/16/2023 |
8.1.0 | 135 | 11/16/2023 |
8.0.2 | 214 | 6/11/2023 |
8.0.1 | 174 | 6/11/2023 |
7.0.5 | 690 | 1/24/2023 |
7.0.3 | 437 | 1/22/2023 |
7.0.1 | 312 | 1/21/2023 |
7.0.0 | 178 | 6/11/2023 |
Adding README file for NuPkg Parse in NuGet.