Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using System;
namespace Acple.ForbiddenExtensions
{
public static class Extensions
{
public static TResult 変換するやつ<T, TResult>(this T value, Func<T, TResult> processor)
{
return processor(value);
}
public static T 処理するやつ<T>(this T value, Action<T> processor)
{
processor(value);
return value;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.