개정판 ac4f1e13
Markup load 비동기로 변경
Change-Id: I471906b1090f7f3f0fd18e97d88a54f75fd1f673
KCOM/Common/Converter/MarkupDataToConverter.cs | ||
---|---|---|
4 | 4 |
using System.Globalization; |
5 | 5 |
using System.Linq; |
6 | 6 |
using System.Text; |
7 |
using System.Threading.Tasks; |
|
7 | 8 |
using System.Windows.Data; |
8 | 9 |
|
9 | 10 |
namespace KCOM.Common.Converter |
... | ... | |
16 | 17 |
{ |
17 | 18 |
if (value is string) |
18 | 19 |
{ |
19 |
return MarkupParser.GetMemo(value.ToString()); |
|
20 |
var task = MarkupParser.GetMemoAsync(value.ToString()).ConfigureAwait(true); |
|
21 |
|
|
22 |
return task.GetAwaiter().GetResult(); |
|
20 | 23 |
} |
21 | 24 |
} |
22 | 25 |
else |
내보내기 Unified diff