C# 클래스 Hawkeye.ComponentModel.CustomTypeDescriptors.GenericTypeDescriptionProvider

상속: System.ComponentModel.TypeDescriptionProvider
파일 보기 프로젝트 열기: odalet/Hawkeye2

공개 메소드들

메소드 설명
GenericTypeDescriptionProvider ( ICustomTypeDescriptor customTypeDescriptor ) : System

Initializes a new instance of the GenericTypeDescriptionProvider class.

GetExtendedTypeDescriptor ( object instance ) : ICustomTypeDescriptor

Gets an extended custom type descriptor for the given object.

GetTypeDescriptor ( Type objectType, object instance ) : ICustomTypeDescriptor

Gets a custom type descriptor for the given type and object.

메소드 상세

GenericTypeDescriptionProvider() 공개 메소드

Initializes a new instance of the GenericTypeDescriptionProvider class.
customTypeDescriptor
public GenericTypeDescriptionProvider ( ICustomTypeDescriptor customTypeDescriptor ) : System
customTypeDescriptor ICustomTypeDescriptor /// The custom type descriptor returned by . ///
리턴 System

GetExtendedTypeDescriptor() 공개 메소드

Gets an extended custom type descriptor for the given object.
public GetExtendedTypeDescriptor ( object instance ) : ICustomTypeDescriptor
instance object The object for which to get the extended type descriptor.
리턴 ICustomTypeDescriptor

GetTypeDescriptor() 공개 메소드

Gets a custom type descriptor for the given type and object.
public GetTypeDescriptor ( Type objectType, object instance ) : ICustomTypeDescriptor
objectType System.Type The type of object for which to retrieve the type descriptor.
instance object /// An instance of the type. Can be null if no instance was passed to the /// .
리턴 ICustomTypeDescriptor