@@ -100,6 +100,7 @@ public partial interface IPropertiesDescriptor<T, out TReturnType>
100100 TReturnType Scalar ( Expression < Func < T , LongRange > > field , Func < LongRangePropertyDescriptor < T > , ILongRangeProperty > selector = null ) ;
101101 TReturnType Scalar ( Expression < Func < T , IntegerRange > > field , Func < IntegerRangePropertyDescriptor < T > , IIntegerRangeProperty > selector = null ) ;
102102 TReturnType Scalar ( Expression < Func < T , FloatRange > > field , Func < FloatRangePropertyDescriptor < T > , IFloatRangeProperty > selector = null ) ;
103+ TReturnType Scalar ( Expression < Func < T , IpAddressRange > > field , Func < IpRangePropertyDescriptor < T > , IIpRangeProperty > selector = null ) ;
103104#pragma warning restore CS3001 // Argument type is not CLS-compliant
104105 }
105106
@@ -269,6 +270,8 @@ public PropertiesDescriptor<T> Scalar(Expression<Func<T, IntegerRange>> field, F
269270 SetProperty ( selector . InvokeOrDefault ( new IntegerRangePropertyDescriptor < T > ( ) . Name ( field ) ) ) ;
270271 public PropertiesDescriptor < T > Scalar ( Expression < Func < T , FloatRange > > field , Func < FloatRangePropertyDescriptor < T > , IFloatRangeProperty > selector = null ) =>
271272 SetProperty ( selector . InvokeOrDefault ( new FloatRangePropertyDescriptor < T > ( ) . Name ( field ) ) ) ;
273+ public PropertiesDescriptor < T > Scalar ( Expression < Func < T , IpAddressRange > > field , Func < IpRangePropertyDescriptor < T > , IIpRangeProperty > selector = null ) =>
274+ SetProperty ( selector . InvokeOrDefault ( new IpRangePropertyDescriptor < T > ( ) . Name ( field ) ) ) ;
272275
273276#pragma warning restore CS3001 // Argument type is not CLS-compliant
274277 }
0 commit comments