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)) )); }