Skip to content

Missing Advanced Code Samples For Dependency Injection #6

Open
@anitconsultantllc

Description

@anitconsultantllc

The code samples for explaining, "Consuming Dependencies from an Aspect", are all missing from the "PostSharp.Samples" solution. All of these are great examples to follow in real practical projects for something as simple as creating a detailed physical log file within PostSharp Aspects.

This section presents several ways to consume dependencies from an aspect:

  • Using a Global Composition Container
  • Using a Global Service Locator
  • Using Dynamic Dependency Resolution
  • Using Contextual Dependency Resolution
  • Importing Dependencies from the Target Object

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions