/// <summary> /// Returns an object with all of the metadata about the processing of a logset. /// </summary> /// <returns>LogsetMetadata object pulled from Mongo.</returns> public LogsetMetadata GetMetadata() { var filter = Builders <LogsetMetadata> .Filter.Eq("_id", MetadataDocumentId); return(MetadataCollection.Find(filter).FirstOrDefault()); }