Azuxiren.Aionian
1.0.1.1
See the version list below for details.
dotnet add package Azuxiren.Aionian --version 1.0.1.1
NuGet\Install-Package Azuxiren.Aionian -Version 1.0.1.1
<PackageReference Include="Azuxiren.Aionian" Version="1.0.1.1" />
paket add Azuxiren.Aionian --version 1.0.1.1
#r "nuget: Azuxiren.Aionian, 1.0.1.1"
// Install Azuxiren.Aionian as a Cake Addin #addin nuget:?package=Azuxiren.Aionian&version=1.0.1.1 // Install Azuxiren.Aionian as a Cake Tool #tool nuget:?package=Azuxiren.Aionian&version=1.0.1.1
Aionian Library contains simplistic features to consume the bible resources. As of now, the following is provided
The BibleLink
struct which defines the bible link as provided in http://resources.aionianbible.org/, The Bible
struct which contains all the content of bible using nested Dictionaries, and BibleBook
enum which has all the books of the bible defined within it.
Provided with these are static utility methods, most importantly for getting all links from the website (link given above) and a method for deserializing the Bible struct from downloaded link
BibleLink[] links = BibleLink.GetAllUrlsFromWebsite();//Gets all download links available from the website
BibleLink mylink = links[0]; //Taking the first link
var stream = mylink.DownloadStream();//Downloads the stream of the bible database
var bible = Bible.ExtractBible(stream);//Now the bible is ready to use
//Alternatively
var AnotherBible = Bible.ExtractBible(mylink.DownloadStream());//One line
string verse = AnotherBible[BibleBook.John, 3, 16];
By using a stream, there is an additional option of downloading the file by the URL in the BibleLink
object and opening it via a Stream
to load the Bible.
The bible struct is also compatible to be serialized with Json, provided the option IncludeFields = true
is set.
//Prepare Option for Serializing
var options = new JsonSerializerOptions() { IncludeFields = true }
//Serialization Example
string SerializedBible = JsonSerializer.Serialize(BibleObject, options);
...
//Deserialization Example
var Bible = JsonSerializer.Deserialize<Bible>(SerializedBible, options);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Text.Json (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Corrected Bible abstract IDictionary dependancy