Open sandboxFocus

Enum AdviceOutcome

Status codes of the result of an advice. This enum is exposed on the Outcome property of the IAdviceResult interface, which is returned by all methods of the IAdviceFactory interface.

Namespace: Metalama.Framework.Advising
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public enum AdviceOutcome

Fields

Name Description
Default

The advice was successfully applied and there was no conflict.

Error

There was a conflict or another error. The advice was ignored and the whole aspect was disabled using SkipAspect().

Ignore

The advice was ignored, possibly because of a conflict.

New

There was a conflict and the advice was successfully applied and the new advice hides the previous declaration with the new keyword.

Override

There was a conflict and the advice was successfully applied and the new advice overrides the previous declaration.