Created
November 11, 2010 02:57
-
-
Save kkozmic/671913 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in your IContributeComponentModelConstruction | |
protected virtual void CollectFromConfiguration(ComponentModel model) | |
{ | |
if(Something()) | |
{ | |
var options = ProxyUtil.ObtainProxyOptions(model, true); | |
options.Selector = new ComponentReference<IInterceptorSelector>("someIdOrType"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment