title: Autofac, how to intercept the service with an instance of a Aspect but not with the Type of Aspect?
body: <p>I have an <code>Autofac</code> as an IoC container. I want to register Aspect for the some types. I can do it like this:</p>
  
  <pre><code>build.RegisterType(myType).As(ImyType).EnableInterfaceInterceptors().InterceptedBy(typeof(Aspect));
  </code></pre>
  
  <p>But what if I need to register the interceptor to the some amount of classes using not a Type of interceptor but it's instance. Lets look how I think it should look like:</p>
  
  <pre><code>Aspect aspectInstance = new Aspect("some data to constructor")
  build.RegisterType(myType).As(ImyType).EnableInterfaceInterceptors().InterceptedBy(aspectInstance);
  </code></pre>
  
  <p>I was doing so using Ninject IoC. but what about Autofac? 
  Thx for any advance!</p>