MakoIoT.Device.Utilities.ICalParser 1.0.29.40226

dotnet add package MakoIoT.Device.Utilities.ICalParser --version 1.0.29.40226
NuGet\Install-Package MakoIoT.Device.Utilities.ICalParser -Version 1.0.29.40226
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="MakoIoT.Device.Utilities.ICalParser" Version="1.0.29.40226" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MakoIoT.Device.Utilities.ICalParser --version 1.0.29.40226
#r "nuget: MakoIoT.Device.Utilities.ICalParser, 1.0.29.40226"
#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 MakoIoT.Device.Utilities.ICalParser as a Cake Addin
#addin nuget:?package=MakoIoT.Device.Utilities.ICalParser&version=1.0.29.40226

// Install MakoIoT.Device.Utilities.ICalParser as a Cake Tool
#tool nuget:?package=MakoIoT.Device.Utilities.ICalParser&version=1.0.29.40226

MakoIoT.Device.Utilities.ICalParser

Simple parser for ICalendar data. Extracts event details from VEVENT objects.

Usage

//parse calendar from web
HttpClient httpClient = new();
using var response = _httpClient.Get(_config.CalendarUrl);
response.EnsureSuccessStatusCode();

var parser = new Parser();
var events = new ArrayList();
using var reader = new StreamReader(response.Content.ReadAsStream())           
parser.Parse(reader, e => 
{ 
  //this function gets called when event object is found
  events.Add(e); 
});           

Known limitations

  • no support for recurring events (recurrence patters)
  • no support for nestes VEVENT objects
  • no time zones support
Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.29.40226 87 4/9/2024
1.0.28.24912 78 4/8/2024
1.0.27.5013 86 4/3/2024
1.0.26.26733 99 3/21/2024
1.0.25.42837 224 11/10/2023
1.0.23.31394 146 5/25/2023
1.0.22.24072 123 5/25/2023
1.0.21.45087 112 5/25/2023