Namespace: NHibernate.Util
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public static IGetter GetGetter( Type theClass, string propertyName, string propertyAccessorName ) |
| Visual Basic |
|---|
Public Shared Function GetGetter ( _ theClass As Type, _ propertyName As String, _ propertyAccessorName As String _ ) As IGetter |
| Visual C++ |
|---|
public: static IGetter^ GetGetter( Type^ theClass, String^ propertyName, String^ propertyAccessorName ) |
Parameters
- theClass
- Type: System..::..Type
The Type to find the property in.
- propertyName
- Type: System..::..String
The name of the Property to find.
- propertyAccessorName
- Type: System..::..String
The name of the property access strategy.
Return Value
The IGetter to get the value of the Property.
Remarks
This one takes a propertyAccessor name as we might know the correct strategy by now so we avoid Exceptions which are costly