public override SelectResult ExecuteSelect(AdamDataSourceSelectingEventArgs arguments) { var selectResult = new SelectResult<FieldInheritanceDefinition>(); var definitionCollection = new FieldDefinitionCollection(App); var isLastPage = LoadFieldsPage(definitionCollection, arguments); var inheritanceDefinitions = LoadDefinitionsFor(definitionCollection).ToList(); selectResult.SetItems(arguments, inheritanceDefinitions, isLastPage); return selectResult; }
public override SelectResult ExecuteSelect(AdamDataSourceSelectingEventArgs arguments) { var selectResult = new SelectResult <FieldInheritanceDefinition>(); var definitionCollection = new FieldDefinitionCollection(App); var isLastPage = LoadFieldsPage(definitionCollection, arguments); var inheritanceDefinitions = LoadDefinitionsFor(definitionCollection).ToList(); selectResult.SetItems(arguments, inheritanceDefinitions, isLastPage); return(selectResult); }