參考
https://en.cppreference.com/w/cpp/thread/thread/id/operator_ltlt
https://en.cppreference.com/w/cpp/string/basic_string/stol

Yang 發表在 痞客邦 留言(0) 人氣()

nthup598789_Moment.jpg
https://youtu.be/MaPOsHMbDFc
https://youtu.be/y4NVG-Oev_s

Yang 發表在 痞客邦 留言(0) 人氣()

taipei23.jpg
https://youtube.com/shorts/-2USP76lyWg

Yang 發表在 痞客邦 留言(0) 人氣()

flowers2ss.jpg
https://youtu.be/LNaexPXgHkc

Yang 發表在 痞客邦 留言(0) 人氣()

sc3_Landmarks.jpg
https://youtu.be/r74L23kzhQM

Yang 發表在 痞客邦 留言(0) 人氣()

2560px-Scrum_process_zh.svg.png
參考Wiki上的圖
https://zh.wikipedia.org/wiki/Scrum

Yang 發表在 痞客邦 留言(0) 人氣()

Monkey.jpg
https://youtu.be/it536wxfq_I
完全不怕人,人們也不去打擾牠們

Yang 發表在 痞客邦 留言(0) 人氣()

f417de2dfb1aaaa041680fe5ecab55b5.jpg
補充範例及優化程式碼,進一步將XAML上關於欄位(DataGridTextColumn)的描述收攏到C#端的程式碼內
//將log加入AppLog動態資料集(_appLogCollection),顯示在DataGrid上
void AppendLog(LogLevel level, string msg, [CallerLineNumber] int lineNumber = 0, [CallerMemberName] string memberName = "")
{
    AppLog log = new AppLog()
    {
        Level = level.Name.ToUpper(),
        ThreadID = Thread.CurrentThread.ManagedThreadId,
        Message = msg,
        CallerLineNumber = lineNumber,
        CallerMemberName = memberName,
    };

Yang 發表在 痞客邦 留言(0) 人氣()

f417de2dfb1aaaa041680fe5ecab55b5.jpg
接續之前的ObservableCollection<string>,在此紀錄動態資料ObservableCollection<INotifyPropertyChanged>的簡單範例,以常見的程式log舉例
上圖是之前字串轉列舉(static Enum ConvertTo(this string obj, Type enumType))範例的log

Yang 發表在 痞客邦 留言(0) 人氣()

23f9f63a7d27bdbd1cb08f49b5249101.jpg
介面INotifyPropertyChanged
微軟的WPF框架,要讓表格(DataGrid)能呈現資料表,能即時呈現資料異動,資料結構必須先繼承和實作INotifyPropertyChanged,再儲存到ObservableCollection<T>內,ObservableCollection<T>再繫節(Binding)到DataGrid.ItemsSource

Yang 發表在 痞客邦 留言(0) 人氣()

a0758a7f56ab8ca69575bc825dee247e.jpg
列舉(enum)的基底型態其實是個物件Enum
將字串轉為指定的列舉型態,不分英文大小寫,支援英文或數字,支援帶點結尾或不帶點的英文縮寫

Yang 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。