Skip to content

Compare: Advanced usage Payload generators

Showing with 96 additions and 65 deletions.
  1. +16 −1 Advanced-usage---Payload-generators.md
  2. +74 −63 Advanced-usage---QR-Code-renderers.md
  3. +6 −1 Release-Notes.md
17 changes: 16 additions & 1 deletion Advanced-usage---Payload-generators.md

Parameter table

There is 1 overloadare 2 overloads:

Overload 1
Description: Creates an calendar event.

Parameter name Type Default Description
subject string Subject/title of the calender event
description string Description of the event
location string Location (lat:long or address) of the event
start DateTime Start time of the event
end DateTime End time of the event
allDayEvent bool Is it a full day event?
encoding EventEncoding EventEncoding.Universal Type of encoding (universal or iCal)
Parameter name Type Default Description
subject string Subject/title of the calender event
description string Description of the event
location string Location (lat:long or address) of the event
start DateTime Start time of the event
end DateTime End time of the event
allDayEvent bool Is it a full day event?
encoding EventEncoding EventEncoding.Universal Type of encoding (universal or iCal)

Overload 2
Description: Creates an calendar event.

Parameter name Type Default Description
subject string Subject/title of the calender event
description string Description of the event
location string Location (lat:long or address) of the event
start DateTimeOffset Start time of the event incl. offset in relation to UTC
end DateTimeOffset End time of the event incl. offset in relation to UTC
allDayEvent bool Is it a full day event?
encoding EventEncoding EventEncoding.Universal Type of encoding (universal or iCal)

Good to know

The parameters description and location are optional. They can be set to null or string.Empty. If you want to place an event to Apple users you should use iCal instead of Universal as encoding.

Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ var qrCodeAsBitmap = qrCode.GetGraphic(20);
```

#### Parameter table
There is 1 overload:
There are 2 overloads:

**Overload 1**
Description: Creates an calendar event.
Expand All @@ -280,6 +280,21 @@ Description: Creates an calendar event.
|allDayEvent|bool||Is it a full day event?|
|encoding|EventEncoding|EventEncoding.Universal|Type of encoding (universal or iCal)|


**Overload 2**
Description: Creates an calendar event.

|Parameter name|Type|Default|Description|
|---|---|---|---|
|subject|string||Subject/title of the calender event|
|description|string||Description of the event|
|location|string||Location (lat:long or address) of the event|
|start|DateTimeOffset||Start time of the event incl. offset in relation to UTC|
|end|DateTimeOffset||End time of the event incl. offset in relation to UTC|
|allDayEvent|bool||Is it a full day event?|
|encoding|EventEncoding|EventEncoding.Universal|Type of encoding (universal or iCal)|


#### Good to know
The parameters *description* and *location* are optional. They can be set to *null* or *string.Empty*. If you want to place an event to Apple users you should use *iCal* instead of *Universal* as *encoding*.

Expand Down