Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Advising / Advice­Outcome

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

Inheritance
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().

Ignored

There was a conflict and the advice was 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__