[razor] metodi helper

è possibile inserire all'interno di una pagina che sfrutta il view engine razor dei metodi chiamati helper

esempio

@helper ping()
{
    <div>ping : @DateTime.Today.ToString()</div>
}


che possono venir richiamati nella pagina html

@ping()

puo' tornare utile

posted @ giovedì 24 novembre 2011 18:24

Print

Comments on this entry:

# re: [razor] metodi helper

Left by MX at 29/12/2012 09:33
Gravatar
AC Milan 4-3 shaking the http://www.monsterbeatsdresale.co.uk/ of Lecce, when the rear lost 3 ball on the line, but Alessandro Nesta with AC Milan Soccer Jersey can also be shown on the rear line of sufficient strength, and this pedicled Asia after Al Gore-Silva was injured, it monsterbeatbuy is increasingly apparent. Looking back now, but fortunately the NESTA not retired beats by dr dre solo hd headphones the summer, or else face mexes waiting for rehabilitation, Silva 3 rounds of absence due to injury, now perhaps as deep because the inter of Milan for the crisis. From the game, the 3 goal against AC beats by dre online and Alessandro Nesta will not be directly related. First grain goal, Ambrosini foul for no reason, and gave each other a free kick, followed by Mario Yepes of roof, second goal, can also be adjacent to Christian Abbiati Yepes errors caused by, the third beats by dre lost goals, Massimo Ambrosini, Mario Yepes and Luca Antonini joint failure caused.
1

# re: [razor] metodi helper

Left by dsfksjdfksd at 22/01/2015 05:39
Gravatar
Ik ben trots om Nep Horloges te vliegen voor dit mythische merk, die zoveel bijgedragen aan de ontwikkeling van de Hublot Replica luchtvaart en vertegenwoordigt het ultieme vlieger horloge de kampioen op deze gelegenheid aangegeven. En verder Replica Watches: trots ook om de eerste vrouw onder officiele drivers Breitling en dus beschermen luchtmachtmensen vierkante. Geboren in Grenoble in 1982, ziet Aude Lemordant dat zijn jeugd sleepboten zweefvliegtuigen vliegen over zijn huis.
c
Comments have been closed on this topic.
«aprile»
domlunmarmergiovensab
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011