public static SrmSettings ChangeAnnotationDefs(this SrmSettings settings, ChangeFunc <IList <AnnotationDef> > change) { return(settings.ChangeDataSettings(setD => setD.ChangeAnnotationDefs(change(setD.AnnotationDefs)))); }
public static SrmSettings ChangeDataSettings(this SrmSettings settings, ChangeFunc <DataSettings> change) { return(settings.ChangeDataSettings(change(settings.DataSettings))); }