Represents the result of introducing a dependency into a type.
Namespace: Metalama.Extensions.DependencyInjection
Assembly: Metalama.Extensions.DependencyInjection.dll
Syntax
[CompileTime]
public sealed class IntroduceDependencyResultProperties
| Name | Description |
|---|---|
| Declaration | Gets the field or property that was introduced or found to represent the dependency. |
| Error | Gets a result indicating that the dependency introduction failed. |
| Outcome | Gets the outcome of the advice operation. |
Methods
| Name | Description |
|---|---|
| Ignore(IFieldOrProperty) | Creates a result indicating that the dependency introduction was ignored because a suitable member already exists. |
| Success(IFieldOrProperty) | Creates a result indicating successful introduction of a dependency. |