MakoIoT.Device.Utilities.ICalParser 1.0.25.42837

There is a newer version of this package available.
See the version list below for details.
dotnet add package MakoIoT.Device.Utilities.ICalParser --version 1.0.25.42837
NuGet\Install-Package MakoIoT.Device.Utilities.ICalParser -Version 1.0.25.42837
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.25.42837" />
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.25.42837
#r "nuget: MakoIoT.Device.Utilities.ICalParser, 1.0.25.42837"
#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.25.42837

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

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.30.49736 0 5/17/2024
1.0.29.40226 97 4/9/2024
1.0.28.24912 83 4/8/2024
1.0.27.5013 90 4/3/2024
1.0.26.26733 102 3/21/2024
1.0.25.42837 227 11/10/2023
1.0.23.31394 149 5/25/2023
1.0.22.24072 125 5/25/2023
1.0.21.45087 114 5/25/2023