Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BytecodeProvider.GetReflectionOptimizer Method

Retrieve the IReflectionOptimizer delegate for this provider capable of generating reflection optimization components.

[Visual Basic]
Public NotOverridable Sub GetReflectionOptimizer( _
   ByVal clazz As Type, _
   ByVal getters As IGetter, _
   ByVal setters As ISetter _
) _
    Implements IBytecodeProvider.GetReflectionOptimizer
[C#]
public IReflectionOptimizer GetReflectionOptimizer(
   Type clazz,
   IGetter[] getters,
   ISetter[] setters
);

Parameters

clazz
The class to be reflected upon.
getters
All property getters to be accessed via reflection.
setters
All property setters to be accessed via reflection.

Return Value

The reflection optimization delegate.

Implements

IBytecodeProvider.GetReflectionOptimizer

See Also

BytecodeProvider Class | Spring.Data.NHibernate.Bytecode Namespace