Refactor reflection patterns

Description

This is a sort of follow up to NH-3952: remove usage of EnumerableHelper.
They were replaced by ReflectionHelper, and additionally cached whenever possible and useful.

This improvement aims at similarly caching other MethodInfo/PropertyInfo reflected through older ReflectionHelper usages (impact Linq namespace), or any other means (most other NHibernate namespaces).
If adequate, those other means of reflecting should be replaced by ReflectionHelper.

Of course, some of them do not need to be cached because their code is supposed to be called only once in the application lifetime (such as reflection done in Linq registry). Their code should be left untouched.

Environment

None

Activity

Show:

Frédéric Delaporte March 19, 2017 at 2:10 AM

PR done.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?

Created March 19, 2017 at 12:19 AM
Updated April 1, 2017 at 10:20 AM
Resolved April 1, 2017 at 10:20 AM
Who's Looking?