public GenericComparer(IComparisionStrategy <T> comparisionStrategy)
 {
     _comparisionStrategy = comparisionStrategy;
     _fields = typeof(T).GetProperties();
     foreach (var field in _fields)
     {
         if (!getMethods.ContainsKey(field.Name.GetHashCode()))
         {
             getMethods.TryAdd(field.Name.GetHashCode(), CreateGetterMethodForField(field));
         }
     }
 }
 public GenericComparer(IComparisionStrategy <T> comparisionStrategy)
 {
     _comparisionStrategy = comparisionStrategy;
 }