using System.Collections.Generic;
public static void Main()
var options = new Castle.Sharp2Js.JsGeneratorOptions()
OutputNamespace = "events",
IncludeMergeFunction = false,
ClassNameConstantsToRemove = null,
RespectDataMemberAttribute = true,
RespectDefaultValueAttribute = true,
TreatEnumsAsStrings = false
var str = Castle.Sharp2Js.JsGenerator.Generate(new[]{typeof (ScheduleInfo)}, options);
public class ScheduleInfo
Schedules = new List<Schedule>();
public List<Schedule> Schedules
public string InternalPresenters
public string InternalPresenterIds
public string InternalPresenterNames
public string ExternalPresenters
public int MaxInPersonAttendance
public int MaxInPersonWaitlist
public bool NoAutoBumpInPersonWaitlist
public int MaxWebcastAttendance
public int MaxWebcastWaitlist
public bool NoAutoBumpWebcastWaitlist
public DateTime StartDateTime
public DateTime EndDateTime
public string WebcastEvent
public string WebcastOnly
public string WebcastRequiresReg
public string RecordingOnly
public string RecordingRequiresReg
public string RecordingUrl
public string WhenOverrideText
public string RegistrationQuestion
public bool RegistrationQuestionRequired
public string SurveyCustomQuestion
public string ResourceUrl
public bool ScheduleCancelled
public string ScheduleCancellationWebMessage
public string ScheduleCancellationEmailMessage
public System.Guid ReviewStatusId
public string ReviewStatusComments
public bool ForceNoReminder