Summer.Batch.Infrastructure.Item.File.Transform.Range Class Reference

A class to represent ranges. The range minimum and maximum can have values from 1 to int.MaxValue. If the maximum is UnboundMaximum, it is considered to be unbound on the right side. More...

Public Member Functions

 Range (int min, int max=UnboundMaximum)
 Creates a new range. More...
 
override string ToString ()
 

Public Attributes

const int UnboundMaximum = int.MaxValue
 The value that specifies there is no maximum. More...
 

Properties

int Min [get]
 The minimum value of the range. More...
 
int Max [get]
 The maximum value of the range. More...
 
bool HasMaxValue [get]
 Whether there is a maximum value or the range is unbound on the left side. More...
 

Detailed Description

A class to represent ranges. The range minimum and maximum can have values from 1 to int.MaxValue. If the maximum is UnboundMaximum, it is considered to be unbound on the right side.

Constructor & Destructor Documentation

Summer.Batch.Infrastructure.Item.File.Transform.Range.Range ( int  min,
int  max = UnboundMaximum 
)

Creates a new range.

Parameters
minthe minimum value for the range
maxthe maximum value for the range, UnboundMaximum if unspecified

Member Function Documentation

override string Summer.Batch.Infrastructure.Item.File.Transform.Range.ToString ( )
Returns
A string that represents the current range.

Member Data Documentation

const int Summer.Batch.Infrastructure.Item.File.Transform.Range.UnboundMaximum = int.MaxValue

The value that specifies there is no maximum.

Property Documentation

bool Summer.Batch.Infrastructure.Item.File.Transform.Range.HasMaxValue
get

Whether there is a maximum value or the range is unbound on the left side.

int Summer.Batch.Infrastructure.Item.File.Transform.Range.Max
get

The maximum value of the range.

int Summer.Batch.Infrastructure.Item.File.Transform.Range.Min
get

The minimum value of the range.


The documentation for this class was generated from the following file:
  • Summer.Batch.Infrastructure/Item/File/Transform/Range.cs