示例#1
0
 public SingletonProvider(SingletonLazyCreatorBase creator)
 {
     _creator = creator;
 }
示例#2
0
 public SingletonProvider(SingletonLazyCreatorBase creator)
 {
     _creator = creator;
 }
示例#3
0
 SingletonProvider CreateProvider(SingletonLazyCreatorBase creator)
 {
     creator.IncRefCount();
     return(new SingletonProvider(creator));
 }