Esempio n. 1
0
 public static SearchEngineType DetailObjectTypeToSearchEngineType(SEMObjectDetailType detailObjectType)
 {
     return((SearchEngineType)Enum.ToObject(typeof(SearchEngineType), (int)detailObjectType / 10000));
 }
Esempio n. 2
0
 public static SEMObjectType DetailObjectTypeToObjectType(SEMObjectDetailType detailObjectType)
 {
     return((SEMObjectType)Enum.ToObject(typeof(SEMObjectType), ((int)detailObjectType % 10000) / 100));
 }
Esempio n. 3
0
 public static bool IsGoogleObject(SEMObjectDetailType detailObjectType)
 {
     return(((int)detailObjectType / 10000) == (int)SearchEngineType.Google);
 }