C# Class Igman.Infrastructure.Extend.ExtendMethod

Exibir arquivo Open project: fitba/km-2013-projects-team-igman

Public Methods

Method Description
BoldTermin ( this text, string rijec, bool full = true ) : string
GetIpAdresa ( this zahtjev ) : string
ModIdToInt ( this a ) : string
OcistiHtml ( this text ) : string
Pager ( this helper, long totalRows, long pageSize, long pageIndex, int pageButtons, string currentLocation ) : System.Web.Mvc.MvcHtmlString
PretragaRadius ( this text, string rijeci, int duzina ) : string
ToDouble ( this str ) : double
ToInt ( this str ) : int
ToRelativeDateString ( this value, bool approximate ) : string

Private Methods

Method Description
IndexOfAll ( string interni, string externi, System.StringComparison kompresija ) : List

Method Details

BoldTermin() public static method

public static BoldTermin ( this text, string rijec, bool full = true ) : string
text this
rijec string
full bool
return string

GetIpAdresa() public static method

public static GetIpAdresa ( this zahtjev ) : string
zahtjev this
return string

ModIdToInt() public static method

public static ModIdToInt ( this a ) : string
a this
return string

OcistiHtml() public static method

public static OcistiHtml ( this text ) : string
text this
return string

Pager() public static method

public static Pager ( this helper, long totalRows, long pageSize, long pageIndex, int pageButtons, string currentLocation ) : System.Web.Mvc.MvcHtmlString
helper this
totalRows long
pageSize long
pageIndex long
pageButtons int
currentLocation string
return System.Web.Mvc.MvcHtmlString

PretragaRadius() public static method

public static PretragaRadius ( this text, string rijeci, int duzina ) : string
text this
rijeci string
duzina int
return string

ToDouble() public static method

public static ToDouble ( this str ) : double
str this
return double

ToInt() public static method

public static ToInt ( this str ) : int
str this
return int

ToRelativeDateString() public static method

public static ToRelativeDateString ( this value, bool approximate ) : string
value this
approximate bool
return string