This file contains hidden or 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
echo $0 |
This file contains hidden or 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
[HttpPost] | |
public void DoWhile() | |
{ | |
var index = 0; | |
do | |
{ | |
Debug.WriteLine($"{index} loop"); | |
index++; | |
continue; | |
} while (false); |
This file contains hidden or 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
[HttpPost] | |
public void TestE( | |
string AppleBanana, | |
string GrapeOrange | |
) | |
{ | |
Debug.WriteLine($"a: {AppleBanana}, b: {GrapeOrange}"); | |
} |
This file contains hidden or 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
[HttpPost] | |
public void TestD( | |
string A, | |
string B | |
) | |
{ | |
Debug.WriteLine($"a: {A}, b: {B}"); | |
} |
This file contains hidden or 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 class TestCModel | |
{ | |
public string A { get; set; } | |
public string B { get; set; } | |
} | |
[HttpPost] | |
public void TestC( | |
TestCModel model | |
) |
This file contains hidden or 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 class TestBModel | |
{ | |
public string a { get; set; } | |
public string b { get; set; } | |
} | |
[HttpPost] | |
public void TestB( | |
TestBModel model | |
) |
This file contains hidden or 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
[HttpPost] | |
public void TestA( | |
string a, | |
string b | |
) | |
{ | |
Debug.WriteLine($"a: {a}, b: {b}"); | |
} |
This file contains hidden or 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
Connection.connect(requestParam.credential) { | |
val queryResult: List<Any> = requestParam.query | |
.parallelStream() | |
.map { | |
query(it).toList() | |
} | |
.collect(Collectors.toList()) | |
} |
This file contains hidden or 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
declare interface JQuery { | |
bind(eventType: string, handler: (...parameters: any[]) => void): JQuery; | |
on(eventType: string, handler: (...parameters: any[]) => void): JQuery; | |
} |
This file contains hidden or 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
[HttpPost] | |
publicJsonResult Wait(int time) | |
{ | |
Task.Factory.StartNew(() => { | |
Thread.Sleep(time); | |
Debug.WriteLine("Done " + time); | |
}); | |
return APPActor.GetJson(new | |
{ |