/// <summary> /// Gets the objects exported from this parameter. /// </summary> /// <param name="recursive">True if export has to be recursive; otherwise false.</param> /// <returns>A list of the objects exported from this parameter.</returns> public override List <IExportable> ExportObjects(bool recursive) { List <IExportable> retVal = new List <IExportable>(); ExportablePropertyAssociator <string> frequency = new ExportablePropertyAssociator <string>("FrequencyExpressionExport", this, "Frequency", typeof(DateFrequency)); StartDateExpression.Description = "Start Date"; EndDateExpression.Description = "End Date"; SetupExportedIDs(); retVal.AddRange(new IExportable[] { this, StartDateExpression, EndDateExpression, frequency }); return(retVal); }
/// <summary> /// Gets the objects exported from this parameter. /// </summary> /// <param name="recursive">True if export has to be recursive; otherwise false.</param> /// <returns>A list of the objects exported from this parameter.</returns> public override List<IExportable> ExportObjects(bool recursive) { List<IExportable> retVal = new List<IExportable>(); ExportablePropertyAssociator<string> frequency = new ExportablePropertyAssociator<string>("FrequencyExpressionExport", this, "Frequency", typeof(DateFrequency)); StartDateExpression.Description = "Start Date"; EndDateExpression.Description = "End Date"; SetupExportedIDs(); retVal.AddRange(new IExportable[] { this, StartDateExpression, EndDateExpression, frequency }); return retVal; }
/// <summary> /// Gets the objects exported from this parameter. /// </summary> /// <param name="recursive">True if export has to be recursive; otherwise false.</param> /// <returns>A list of the objects exported from this parameter.</returns> public List<IExportable> ExportObjects(bool recursive) { List<IExportable> retVal = new List<IExportable>(); ExportablePropertyAssociator<string> startDate = new ExportablePropertyAssociator<string>("StartDateExpression", this, VarName + " Start Date"); ExportablePropertyAssociator<string> endDate = new ExportablePropertyAssociator<string>("EndDateExpression", this, VarName + " End Date"); ExportablePropertyAssociator<string> frequency = new ExportablePropertyAssociator<string>("FrequencyExpression", this, VarName + " Frequency", typeof(DateFrequency)); retVal.AddRange(new IExportable[] { this, startDate, endDate, frequency }); return retVal; }