Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.
Users reporting for no reason may be locked out.
using System;
using System.Linq;
using System.Collections.Generic;
using ATVO.ThemesSDK;
using ATVO.ThemeEditor.ThemeModels;
using ATVO.ThemeEditor.Scripting.DotNET;
using ATVO.ThemeEditor.ThemeModels.DataSets;
using ATVO.ThemesSDK.Data.Results;
using ATVO.ThemesSDK.Ordering;
namespace Scripts
{
public class Test : CustomStandingsDataSet
{
protected override IList<IEntitySessionResult> FilterResults(
ISimulation sim,
IList<IEntitySessionResult> results)
{
// TODO: Filter results
return results;
}
protected override IList<IEntitySessionResult> OrderResults(
ISimulation sim,
IList<IEntitySessionResult> results,
IDataOrder order)
{
// Optional: change the order of the results
// Use the 'order' parameter to order by the selected Data Order
// This is the default implementation; can leave this out
return order.Sort(results);
}
protected override ISessionResult GetSession(ISimulation sim)
{
// Optional: change the session from which you want to pull the results
return sim.Session.Current;
}
}
}