You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
478 B
18 lines
478 B
using System;
|
|
|
|
namespace Marr.Data.Reflection
|
|
{
|
|
public interface IReflectionStrategy
|
|
{
|
|
object GetFieldValue(object entity, string fieldName);
|
|
|
|
GetterDelegate BuildGetter(Type type, string memberName);
|
|
SetterDelegate BuildSetter(Type type, string memberName);
|
|
|
|
object CreateInstance(Type type);
|
|
}
|
|
|
|
public delegate void SetterDelegate(object instance, object value);
|
|
public delegate object GetterDelegate(object instance);
|
|
}
|