Skip to content

Instantly share code, notes, and snippets.

View masaru-b-cl's full-sized avatar

TAKANO Sho / @masaru_b_cl masaru-b-cl

View GitHub Profile
@masaru-b-cl
masaru-b-cl / gist:1381411
Created November 21, 2011 02:12
PropertyUtils.copyProperties的な何か
using System;
using System.Linq;
using System.Reflection;
namespace PropertyReflectionConsoleApplication
{
public class Entity
{
public Entity()
{
@masaru-b-cl
masaru-b-cl / .gitignore
Created November 25, 2011 07:53
DragAndDropWebFormApplication
bin/
obj/
*.suo
*.user
@masaru-b-cl
masaru-b-cl / .gitignore
Created November 28, 2011 04:08
CustomeLoginSite
bin/
obj/
*.suo
*.user
@masaru-b-cl
masaru-b-cl / .gitignore
Created November 29, 2011 08:53
ConditionalActionConsoleApplication
bin/
obj/
*.suo
*.user
@masaru-b-cl
masaru-b-cl / .gitignore
Created December 2, 2011 22:50
BackColorChangeOnFocusWindowsFormsApplication
bin/
obj/
*.suo
*.user
@masaru-b-cl
masaru-b-cl / Default.aspx.cs
Created December 21, 2011 06:34
ItemCommand Event Test
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
@masaru-b-cl
masaru-b-cl / .gitignore
Created December 27, 2011 08:22
MVVM BMI Calculator
bin/
obj/
*.suo
*.user
TestResults/
@masaru-b-cl
masaru-b-cl / .gitignore
Created January 4, 2012 04:53
MyDateTimePicker
bin/
obj/
*.suo
*.user
@masaru-b-cl
masaru-b-cl / Program.cs
Created January 4, 2012 14:32
MapBetween
using System;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApplication1
{
public static class EnumerableEx
{
public static IEnumerable<TResult> MapBetween<TValue, TResult>(this IEnumerable<TValue> source, Func<TValue, TValue, TResult> f)
{
@masaru-b-cl
masaru-b-cl / Program.cs
Created January 4, 2012 15:11
MapBetween (on Zip Method)
using System;
using System.Linq;
using System.Collections.Generic;
namespace ConsoleApplication1
{
public static class EnumerableEx
{
public static IEnumerable<TResult> MapBetween<TValue, TResult>(this IEnumerable<TValue> source, Func<TValue, TValue, TResult> f)
{