=(.GetStringAsync(uriSources)).Result;
.(HTTPClient.(),"","GetStringAsync"); .(Task.(),"","Result");
=(.()).;
= (.(HttpClient.(),handler.())); =("System.Collections.Generic.List`1[System.Threading.Tasks.Task]"); URL() =(.GetStringAsync()); .Add(.()); ; Task=("System.Threading.Tasks.Task"); .Count>0 =(.ToArray()); = Task.WaitAny(.()); (); = (.get_Item()).Result; (()); .RemoveAt(); ;
public class {// , , public object ; // public Task ; // 1 . public String ; public (Task , String , Object ) { this. = ; this. = ; this. = ; .ContinueWith((t) => { var AW = new AutoWrap(this); AutoWrap.1("", , AW.()); }); } }
(,) =(ExpandoObject.()); .=; .=; ; // () () = (.(HttpClient.(),handler.())); =("System.Collections.Generic.List`1[System.Threading.Tasks.Task]"); =0; URL() // =(.GetStringAsync()); // =(,); //public static void (System.Threading.Tasks.Task , String , Object ) .(.(),"",.()); =+1; ; // =("TestDllForCoreClr.","TestDllForCoreClr"); =(.(.()," ")); Thread=("System.Threading.Thread"); // 2 =(.Async(2)); =("Async",2); .(.(),"",.()); 2=(.Async(0)); =("Async",0); .(2.(),"",.()); ( ) =(.); =(.); ("="+.); ("="+.); // // IsFaulted , Exception (.IsFaulted) // =.Exception; (" "+.()); // 1 .Exception // // , // (" "+.(.Exception)); ; ; =.Result; (()); (, , ) // . ("="+); ("="+); ("="+); ="" =(); (+"()"); ;
.(.(),"",.());
="" =(); (+"()"); ;
()
public Action<string, string, string> 1;
=("TestDllForCoreClr., TestDllForCoreClr, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"); =(.(.()," ")); =(.1C()); .1=.(); .Test();
this?.1("", "", );
(, , ) ("="+); ("="+); ("="+);
Source: https://habr.com/ru/post/307360/
All Articles