コード例 #1
0
 public DesignPatterns(ISingletonProcessor singletonProcessor, IAdapterDemo adapterDemo, ICircle circle, IRocket rocket)
 {
     _singletonProcessor = singletonProcessor;
     _adapterdemo        = adapterDemo;
     _circle             = circle;
     _rocket             = rocket;
 }
コード例 #2
0
 public AdapterDpCaller(IAdapterDemo adapterDemo)
 {
     _adapaterDemo = adapterDemo;
 }