Esempio n. 1
0
 public static IMapDataResolver GetInstance()
 {
     if (_resolver == null)
     {
         lock (_sync)
         {
             if (_resolver == null)
             {
                _resolver =  new MapbarDataConvertor();                       
             }
         }
     }
     return _resolver;
 }
Esempio n. 2
0
 public static IMapDataResolver GetInstance()
 {
     if (_resolver == null)
     {
         lock (_sync)
         {
             if (_resolver == null)
             {
                _resolver =  CreateIMapDataResolver();                       
             }
         }
     }
     return _resolver;
 }