Skip to content

Instantly share code, notes, and snippets.

Dave Glick daveaglick

Block or report user

Report or block daveaglick

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@davidfowl
davidfowl / Example1.cs
Last active Sep 5, 2019
How .NET Standard relates to .NET Platforms
View Example1.cs
namespace Analogy
{
/// <summary>
/// This example shows that a library that needs access to target .NET Standard 1.3
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library.
/// </summary>INetCoreApp10
class Example1
{
public void Net45Application(INetFramework45 platform)
@jamietre
jamietre / MethodInfoExtensions
Last active Jul 12, 2017
GetSignature extension for PropertyInfo and MethodInfo: returns the detailed method/property signature by reflection
View MethodInfoExtensions
public static class MethodInfoExtensions
{
/// <summary>
/// Return the method signature as a string.
/// </summary>
///
/// <param name="property">
/// The property to act on.
/// </param>
///
You can’t perform that action at this time.