C# 클래스 System.Reflection.TypeFactory

For fast creation of types, useful for creating POCOs
파일 보기 프로젝트 열기: sapiens/cavemantools 1 사용 예제들

공개 메소드들

메소드 설명
GetFactory ( Type t ) : Func

Gets factory to create instance of type using the public parameterless ctor. Use it when you want to create many instances of the same type in different objects Aprox, 1.3x faster than Activator, almost as fast a manual if you cache and reuse the delegate

비공개 메소드들

메소드 설명
TypeFactory ( ) : System.Collections.Generic

메소드 상세

GetFactory() 공개 정적인 메소드

Gets factory to create instance of type using the public parameterless ctor. Use it when you want to create many instances of the same type in different objects Aprox, 1.3x faster than Activator, almost as fast a manual if you cache and reuse the delegate
public static GetFactory ( Type t ) : Func
t Type
리턴 Func