コード例 #1
0
 public static void ReverseTo(this Features <IMappingFeature> features, Features <IMappingFeature> reversedFeatures) => features.ForAll(feature =>
 {
     var reverse = feature.Reverse();
     if (reverse != null)
     {
         reversedFeatures.Set(reverse);
     }
 });
コード例 #2
0
ファイル: Features.cs プロジェクト: belav/csharpier-repos
 public static void ReverseTo(this Features <IMappingFeature> features, Features <IMappingFeature> reversedFeatures)
 {
     if (features.Count == 0)
     {
         return;
     }
     foreach (var feature in features)
     {
         var reverse = feature.Reverse();
         if (reverse != null)
         {
             reversedFeatures.Set(reverse);
         }
     }
 }