My favorites
▼
|
Sign in
yetanotherbuilder
Yet another builder
Project Home
Downloads
Wiki
Issues
Source
Repository:
default
wiki
Checkout
Browse
Changes
Clones
Source path:
hg
/
yab
/
TypeHelper.fs
d433f42ad29a
1
2
3
4
5
6
7
8
9
10
11
12
namespace yab
open System
open System.Reflection
module TypeHelper =
let is<'t> t = t = typeof<'t>
let isNullable <'t when 't : struct and 't : (new : unit -> 't) and 't :> ValueType> t = t = typeof<'t> or t = typeof<Nullable<'t>>
let private get position anArray = Array.get anArray position
let getShortestConstructor (t:Type) = t.GetConstructors() |> Array.sortBy (fun c -> c.GetParameters() |> Array.length) |> get 0
Show details
Hide details
Change log
5e23a8090c27
by mark on May 3, 2010
Diff
mark: initial checkin for yab
Go to:
...harper.yab/BuildScriptCache/.crc
...er.yab/BuildScriptCache/.version
/_ReSharper.yab/ModuleIds.xml
/_ReSharper.yab/NamedArguments/.crc
...rper.yab/NamedArguments/.version
...yab/NamedArguments/5/a239adf.dat
...898b034f269cbcb89899db31ff7242a4
...a1e57e22ed339ffb0ac0a0458fca0e7f
...bd2df3541db5075aa3593dc0ac225da0
...ab/ProjectModel/ProjectModel.dat
/_ReSharper.yab/Resources/.crc
/_ReSharper.yab/Resources/.version
/_ReSharper.yab/SymbolCache.bin
/_ReSharper.yab/TagPrefixes/.crc
...Sharper.yab/TagPrefixes/.version
/_ReSharper.yab/TodoCache/.crc
/_ReSharper.yab/TodoCache/.version
...r.yab/WebsiteFileReferences/.crc
...b/WebsiteFileReferences/.version
/_ReSharper.yab/WordIndex/.crc
/_ReSharper.yab/WordIndex/.version
/lib/nunit/NUnitFitTests.html
/lib/nunit/NUnitTests.config
/lib/nunit/NUnitTests.nunit
/lib/nunit/agent.conf
/lib/nunit/agent.log.conf
...it/framework/nunit.framework.dll
...it/framework/nunit.framework.xml
.../nunit/framework/nunit.mocks.dll
...t/framework/pnunit.framework.dll
/lib/nunit/launcher.log.conf
/lib/nunit/lib/Failure.png
/lib/nunit/lib/Ignored.png
/lib/nunit/lib/Inconclusive.png
/lib/nunit/lib/Skipped.png
/lib/nunit/lib/Success.png
/lib/nunit/lib/fit.dll
/lib/nunit/lib/log4net.dll
...nit/lib/nunit-console-runner.dll
/lib/nunit/lib/nunit-gui-runner.dll
/lib/nunit/lib/nunit.core.dll
...it/lib/nunit.core.interfaces.dll
/lib/nunit/lib/nunit.fixtures.dll
.../nunit/lib/nunit.uiexception.dll
/lib/nunit/lib/nunit.uikit.dll
/lib/nunit/lib/nunit.util.dll
/lib/nunit/nunit-agent-x86.exe
...nunit/nunit-agent-x86.exe.config
/lib/nunit/nunit-agent.exe
/lib/nunit/nunit-agent.exe.config
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 459 bytes, 12 lines
View raw file
Powered by
Google Project Hosting