I'm have a input parameter that needs to be a time. I set it's type as a timespan object. In order to have it save it's values I added the following:
[NinjaScriptProperty] [Display(Name="OpenTime", Description="Open Time", Order=1, GroupName="Parameters")] public TimeSpan OpenTime { get; set; } [Browsable(false)] public string OpenTimeSerialize { get { return OpenTime.ToString(); } set { OpenTime = TimeSpan.Parse(value); } }
If this is correct you might want to consider adding a blurb into the documentation about this.
Comment