Example #1
0
 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)));
 }
Example #2
0
 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))
                ));
 }
Example #3
0
 public EditorGUIElement_EditAction_Button(EditAction a) : base(a)
 {
 }
Example #4
0
 public EditorGUIElement_EditAction(EditAction a)
 {
     edit_action = a;
 }