コード例 #1
0
 public static EgoiSlingshotRestImpl getInstance()
 {
     if (instance == null)
     {
         instance = new EgoiSlingshotRestImpl();
     }
     return(instance);
 }
コード例 #2
0
 public static EgoiSlingshot getApi(Protocol protocol)
 {
     switch (protocol)
     {
     default:
     case Protocol.Rest:
         return(EgoiSlingshotRestImpl.getInstance());
     }
 }
コード例 #3
0
 public static EgoiSlingshotRestImpl getInstance()
 {
     if (instance == null)
         instance = new EgoiSlingshotRestImpl();
     return instance;
 }