Felsökning 9.0.0

Prefix Reserved
dotnet add package Felsökning --version 9.0.0                
NuGet\Install-Package Felsökning -Version 9.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Felsökning" Version="9.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Felsökning --version 9.0.0                
#r "nuget: Felsökning, 9.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 DateTimestruct 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 191 11/14/2024
8.8.1 109 9/22/2024
8.7.0 278 7/16/2024
8.6.1 207 7/13/2024
8.6.0 92 7/13/2024
8.5.0 107 5/20/2024
8.1.8 220 4/26/2024
8.1.7 290 3/20/2024
8.1.6 310 3/7/2024
8.1.5 118 3/7/2024
8.1.4 2,572 2/28/2024
8.1.3 265 1/30/2024
8.1.2 192 1/25/2024
8.1.1 378 11/16/2023
8.1.0 123 11/16/2023
8.0.2 193 6/11/2023
8.0.1 153 6/11/2023
7.0.5 664 1/24/2023
7.0.3 411 1/22/2023
7.0.1 285 1/21/2023
7.0.0 158 6/11/2023

Adding README file for NuPkg Parse in NuGet.