Skip to content

Override MethodProcessor #356

Description

@ezarzone

Hi!
We want to override MethodProcessor for change some behaviours. I make some testing but I cannot replace original MethodProcessor. @ENikS Some ideas for that?

Sample code:

    public class CustomMethodProcessor : MethodProcessor
    {
        public CustomMethodProcessor(IPolicySet policySet, UnityContainer container) : base(policySet, container)
        {
        }

    }

But using Register doesn't Works:

var container = new UnityContainer();
container.RegisterType<MethodProcessor, CustomMethodProcessor>();

I'm tying to use Extension but no lucky :(

Regards,

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