Felsökning 9.0.0
Prefix Reserveddotnet add package Felsökning --version 9.0.0
NuGet\Install-Package Felsökning -Version 9.0.0
<PackageReference Include="Felsökning" Version="9.0.0" />
paket add Felsökning --version 9.0.0
#r "nuget: Felsökning, 9.0.0"
// Install Felsökning as a Cake Addin #addin nuget:?package=Felsökning&version=9.0.0 // Install Felsökning as a Cake Tool #tool nuget:?package=Felsökning&version=9.0.0
Felsökning NuGet Package
The Felsökning NuGet Package is, generally, the base package used/consumed/referenced by all other Felsökning NuGet packages (since .NET6.0).
AggregateExceptionExtensions
This static class contains extension methods for the AggregateException class.
Methods
Unbox()
Definition
The Unbox
method is used to recursively unbox the nested child exceptions within an AggregateException.
Returns
A string[]
, in which string[0]
is the hResults, string[1]
is the exception messages, and string[2]
is the stack traces.
CollectionExtensions
This static class contains extension methods for the [ICollection<T>
], [IEnumerable<T>
], and [IList<T>
] interfaces.
Methods
ToIAsyncEnumerable<T>()
Definition
Extends the [ICollection<T>
], [IEnumerable<T>
], and/or [IList<T>
] interfaces to return an IAsyncEnumerable{T}
, which the iteration can be awaited through.
Returns
An IAsyncEnumerable{T}
, which can be awaited through iteration.
DateTimeExtensions
This static class contains extensions extension methods for the DateTime
struct.
Methods
IsWeekDay()
Definition
Extends the DateTime
struct to determine if the given DateTime
object falls/occurs on a weekday in the Gregorian Calendar.
Returns
true
if the given day is a weekday, otherwise false
.
ToCulturedString(string culture)
Definition
Extends the DateTime
struct to return a standardised string based on the passed culture.
Returns
A string representation of the DateTime
struct in the culture-based format.
ToIso8601UtcString()
Definition
Extends the DateTime
struct to convert the given DateTime
first to UTC Time Zone and then to the ISO:8601 string
representation.
Returns
A string containing the ISO:601
standardised value for the DateTime
object.
ToPosixTime()
Defintion
Extends the DateTime
struct to convert the given DateTime
to the POSIX time representation.
Returns
A long
representing the DateTime
object in POSIX time representation.
ToRfc1123String()
Definition
Extends the DateTime
struct to convert the given DateTime
to the RFC:1123 string
representation.
Returns
A string
representing the DateTime
object in RFC:1123 time representation.
ToUnixEpochTime()
Note: Duplicates ToPosixTime()
Definition
Extends the DateTime
struct to convert the given DateTime
to the POSIX time representation.
Returns
A long
representing the DateTime
object in POSIX time representation.
ToWeekNumber()
Definition
Extends the DateTime
struct to covert the given DateTime
to the ISO:8601 week date, which is the given week number of the year.
Returns
An int
representing the given week number of the year for the given DateTime
.
EncryptedFile
Class
Definition
A class for ensuring System.IO.File objects are encrypted on entering .Dispose()
.
NOTE: Only supported on Windows Systems, Professional.
Methods
DecryptAndOpen()
Definition
Decrypts the file (if encrypted) and returns the FileStream from opening the file.
HttpBase
This is a base class meant for inheritance in any class that needs/depends on HttpClient.
The HttpClient within HttpBase
is initialized as using TLS1.3 and has default headers applied, such as X-Correlation-ID
.
HttpExtensions
The HttpExensions
class contains extensions to perform most HTTP-related tasks (e.g.: Get, Post, Put, etc.) and have the returned serialized into the T
of your choice.
For example, in Felsökning.Ireland.MetÉireann
, we use GetAsync<ForecastsForRegion>($"https://www.met.ie/Open_Data/json/{region}.json");
to return the data as the expected type, abstracting the need to do this manually (and repeat code) on the caller's end.
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. |
-
net5.0
- System.IO.Abstractions (>= 21.1.3)
-
net6.0
- System.IO.Abstractions (>= 21.1.3)
-
net7.0
- System.IO.Abstractions (>= 21.1.3)
-
net8.0
- System.IO.Abstractions (>= 21.1.3)
-
net9.0
- System.IO.Abstractions (>= 21.1.3)
NuGet packages (4)
Showing the top 4 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 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 172 | 11/14/2024 |
8.8.1 | 101 | 9/22/2024 |
8.7.0 | 272 | 7/16/2024 |
8.6.1 | 201 | 7/13/2024 |
8.6.0 | 86 | 7/13/2024 |
8.5.0 | 100 | 5/20/2024 |
8.1.8 | 216 | 4/26/2024 |
8.1.7 | 286 | 3/20/2024 |
8.1.6 | 306 | 3/7/2024 |
8.1.5 | 114 | 3/7/2024 |
8.1.4 | 2,568 | 2/28/2024 |
8.1.3 | 261 | 1/30/2024 |
8.1.2 | 188 | 1/25/2024 |
8.1.1 | 374 | 11/16/2023 |
8.1.0 | 117 | 11/16/2023 |
8.0.2 | 189 | 6/11/2023 |
8.0.1 | 149 | 6/11/2023 |
7.0.5 | 660 | 1/24/2023 |
7.0.3 | 406 | 1/22/2023 |
7.0.1 | 281 | 1/21/2023 |
7.0.0 | 154 | 6/11/2023 |
Adding README file for NuPkg Parse in NuGet.