ããã©ã¼ãã³ã¹ã«å½±é¿ã®å¤§ãã絶対ã«å®ãã¹ãã㨠ã³ã¬ã¯ã·ã§ã³ã®åããã ã«ã¼ãå ã®ç·å½¢æ¢ç´¢ ã³ã¬ã¯ã·ã§ã³ã®åæ容éãæå® Result 㨠Wait ã¯ããã ç°å¢ æéã®éçº/å®è¡ç°å¢ æ§é ä½ æ§é ä½ã®åªä½æ§ æ§é ä½ã®æ¬ ç¹ åç §æ¸¡ã ref readonly/in ã®é£ãã ã³â¦
æ´æ°ã®å¿ è¦æç¡ãç¢ºèª winget æ´æ° ãã¼ã¸ã§ã³ã®åºå® ãã¾ãï¼ã¤ã³ã¹ãã¼ã«ã®ãããå åè Windows ç°å¢ã§ Python ãæ´æ°ããã¨ãã®æµããè¨é²ãã¾ããã æ´æ°ã®å¿ è¦æç¡ãç¢ºèª ã¨ãããããããã©ã«ãã® Windows ç°å¢ã§ Python ã®ãã§ãã¯æ¹æ³ãè¨é²ãã¾ãâ¦
ï¼ï¼æã®é¢¨ç©è©©ãæ¯å¹´ãã£ã¦ãããã©ãè²·ã£ã¦æãã¦ããªãã®ããã§ãã¯ã¿ãããªæ°ãããã QOL æå · ã¬ãã¼ã¬ã¹ã³ã³ããã¼ã©ã¼ä½æ PC é¢ä¿ãã¹ãã¼ããã©ã³ éå æ¬ ç·æ¬ å±¥æ´ QOL æå · ãµã¼ã¢ã¹ ç空æç±ãã°ã«ãã 450ml HARIO æ°´åºãçç²ããã ãã©ãã¯â¦
第ä¸ç¨®è¡ç管çè ã¨ã¯ åé¨ããçç± åå¼·ã«ä½¿ã£ããã® å¦ç¿æé è²»ç¨ åè 2024 å¹´ 10 æ15 æ¥ (ç«) ã«ç¬¬ä¸ç¨®è¡ç管çè 試é¨ãåãã¦ãã¾ãããï¼è©¦é¨ç¯å²ãçãï¼ç¬¬äºç¨®è¡ç管çè ã¯åé¨ãã¦ããªãã®ã§ãä¸ä½è³æ ¼ã¨ãã£ã¦ããã ãã第ä¸ç¨®ã ãåé¨ããå½¢ã§â¦
GitHub Prism Prism ã¯ä¸»ã« WPF ãªã©ã§å©ç¨ã§ãããXAML ã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ããããã®ãã¬ã¼ã ã¯ã¼ã¯ã§ãã Prism 㯠Microsoft MVVM Toolkit ã¨ä¼¼ãå½¹å²ãæ ããã¨ãã§ããã©ã¤ãã©ãªã§ãç¹å¾´ã¨ã㦠MVVM +α ã®ãããªæ©è½ãæä¾ãã¦ãã¾ãã ããã¾ã§â¦
ã©ã³ãã³ã°åå ä¸ããã°ã©ãã³ã° åªçã®ä¾ UUID 㨠GUID C# ã® GUID ã®çæ NanoID TODO åè ç¹ã« SQL ãªã©ã§ãå©ç¨ããã¦ãã¼ã¯ãªæ¡çªï¼åãã¼ã¿ã«çªå·ãå²ãå½ã¦ãããã»ã¹ï¼ã§ããããã ID ãå©ç¨ãããã¨ãããã¾ãã ä¸è¬çã«ã¯ï¼åç´ãª DB ã§ã¯ï¼priâ¦
WindowService ã®å©ç¨ 使ãæ¹ ãã¤ã³ã åè ãã¿ã³ãªã©ã® GUI ã¤ãã³ããå®è¡ããã¨ãã«ãã¡ã¤ã³ã¦ã£ã³ãã¦ã®ã¤ã³ã¹ã¿ã³ã¹ï¼ãã³ãã«ï¼ã欲ãããã¨ãããã¾ãã æ¬æ¥ãMVVM ã§è¨è¨ãããã¨ãããããã¨ã¯ç¡ãããã«è¨è¨ããã®ããããã¾ããããç¾å®çã« Vâ¦
ã©ã³ãã³ã°åå ä¸ããã°ã©ãã³ã° Dev Drive ãæªå²ãå½ã¦ãé åã®ä½æ Dev Drive ãæªå²ãå½ã¦ãé åã®ãã©ã¤ãå Visual Studio ã®ããã©ã«ã ããã¸ã§ã¯ãã®å ´æãå¤æ´ ç¢ºèª ãã¾ã åè Visual Studio ãã¤ã³ã¹ãã¼ã«ãããã¨ãé常ã ã¨ããã©ã«ãã®ããâ¦
NLog ã®å®ç¾©ãã¡ã¤ã« (nlog.config) TraceListener ãå®ç¾© ãã¹ã å¿ç¨ç·¨ Sample åè ããã°ã©ã ãä½ãã¨ãã«ãããã¸ã§ã¯ãã§ï¼ãã°åºåãã³ã³ãã¼ã«ããããã«ï¼NLog ãæ¡ç¨ãããã¨ãããã¾ãã ããã¾ã§ã¯ããã®ã§ãããå人çãªã©ã¤ãã©ãªã®ããã¸ã§ã¯â¦
ç°å¢è¨å® ã¡ã¼ã«éä¿¡ã¾ã§ã®åæè¨å® åè æ¨çåæ»æã¡ã¼ã«ã¯ 2024 å¹´ç¾å¨ããå人åãããä¼æ¥åããã¨ãã«å¯¾çãå¿ è¦ãªç¶æ ã§ãã IPA æ å ±ã»ãã¥ãªãã£10大è å¨ å¤ãã®ä¼æ¥ã§ãã»ãã¥ãªãã£å¯¾çã¯å®æ½æ¸ã§ããã対çã®ã²ã¨ã¤ã¨ãã¦ãã¡ã¼ã«è¨ç·´ãã¨ãããâ¦
C# ã® EventLogEntry ãå©ç¨ãã¦ãã·ã¹ãã æå»ã®å¤æ´ãã®æ å ±ãåå¾ããã¨ãCVE ã®æ¤åºã®å¯è½æ§ãã¨ãã¦ã¡ãã»ã¼ã¸ãåºåããã¾ãã ã¤ãã³ã ID: 1 ã¿ã¹ã¯ã®ã«ãã´ãª: (5) ã½ã¼ã¹: Kernel-General ãããã«ãç¾å¨ã§ã¯ãªã³ã©ã¤ã³è¨å®ãããã©ã«ãã«ãªã£ã¦ãâ¦
ãã¼ã¸ã§ã³ã®åºæ¬çãªç¨éã®ãã¤ã³ã å人çãªæå°è¦ä»¶ã®ãã¼ã¸ã§ã³ç®¡çæ¹æ³ ããã°ã©ã ããã®ãã¼ã¸ã§ã³åç § åè .NET ã§ã¢ããªã±ã¼ã·ã§ã³ãä½æããã¨ããããã°ã©ã ã®ãã¼ã¸ã§ã³ãæ£ãã管çãç¶ãããã¨ãé£ããããã¸ã§ã¯ããçµæ§ããã¨æãã¾ãã.NETâ¦
ç¾å¨ã®ãªã½ã¼ã¹ SnackBar XAML å¤æ´ç¹ ï¼æé©ã§ã¯ãªããã©ï¼åä½ããæå°ãµã³ãã« Prism DI ã使ã£ãä¾ ãã®ã»ãã®ã¢ãããã¼ãã®æ³¨æç¹ åè WPF UI ã®ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ããï¼ãã«ãªãã¾ãããã¢ãããã¼ãã«ä¼´ã£ã¦ãæ§ãã¼ã¸ã§ã³ã«ãªã£ããï¼ã㯠NuGet â¦
XAML View ViewModel Converter ãµã³ãã« åè WPF ã® RadioButton ã® IsChecked ããããã£ã« Enum å¤ã Binding ããããã·ã¼ã³ãçµæ§ããããã¾ããå°å³ã«ä½¿ãã±ã¼ã¹ããããã ãã©ãè¨è¿°æ¹æ³ã«ã²ã¨æéãããã§ãã®å 容ãè¨é²ãã¾ããã ãã®è¨äºã®å 容â¦
GW ã«æ°ãåããã®ã§ Visual Studio Code ã®æ¡å¼µæ©è½ãä½æãã¾ããã ä½æããæ¡å¼µæ©è½ ã©ãããæ©è½ãã¨ããã¨ãweb å°èª¬ãæ¸ãã¨ãã®ããã®ã·ã³ãã«ãªè£å©æ©è½ã追å ãã¾ãã ã¨ãã«ãããªãããã¨ãã«ã¯ã¨ã ãã«åããæ¡å¼µã«ãªã£ã¦ãã¾ãã TypeScript â¦
ãã¸ã¿ã«åºãå ¬éãã¦ããããã¶ã¤ã³ã·ã¹ãã ãã®å 容ãèªåç¨ã«æ´çãã¾ããã ãã¶ã¤ã³ã·ã¹ãã ã¨ã¯ï¼ ï¼æå¼ãï¼ ã«ã©ã¼ã¹ã¿ã¤ã« ãã¶ã¤ã³ãã¼ã¯ã³ ãã¼ã«ã©ã¼ å ±éã«ã©ã¼ æ©è½ã«ã©ã¼ ã¢ã¯ã»ã³ãã«ã©ã¼ ã»ãã³ãã£ãã¯ã«ã©ã¼ ãã¥ã¼ãã©ã«ã«ã©ã¼ ããªããâ¦
ã©ã³ãã³ã°åå ä¸ ããã°ã©ãã³ã° .NET Community Toolkit 8.2! .NET Community Toolkit ã«ã¯ä½ãããã¾ããï¼ (Whatâs in the .NET Community Toolkit? ) Custom attributes [RelayCommand] æ°ãã ObservableProperty ã®å¤æ´ããã¯âï¸ MVVM Toolkit ã® Codâ¦
ã©ã³ãã³ã°åå ä¸ ããã°ã©ãã³ã° ObservableGroup<TKey, TElement> and ReadOnlyObservableGroup<TKey, TElement> Sample ObservableGroup<TKey, TElement> features ObservableGroupedCollection<TKey, TElement> and ReadOnlyObservableGroupedCollection<TKey, TElement> ObservableGroupedCollection<TKey, TElement> features åè Obsâ¦</tkey,></tkey,></tkey,></tkey,></tkey,></tkey,>
ã©ã³ãã³ã°åå ä¸ ããã°ã©ãã³ã° IoC (Inversion of control) ãµã¼ãã¹ã®æ§æã¨è§£æ±º (Configure and resolve services) ã³ã³ã¹ãã©ã¯ã¿ã®æ³¨å ¥ (Constructor injection) Viewmodel 㯠"constructor injection" ã¦ãã©ããªã®ï¼ (What about viewmodels?) åèâ¦
ã©ã³ãã³ã°åå ä¸ããã°ã©ãã³ã° Messenger ã©ã®ããã«æ©è½ããã (How it works) éä¿¡ - éä¿¡ã¨åä¿¡ã¡ãã»ã¼ã¸ (Sending messages - Sending and receiving messages) Sample ãªã¯ã¨ã¹ãã¡ãã»ã¼ã¸ã®ä½¿ç¨ (Request messages - Using request messages) Sampâ¦
ã©ã³ãã³ã°åå ä¸ããã°ã©ãã³ã° RelayCommands ã©ã®ããã«æ©è½ããã (How it works) ICommand ã®åã (Working with ICommand) Sample AsyncCommands ã©ã®ããã«æ©è½ããã (How it works) éåæã³ãã³ãã®åã (Working with asynchronous commands) Samâ¦
ã©ã³ãã³ã°åå ä¸ããã°ã©ãã³ã° ObservableValidator ã©ã®ããã«æ©è½ããã (How it works) åç´ãªä¾ Sample ã«ã¹ã¿ã æ¤è¨¼ã®ã¡ã½ãã (Custom validation methods) ã«ã¹ã¿ã æ¤è¨¼ã®å±æ§ (Custom validation attributes) åè ObservableValidator Observableâ¦
ã©ã³ãã³ã°åå ä¸ããã°ã©ãã³ã° ã©ã®ããã«æ©è½ããã (How it works) åç´ãªä¾ ãµã³ãã« non-observable ã¢ãã«ã®ã©ããã³ã° Task ã®æ±ã (Handling Task properties) Sample åè ObservableObject ã¯ãINotifyPropertyChanged 㨠INotifyPropertyChanginâ¦
ã©ã³ãã³ã°åå ä¸ããã°ã©ãã³ã° RelayCommand å±æ§ How it worksï¼ã©ã®ããã«æ©è½ããã®ãï¼ Command ãã©ã¡ã¼ã¿ã¼ éåæã³ãã³ã (Asynchronous commands) ã³ãã³ãã®æå¹åã¨ç¡å¹å (Enabling and disabling commands) ã³ãã³ãã®åæå®è¡ã®å¦ç (Handliâ¦
ã©ã³ãã³ã°åå ä¸ããã°ã©ãã³ã° ObservableProperty ã®å±æ§ ObservableProperty ã®å±æ§ How it worksï¼ã©ã®ããã«æ©è½ããã®ãï¼ Running code upon changesï¼å¤åã«å¿ããå®è¡ã³ã¼ãï¼ Notifying dependent propertiesï¼ä¾åããããã£ã®éç¥ï¼ Notifying â¦
ã©ã³ãã³ã°åå ä¸ããã°ã©ãã³ã° MVVM Toolkit ã®ãµã³ãã«ããã°ã©ã Introduction to the MVVM Toolkit ã§ãMVVM Toolkit ããã±ã¼ã¸ã¯ãã¤ä½¿ãã¹ããªã®ï¼ MVVM Source generators åè WinUI3 ã§ãå©ç¨ã§ãã MVVM ã¨ãã¦ãMVVM Toolkitãã®å¦ç¿ãã¯ããã¾â¦
ã³ã³ããã¼ã©ã¼ã®æ¡ä»¶ ãã©ãã«ã®å®ä¾ 対å¿ç åè 家㮠WiFi ç°å¢ã EasyMesh ã«ããã¨ãã®æ³¨æç¹ãç¥ã£ãã®ã§ã¡ã¢ãï¼ç¥ã£ã¦ãã人ããããã¨å½ããåã®ãã¨ã ã¨æãã®ã§ããï¼åºæ¬çã«ã¯ãEasyMesh ã¯ï¼åç·ã«ã¤ãï¼ã¤ã® EasyMesh ã®ã¿ãè¨å®ãããã¨ãã¨â¦
JumpList 使ãæ¹ã®ä¾ åè WPF ã®ã¢ããªãä½ã£ã¦ããã¨ãã« JumpList ã使ããã¨æã£ãã¨ãã«ãã·ã¹ãã ãã¬ã¤ã¢ã¤ã³ã³ã®ã¡ãã¥ã¼ã¨ã®ä½¿ãæ¹ã®éããåèªèãã¾ããããã®å 容ãã¡ã¢ã JumpList JumpList 㯠Windows 7 ãã追å ããã windows ã®æ©è½ã§ãã â¦
ToggleButton ã®ãã¶ã¤ã³ ToggleButton ã®ã¤ãã³ã ã³ã¼ãä¸ããã®æ³¨æç¹ ä½è«ï¼æ·»ä»ããããã£ã§å¯¾å¿ã§ãããï¼ åè ã¿ã¤ãã«ã®ã¨ãããWPF ã®ã³ã³ãã¼ã« ToggleButton ã®ä½¿ãæ¹ã«ã¤ãã¦ã®ã¡ã¢ã§ããToggleButton ã¯ãé常ã®ãã¿ã³ã«å ã㦠IsChecked ããâ¦
ãã®è¨äºã¯ãQiita - C# Advent Calendar 2023ãã«åå ãã¦ãã¾ãã C# ã«ã¯ãæéã表ç¾ããã¯ã©ã¹ã« DateTime 㨠DateTimeOffset ãããã¾ãã.NET 8 ãã TimeProvider ã¯ã©ã¹ãæ°ããç¨æããã¾ããã TimeProvider ã¯ã©ã¹ã¯ .NET8 ã®æ°æ©è½ã®ã²ã¨ã¤ãæâ¦