repo.or.cz
/
castle.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add Newtonsoft.Json to the references of TestSiteBrail
[castle.git]
/
MonoRail
/
Castle.MonoRail.Views.Brail.Tests
/
Views
/
CommonScripts
/
extentions.brail
blob
464862b24fec2353ccc1d0bcb5c7d6793f7e74a6
1
[Boo.Lang.ExtensionAttribute]
\r
2
static def IsEmpty(val as object) as bool:
\r
3
if val isa System.Collections.ICollection:
\r
4
return cast(System.Collections.ICollection,val).Count == 0
\r
5
end
\r
6
return true
\r
7
end