Represents the result of introduction advice methods such as IntroduceMethod(IAdviser<INamedType>, string, IntroductionScope, OverrideStrategy, Action<IMethodBuilder>?, object?, object?),
Namespace: Metalama.Framework.Advising
Assembly: Metalama.Framework.dll
Syntax
public interface IIntroductionAdviceResult<out T> : IAdviceResult, IAdviser<T>, IAdviser where T : class, IDeclarationType Parameters
| Name | Description |
|---|---|
| T |
Remarks
This interface also implements IAdviser<T>, which allows chaining additional advice on the introduced declaration.
Properties
| Name | Description |
|---|---|
| ConflictingDeclaration | Gets the declaration that was in conflict, if the outcome is Error. The member may be of a different kind that Declaration. |
| Declaration | Gets the introduced or overridden declaration. This returns the same value as the Target property. |