C# Class Praeclarum.StringRange

Mostra file Open project: praeclarum/Praeclarum Class Usage Examples

Public Properties

Property Type Description
Length int
Location int

Public Methods

Method Description
Contains ( StringRange other ) : bool
EndsWith ( string right, string source ) : bool
Equals ( object obj ) : bool
FitIn ( int length ) : StringRange
GetHashCode ( ) : int
Intersects ( StringRange other ) : bool
Offset ( int offset ) : StringRange
StringRange ( int location, int length ) : System
Substring ( string source ) : string
ToString ( ) : string
WithLength ( int length ) : StringRange
operator ( ) : bool

Method Details

Contains() public method

public Contains ( StringRange other ) : bool
other StringRange
return bool

EndsWith() public method

public EndsWith ( string right, string source ) : bool
right string
source string
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FitIn() public method

public FitIn ( int length ) : StringRange
length int
return StringRange

GetHashCode() public method

public GetHashCode ( ) : int
return int

Intersects() public method

public Intersects ( StringRange other ) : bool
other StringRange
return bool

Offset() public method

public Offset ( int offset ) : StringRange
offset int
return StringRange

StringRange() public method

public StringRange ( int location, int length ) : System
location int
length int
return System

Substring() public method

public Substring ( string source ) : string
source string
return string

ToString() public method

public ToString ( ) : string
return string

WithLength() public method

public WithLength ( int length ) : StringRange
length int
return StringRange

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Length public_oe property

public int Length
return int

Location public_oe property

public int Location
return int