随笔分类 - 内参
摘要:namespace Microshaoft.MEF.Contracts{ using System; public delegate void ExceptionEventHandler(TSender sender, Exception exception);}namespace Microshaoft.MEF.Contracts{ using System; public interface IMefChainedProcessorPart { IMefChainedProcessorPart Instance { ...
阅读全文
摘要:namespace Test{ using System; using System.Windows.Forms; static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompa...
阅读全文
摘要:namespace ConsoleApplication{ using System; using System.Threading; using Microshaoft; /// /// Class1 的摘要说明。 /// public class Program { /// /// 应用程序的主入口点。 /// //[STAThread] static void Main(string[] args) { string input...
阅读全文
摘要:/*:: rem curl Post JsonD:\curl\curl-7.33.0-win64\bin\curl.exe -i -X POST -H "Accept: application/json" -H "Content-Type: application/json; charset=utf-8" -d "[{Name:'curl1',\"Age\":0,'Height':1,'Weight':2},{'Name':\"curl2\"
阅读全文
摘要:windbg ANSI Command Tree 1.0title {"Microshaoft Commands"}body{"cmdtree"} {"Microshaoft.WinDbg.CmdTree.txt"} {".cmdtree microshaoft.windbg.cmdtree.txt"}{"SOS Commands"} {"Load SOS and SOSEX"} {".loadby sos mscorwks;.load sosex"} {
阅读全文
摘要:# This file contains command-line options that the C## command line compiler (CSC) will process as part# of every compilation, unless the "/noconfig" option# is specified.# Reference the common Framework libraries/r:Accessibility.dll/r:Microsoft.CSharp.dll/r:System.Configuration.dll/r:Syst
阅读全文
摘要:// Controllers.csnamespace Microshaoft.WebApi.Controllers{ using Microshaoft.WebApi.Models; using System; using System.Collections.Generic; using System.Web.Http; using System.Net.Http; using System.Net; using System.Linq; public class PersonsController : ApiController { ...
阅读全文
摘要:namespace Microshaoft{ using System; using System.Text; using Microshaoft; public class Class1 { static void Main() { string s = IFilterHelper.GetTextFromDocument ( @"D:\Download\移动开发者解决方案研究报告第一...
阅读全文
摘要:namespace Test{ using Microshaoft; using System; using System.Threading.Tasks; class Program { static void Main(string[] args) { //string s = await Download("http://msdn.microsoft.com"); using (var foo = new Foo()) { try ...
阅读全文
摘要:1 namespace Microshaoft 2 { 3 using System; 4 using System.Linq; 5 using System.Drawing; 6 using System.Collections.Generic; 7 using System.Windows.Forms; 8 public class Form1 : Form 9 {10 static void Main()11 {12 Application.Run(new Form1());...
阅读全文
摘要://#define NET35namespace TestConsoleApplication{ using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Microshaoft; class Program { static void Main(string[] args) { Console.WriteLine("Begin ..."); ...
阅读全文
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title> new document </title> <META NAME="Generator" CON
阅读全文
摘要:namespace TestConsoleApplication{ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Diagnostics; using Microshaoft; class Program { static void Main(string[] args) { Console.W...
阅读全文
摘要:@echo offsetlocalset _DateOffsetStart_=%1set _DateOffsetDays_=%2set _StepDays_=-1set _today_=%date%set _yyyy_=%_today_:~0,4%set _MM_=%_today_:~5,2%set _dd_=%_today_:~8,2%call :DateToDays %_yyyy_% %_MM_% %_dd_% _days_rem echo %_days_%set /a _DateOffsetEnd_=%_DateOffsetStart_%-%_DateOffsetDays_%+1for
阅读全文
摘要:namespace ConsoleApplication{ using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Xml.Serialization; using Microshaoft; public class Class1 { //[STAThread] [Serializable] public class En...
阅读全文
摘要:namespace ConsoleApplication{ using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Xml.Serialization; using Microshaoft; public class Class1 { //[STAThread] [Serializable] public class En...
阅读全文
摘要:namespace ConsoleApplication{ using System; using System.Diagnostics; using Microshaoft; /// <summary> /// Class1 的摘要说明。 /// </summary> public class Class1 { /// <summary> /// 应用程序的主入口点。 /// </summary> //[STAThread] static void Main(string[]...
阅读全文
摘要:#define NET45namespace Test{ using Microshaoft; using System; using System.Diagnostics; using System.IO; public class Program { ...
阅读全文
摘要://Client.csnamespace Client{ using System; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using Microshaoft; class Class1 { static void Main(string[] args) { var ipa = IPAddress.Parse("127.0.0.1"); va...
阅读全文
摘要:<%@ WebHandler Language="C#" Debug="True" Class="Microshaoft.HttpProxyHandler" %>namespace Microshaoft{ using System; using System.IO; using System.Linq; using System.Net; using System.Web; public class HttpProxyHandler : IHttpHandler { public void ProcessRequest(
阅读全文