Open sandboxFocus

Class IntroduceDependencyResult

Represents the result of introducing a dependency into a type.

Inheritance
IntroduceDependencyResult
Namespace: Metalama.Extensions.DependencyInjection
Assembly: Metalama.Extensions.DependencyInjection.dll
Syntax
[CompileTime]
public sealed class IntroduceDependencyResult

Properties

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.

Extension Methods

See Also