Friday, 15 June 2012

c# - How can you inject a session reference -


Can you inject a session reference into your class through the structure class

< P>

  & lt; & Gt; For HTPSessionStatbase (). TheDefault.Is.ConstructedBy ((= => New HTTP session on the webpage (HTTPCTX Current Session));  

Now any class obtained through the StructureMap should take the HTTPTC installation box as its one constructor parameter.


No comments:

Post a Comment