C# 클래스 KellermanSoftware.CompareNetObjects.Cache

Cache for properties, fields, and methods to speed up reflection
파일 보기 프로젝트 열기: GregFinzer/Compare-Net-Objects

공개 메소드들

메소드 설명
ClearCache ( ) : void

Clear the cache

GetFieldInfo ( ComparisonConfig config, Type type ) : IEnumerable

Get a list of the fields within a type

GetMethod ( Type type, string methodName ) : MethodInfo

Get a method by name

GetMethods ( Type type ) : IEnumerable

Get the cached methods for a type

GetPropertyInfo ( ComparisonResult result, Type type ) : IEnumerable

Get a list of the properties in a type

GetPropertyValue ( ComparisonResult result, Type type, object objectValue, string propertyName ) : object

Get the value of a property

비공개 메소드들

메소드 설명
Cache ( ) : System

Static constructor

메소드 상세

ClearCache() 공개 정적인 메소드

Clear the cache
public static ClearCache ( ) : void
리턴 void

GetFieldInfo() 공개 정적인 메소드

Get a list of the fields within a type
public static GetFieldInfo ( ComparisonConfig config, Type type ) : IEnumerable
config ComparisonConfig
type System.Type
리턴 IEnumerable

GetMethod() 공개 정적인 메소드

Get a method by name
public static GetMethod ( Type type, string methodName ) : MethodInfo
type System.Type
methodName string
리턴 System.Reflection.MethodInfo

GetMethods() 공개 정적인 메소드

Get the cached methods for a type
public static GetMethods ( Type type ) : IEnumerable
type System.Type
리턴 IEnumerable

GetPropertyInfo() 공개 정적인 메소드

Get a list of the properties in a type
public static GetPropertyInfo ( ComparisonResult result, Type type ) : IEnumerable
result ComparisonResult
type System.Type
리턴 IEnumerable

GetPropertyValue() 공개 정적인 메소드

Get the value of a property
public static GetPropertyValue ( ComparisonResult result, Type type, object objectValue, string propertyName ) : object
result ComparisonResult
type System.Type
objectValue object
propertyName string
리턴 object