public IEnumerable <EditDisplay> GetDisplays() { return(target_type.GetFilteredInstanceProps( Filterer_PropInfo.HasCustomAttributeOfType <InspectorDisplayAttribute>(), Filterer_PropInfo.CanGet() ).Convert(m => m.CreateVariable()) .Convert(v => EditDisplay.New(this, v))); }
public EditDisplay ForceDisplay(string path) { return(EditDisplay.New( this, target_type.GetVariableByPath(path) .AssertNotNull(() => new MissingMethodException("No method exists for type " + GetTargetType() + " and path " + path)) )); }
public EditorGUIElement_EditDisplay(EditDisplay d) { edit_display = d; }
public EditorGUIElement_EditDisplay_Text(EditDisplay d) : base(d) { }
static public EditorGUIElement CreateBlockLabeledEditorGUIElement(this EditDisplay item) { return(item.CreateEditorGUIElement().LabelWithGUIContentBlock(item.CreateGUIContentLabel())); }