Find
pattern is like this:
public (.+) (?!PropertyChanged)(.+);
Replace
is:
public $1 $2 {
get { return \l$2; }
set {
if(\l$2 != value) {
\l$2 = value;
# AppVeyor.yml for Zipped files to XCopy Deploy. | |
# - Require VS2013 ($env:MSBUILD_EXE) | |
# - Require 7Zip ($env:szip) | |
# - "C:\opt\nuget3.4\appveyor_nugetconfig\nuget.config" | |
# - C:\opt\nuget3.4\nget.exe | |
# version: 1.0.{build} | |
# 必要に応じてAssemblyInfoパッチなども行う。このymlを共通で使うならここでバージョンしない方が良いと思う。 | |
configuration: Release |
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
namespace net.case_of_t.WinForms { | |
public class SomeFormBase : Form{ | |
protected static readonly int DefaultWaitMsForTurnEnable = 1000; | |
protected void ControlsEnableAfter(Control target) { | |
ControlsEnableAfter(DefaultWaitMsForTurnEnable, target); | |
} | |
protected void ControlsEnableAfter(IEnumerable<Control> targets) { |
Find
pattern is like this:
public (.+) (?!PropertyChanged)(.+);
Replace
is:
public $1 $2 {
get { return \l$2; }
set {
if(\l$2 != value) {
\l$2 = value;
import Html exposing (text, h1) | |
{- | |
type alias EmailAddress = String | |
type alias Message = | |
{ recipient : EmailAddress | |
, body : String | |
} |
// place this file the path such ends with: ChatServer/server/ChatServer.java | |
package ChatServer.server; | |
import java.io.IOException; | |
import java.net.ServerSocket; | |
import java.net.Socket; | |
import java.util.ArrayList; | |
import java.util.List; |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Runtime.InteropServices; | |
// https://stackoverflow.com/a/36795367 | |
// http://schima.hatenablog.com/entry/20090512/1242139542 | |
// https://blogs.msdn.microsoft.com/oldnewthing/20120720-00/?p=7083 | |
namespace IconLoadToStruct { |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; |
using System; | |
using System.Linq; | |
using System.Reactive.Linq; | |
namespace RxZipFizzBuzz | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
using System; | |
using System.Linq; | |
using System.Reactive.Linq; | |
namespace RxAndThenWhenFizzBuzz { | |
class Program { | |
static void Main(string[] args) { | |
var numberObserver = Observable.Range(1, 30); | |
var fizzObserver = numberObserver.Select(i => i % 3 == 0 ? "Fizz" : ""); | |
var buzzObserver = numberObserver.Select(i => i % 5 == 0 ? "Buzz" : ""); |