Holiday |
Initializes a new instance of the HolidayV1 class.
Namespace: Gamanet.C4.SimpleInterfaces
Assembly: Gamanet.C4.SimpleInterfaces (in Gamanet.C4.SimpleInterfaces.dll) Version: 2026.0.0.242
Syntax
C#
public HolidayV1( Guid id )
Parameters
- id Guid
- The identifier.
Example
The following example illustrates how to create Holiday
C#
using System; using Gamanet.C4.SimpleInterfaces; public class CreateHoliday { // create instance of holiday var holiday = new Holiday(Guid.NewGuid()); holiday.Name = "Christmas"; holiday.Date = DateTime.Parse("12/25/2020"); }
See Also