Format:
Recent snippets matching tags of Task
new AsyncNetTask(myContext, myHandler) { // 작업중에 필요한 변수가 있다면 finalize 하거나 이 객체의 생성자 인자로 넘길 수 있을 것입니다. // 유지해야 하는 변수라면 멤버 변수 등을 사용할 수도 있을 것입니다. Mydata mData; @Override protected TcpEnvelope onPreExecute() { return makeEnvelope(); }
54 Views
no comments
'***********************************************************************************************************************-- '***********************************************************************************************************************-- 'This is a Visual Basic Script that hits a WebURL 'The WebURL hit is the one provided as the parameter (in this case through the windows task scheduler) 'Instructions: Set this .vbs as the action for a schedule task and in the parameters section pass in the WebUrl u wish to hit '***********************************************************************************************************************-- '***********************************************************************************************************************-- 'Create variable to hold passing in arguments args = WScript.Arguments.Count
66 Views
no comments
public static class TaskCast { public static explicit operator Task<T>(T sr); public static Task<T> operator +(T i1, T i2); public static Task<T> operator -(T i1, T i2); public static Task<T> operator *(T i1, T i2); public static Task<T> operator /(T i1, T i2); public static Task<T> operator %(T i1, T i2); public static Task<T> operator -(T i); public static Task<bool> operator ==(T i1, T i2);
92 Views
no comments
static void Main(string[] args) { const int x = 6, y = 6; int[] m = { 1, 2, 3, 4, 5, 6, 20, 21, 22, 23, 24, 7, 19, 32, 33, 34, 25, 8, 18, 31, 36, 35, 26, 9, 17, 30, 29, 28, 27, 10, 16, 15, 14, 13, 12, 11
126 Views
no comments
#region Helpers static void LoopWork(Action work, int count) { if (count < 0) return; for (int i = 0; i < count; i++) work(); } static void TimeWork(Action work, string workTitle) {
262 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
