Thanks :-)

-----Original Message-----
From: "tmont" <notifications@github.com>
Sent: ‎11/‎03/‎2013 18:33
To: "NancyFx/Nancy" <Nancy@noreply.github.com>
Cc: "Steven Robbins" <steve@robbins.me.uk>
Subject: Re: [Nancy] Extended type check in registration classes to handleopen generics (#1023)

In src/Nancy/Extensions/TypeExtensions.cs:
> @@ -19,6 +19,26 @@ public static bool IsArray(this Type source)
>              return source.BaseType == typeof(Array);
>          }
>  
> +        /// <summary>
> +        /// Determines whether the <paramref name="genericType"/> is assignable from
> +        /// <paramref name="givenType"/> taking into account generic definitions
> +        /// </summary>
> +        /// <remarks>
> +        /// Borrowed from: http://tmont.com/blargh/2011/3/determining-if-an-open-generic-type-isassignablefrom-a-type
Blog post author here. I added a note on my post indicating the code is licensed under CC, same as StackOverflow, so feel free to use it if you like.
See post here.
—
Reply to this email directly or view it on GitHub.