public IEnumerable <EditAction> GetRecoveryActions() { return(target_type.GetFilteredInstanceMethods( Filterer_MethodInfo.HasNoEffectiveParameters(), Filterer_MethodInfo.HasCustomAttributeOfType <RecoveryFunctionAttribute>() ).Convert(m => m.CreateAction()) .Convert(a => EditAction.New(this, a))); }
public EditAction ForceAction(string path) { return(EditAction.New( this, target_type.GetActionByPath(path) .AssertNotNull(() => new MissingMethodException("No action exists for type " + GetTargetType() + " and path " + path)) )); }