public static IObjectFieldDescriptor AddPreProcessingParentProjectionDependencies(this IObjectFieldDescriptor descriptor, params string[] selectionDependencies) { //Create list of Dependency Links... IReadOnlyList <PreProcessingDependencyLink> dependencies = selectionDependencies .Select(s => new PreProcessingDependencyLink(s)) .ToList(); //Add to the pre-compiled Field Context for future use/retrieval. descriptor.AddDescriptorContextData(new Dictionary <string, object>() { [PreProcessingParentDependencies.ContextDataKey] = dependencies }); //Keep chainable... return(descriptor); }