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