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