mirror of
https://github.com/Radarr/Radarr
synced 2024-12-25 17:27:59 +00:00
17 lines
478 B
C#
17 lines
478 B
C#
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);
|
|
}
|