C# Class Our.Umbraco.OpeningHours.Model.Items.OpeningHoursTimeSlot

Class representing a time slot of a day at an unspecified date.
Inheritance: Our.Umbraco.OpeningHours.Model.Json.OpeningHoursJsonObject
Datei anzeigen Open project: bomortensen/Our.Umbraco.OpeningHours Class Usage Examples

Private Properties

Property Type Description
OpeningHoursTimeSlot System
OpeningHoursTimeSlot System

Public Methods

Method Description
Parse ( Newtonsoft.Json.Linq.JObject obj ) : OpeningHoursTimeSlot

Gets an instance of OpeningHoursTimeSlot from the specified JObject.

Private Methods

Method Description
OpeningHoursTimeSlot ( Newtonsoft.Json.Linq.JObject obj ) : System
OpeningHoursTimeSlot ( System.TimeSpan opens, System.TimeSpan closes ) : System

Method Details

Parse() public static method

Gets an instance of OpeningHoursTimeSlot from the specified JObject.
public static Parse ( Newtonsoft.Json.Linq.JObject obj ) : OpeningHoursTimeSlot
obj Newtonsoft.Json.Linq.JObject The instance of to parse.
return OpeningHoursTimeSlot