private IReadOnlyDictionary <string, string> GetUniqueProperties(object source) { return(_uniquePropertyDetector switch { IUniquePropertyDetector service => service.GetUniqueProperties(source), _ => ImmutableDictionary <string, string> .Empty, });