C# Class Squishy.Irc.Util

Mostra file Open project: jaddie/WCell-Utility-Bot

Public Properties

Property Type Description
ExternalAddress System.Net.IPAddress
LocalHostAddress System.Net.IPAddress

Public Methods

Method Description
GetTcpAddress ( long addr ) : IPAddress
GetTcpAddress ( IPAddress addr ) : long
GetWords ( object words, int from ) : string
GetWords ( object words, int from, int count ) : string
GetWords ( string text, int from ) : string
GetWords ( string text, int from, int count ) : string
IsWildmatch ( string text, string wildcard ) : bool

Evaluates if the text fits into the specified wildcard pattern.

Method Details

GetTcpAddress() public static method

public static GetTcpAddress ( long addr ) : IPAddress
addr long
return System.Net.IPAddress

GetTcpAddress() public static method

public static GetTcpAddress ( IPAddress addr ) : long
addr System.Net.IPAddress
return long

GetWords() public static method

public static GetWords ( object words, int from ) : string
words object
from int
return string

GetWords() public static method

public static GetWords ( object words, int from, int count ) : string
words object
from int
count int
return string

GetWords() public static method

public static GetWords ( string text, int from ) : string
text string
from int
return string

GetWords() public static method

public static GetWords ( string text, int from, int count ) : string
text string
from int
count int
return string

IsWildmatch() public static method

Evaluates if the text fits into the specified wildcard pattern.
public static IsWildmatch ( string text, string wildcard ) : bool
text string The text to be compared
wildcard string The pattern which has to be matched
return bool

Property Details

ExternalAddress public_oe static_oe property

public static IPAddress,System.Net ExternalAddress
return System.Net.IPAddress

LocalHostAddress public_oe static_oe property

public static IPAddress,System.Net LocalHostAddress
return System.Net.IPAddress