MetalamaAPI documentationAspect APIMetalama.​Framework.​AdvisingAdvice­Outcome
Open sandboxFocus

AdviceOutcome Class

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.

Inheritance
System.Object
AdviceOutcome
Namespace: Metalama.Framework.Advising
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class AdviceOutcome : Enum

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.

Ignored
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.

value__