Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structure Map's DecorateAllWith function #7

Closed
jeremydmiller opened this issue Mar 9, 2018 · 1 comment
Closed

Structure Map's DecorateAllWith function #7

jeremydmiller opened this issue Mar 9, 2018 · 1 comment
Milestone

Comments

@jeremydmiller
Copy link
Member

No description provided.

@jeremydmiller
Copy link
Member Author

public interface IDecoratorPolicy
{
    bool TryWrap(out Instance wrapped);
}

Test cases:

  • For().DecorateAllWith()
  • For().DecorateAllWith(Type type)
  • Policies.DecorateWith() where T : IDecoratorPolicy, new()
  • Policies.DecorateWith(IDecoratorPolicy policy)

@jeremydmiller jeremydmiller added this to the 0.9.0 milestone Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant