阅读背景:

在静态属性getter中创建的新对象是否只创建一次?

来源:互联网 

I'm creating a static helper class for web services I'm writing. I'm tapping into the API of Telligent and therefore creating these Telligent "service" objects that allow me to do things with the platform. For example, I'm creating a MembershipSerice object in my helper class so I can do membership stuff with the same object. In my helper class I have a property with a getter that creates a new one of these objects:I'm creating a static helper class for web serv




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: