IInheritanceService 인터페이스

정의

구성 요소의 구성 요소들을 식별하는 데 사용하는 메서드를 제공합니다.

public interface class IInheritanceService
public interface IInheritanceService
type IInheritanceService = interface
Public Interface IInheritanceService
파생

설명

이 인터페이스는 기본 클래스에서 상속되는 구성 요소의 구성 요소를 식별하는 데 사용할 수 있는 메서드를 제공합니다.

상속되는 구성 요소를 확인하려면 메서드를 AddInheritedComponents 호출하고 검색할 구성 요소와 IContainer 를 전달하여 식별된 구성 요소에 대한 참조를 저장합니다. 메서드를 GetInheritanceAttribute 호출하여 메서드로 식별된 구성 요소에 대한 를 검색 InheritanceAttribute 합니다 AddInheritedComponents .

메서드

AddInheritedComponents(IComponent, IContainer)

지정된 구성 요소에서 IComponent 인터페이스를 구현하는 필드를 검색하고 각 필드를 지정된 컨테이너에 추가함으로써 GetInheritanceAttribute(IComponent) 메서드를 사용하여 검색할 수 있는 각 필드의 상속 수준을 저장합니다.

GetInheritanceAttribute(IComponent)

지정된 구성 요소의 상속 특성을 가져옵니다.

적용 대상

추가 정보