Skip to content

Can we move AttributesToAvoidReplicating into DynamicProxy's main namespace? #517

@stakx

Description

@stakx

AttributesToAvoidReplicating currently sits in the sub-namespace Castle.DynamicProxy.Generators. It's one of only two public types left in that namespace—the namespace contains mostly internals that became truly internal in #505.

My aim here is to concentrate DynamicProxy's public API in just one single namespace: Castle.DynamicProxy.

I therefore suggest that we do either of two things:

  1. move AttributesToAvoidReplicating into the main namespace Castle.DynamicProxy; or
  2. turn it into a collection property in ProxyGenerationOptions

I haven't thought about (2) too deeply, but (1) would be simple enough to do. Also, it's likely not a part of the public API that one uses a lot, so perhaps it's not worth investing too much time.

Any thoughts or opinions?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions