C# Класс FullInspector.Internal.BehaviorEditorTools

Показать файл Открыть проект

Открытые методы

Метод Описание
TryCreateEditor ( Type editedType, Type editorType ) : IBehaviorEditor

Attempts to create a behavior editor for the given edited data type from the given editor type.

Приватные методы

Метод Описание
CanEdit ( Type dataType, CustomBehaviorEditorAttribute behaviorTypeAttribute ) : bool

Returns true if the given dataType matches the given behaviorType. If the dataType is generic and the behaviorType is a generic definition, then the behaviorType will be instantiated with the same generic arguments as dataType.

TryCreateInstance ( Type editorType, Type usedEditedType, Type actualEditedType, IBehaviorEditor &editor ) : bool

Creates a new instance of the given editorType. It is assumed that editorType extends IBehaviorEditor.

TryCreateSpecificEditor ( Type usedEditedType, Type actualEditedType, Type editorType ) : IBehaviorEditor

Attempt to create a new IBehaviorEditor instance.

Описание методов

TryCreateEditor() публичный статический Метод

Attempts to create a behavior editor for the given edited data type from the given editor type.
public static TryCreateEditor ( Type editedType, Type editorType ) : IBehaviorEditor
editedType System.Type The type that is being edited.
editorType System.Type The editor type.
Результат IBehaviorEditor