コード例 #1
0
 private IReadOnlyDictionary <string, string> GetUniqueProperties(object source)
 {
     return(_uniquePropertyDetector switch
     {
         IUniquePropertyDetector service => service.GetUniqueProperties(source),
         _ => ImmutableDictionary <string, string> .Empty,
     });