private ObjectInfo PipsInfo(PipsScope _) { return(new ObjectInfoBuilder() .Prop("ByType", PipsByType) .Prop("ByStatus", PipsByStatus) .Prop("ByExecutionStart", () => PipsOrderedBy(exePerf => exePerf.ExecutionStart)) .Prop("ByExecutionStop", () => PipsOrderedBy(exePerf => exePerf.ExecutionStop)) .Build()); }
private ObjectInfo PipsInfo(PipsScope _) { return(new ObjectInfo(new[] { new Property("ByType", PipsByType), new Property("ByStatus", PipsByStatus), new Property("ByExecutionStart", () => PipsOrderedBy(exePerf => exePerf.ExecutionStart)), new Property("ByExecutionStop", () => PipsOrderedBy(exePerf => exePerf.ExecutionStop)) })); }