This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Replace constructor in line 53 with this one | |
public FieldNullValueAttribute(Type type, string nullValue) | |
: this(TypeDescriptor.GetConverter(type).ConvertFromString(nullValue)) | |
{ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class DoubleClickEvent | |
{ | |
public static readonly DependencyProperty AttachActionProperty = | |
DependencyProperty.RegisterAttached( | |
"AttachAction", | |
typeof (string), | |
typeof (DoubleClickEvent), | |
new PropertyMetadata(OnAttachActionChanged)); | |
public static void SetAttachAction(DependencyObject d, string attachText) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Push-Location (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent) | |
$profilePath = split-path $profile | |
# Load posh-git and posh-hg modules from default profile directory | |
Import-Module $profilePath\posh-git\posh-git | |
Import-Module $profilePath\posh-hg\posh-hg | |
function prompt { | |
Write-Host($pwd) -nonewline |
NewerOlder