C# 클래스 FullInspector.PropertyEditorChain

In Full Inspector, there are typically a large number of property editors that can be used for each type, for example, a user defined editor, then the abstract editor, then the reflected editor. PropertyEditorChain encapsulates this idea and makes it easy to retrieve the next editor that will be used.
파일 보기 프로젝트 열기: jacobdufault/fullinspector 1 사용 예제들

공개 메소드들

메소드 설명
GetNextEditor ( IPropertyEditor editor ) : IPropertyEditor

Returns the next editor that will be used, or null if the given editor is either the last one or was not found in the chain.

HasNextEditor ( IPropertyEditor editor ) : bool

Returns true if there is another editor after the given one.

SkipUntilNot ( ) : IPropertyEditor

Returns the first property editor in this chain that is not an instance of any of the given types.

비공개 메소드들

메소드 설명
AddEditor ( IPropertyEditor editor ) : void

Adds an editor to the end of this chain.

메소드 상세

GetNextEditor() 공개 메소드

Returns the next editor that will be used, or null if the given editor is either the last one or was not found in the chain.
public GetNextEditor ( IPropertyEditor editor ) : IPropertyEditor
editor IPropertyEditor The editor that is currently being used.
리턴 IPropertyEditor

HasNextEditor() 공개 메소드

Returns true if there is another editor after the given one.
public HasNextEditor ( IPropertyEditor editor ) : bool
editor IPropertyEditor
리턴 bool

SkipUntilNot() 공개 메소드

Returns the first property editor in this chain that is not an instance of any of the given types.
public SkipUntilNot ( ) : IPropertyEditor
리턴 IPropertyEditor