public static bool IsFeatureSupported(CCProcessingCenter ccProcessingCenter, CCProcessingFeature feature) { bool ret = false; if (ccProcessingCenter != null && !string.IsNullOrEmpty(ccProcessingCenter.ProcessingTypeName)) { try { Type procType = CCPluginTypeHelper.GetPluginTypeWithCheck(ccProcessingCenter); ret = IsFeatureSupported(procType, feature); } catch {} } return(ret); }
public static bool IsV1ProcessingInterface(Type pluginType) { bool ret = CCPluginTypeHelper.CheckParentClass(pluginType, PluginConstants.V1PluginBaseFullName, 0, 3); return(ret); }