Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 5th, 2012  |  syntax: None  |  size: 0.34 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How do inject a property with Spring Framwork .NET on a web service?
  2. <object type="MyCompany.MyProject.Business.MyClass">
  3.     <property name="PaymentService" ref="PaymentService" />
  4.   </object>
  5.        
  6. namespace MyCompany.MyProject.Web
  7. {
  8.     public class MyService : WebService
  9.     {
  10.         public IPaymentService PaymentService { get; set; }
  11.     }
  12. }