public ProbeResult GetResultForFamily(CollectRequest collectRequest, List<string> resultsForObjects)
 {
     ProbeResultFactory factory = new ProbeResultFactory();
     IEnumerable<ObjectType> familyObjects = collectRequest.GetObjectTypes(session).OfType<family_object>();
     return factory.CreateProbeResultForFamilyWithSpecificObjectTypes(familyObjects, resultsForObjects);
 }
 private ProbeResult GetResultForRegistry(CollectRequest collectRequest, List<string> resultsForObjects)
 {
     ProbeResultFactory factory = new ProbeResultFactory();
     IEnumerable<ObjectType> registryObjects = collectRequest.GetObjectTypes(session).OfType<registry_object>();
     return factory.CreateProbeResultForRegistryWithSpecificObjectTypes(registryObjects, resultsForObjects);
 }