Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
EN
TT
Uploaded by
tat tt
94 views
C#でのrxの使い方をほんの少し理解した
C#でのrxの使い方をほんの少し理解した内容を説明するスライド
Software
◦
Read more
0
Save
Share
Embed
Embed presentation
Download
Download to read offline
1
/ 11
2
/ 11
3
/ 11
4
/ 11
5
/ 11
6
/ 11
7
/ 11
8
/ 11
9
/ 11
10
/ 11
11
/ 11
More Related Content
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
by
OECD Directorate for Financial and Enterprise Affairs
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
by
SocialHRCamp
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
by
Chiara Aliotta
PDF
2024 State of Marketing Report – by Hubspot
by
Marius Sescu
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
by
Search Engine Journal
PDF
Everything You Need To Know About ChatGPT
by
Expeed Software
PDF
Product Design Trends in 2024 | Teenage Engineerings
by
Pixeldarts
PDF
Visual Studioのデザイン時T4テキストテンプレートをほんの少し理解した.pdf
by
tat tt
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
by
OECD Directorate for Financial and Enterprise Affairs
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
by
SocialHRCamp
Storytelling For The Web: Integrate Storytelling in your Design Process
by
Chiara Aliotta
2024 State of Marketing Report – by Hubspot
by
Marius Sescu
2024 Trend Updates: What Really Works In SEO & Content Marketing
by
Search Engine Journal
Everything You Need To Know About ChatGPT
by
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
by
Pixeldarts
Visual Studioのデザイン時T4テキストテンプレートをほんの少し理解した.pdf
by
tat tt
Featured
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
by
ThinkNow
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
by
marketingartwork
PDF
Skeleton Culture Code
by
Skeleton Technologies
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
by
Neil Kimberley
PDF
Content Methodology: A Best Practices Report (Webinar)
by
contently
PPTX
How to Prepare For a Successful Job Search for 2024
by
Albert Qian
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
by
Kurio // The Social Media Age(ncy)
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
by
Search Engine Journal
PDF
5 Public speaking tips from TED - Visualized summary
by
SpeakerHub
PDF
ChatGPT and the Future of Work - Clark Boyd
by
Clark Boyd
PDF
Getting into the tech field. what next
by
Tessa Mero
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
by
Lily Ray
PDF
How to have difficult conversations
by
Rajiv Jayarajah, MAppComm, ACC
PDF
Introduction to Data Science
by
Christy Abraham Joy
PDF
Time Management & Productivity - Best Practices
by
Vit Horky
PDF
The six step guide to practical project management
by
MindGenius
PDF
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
by
RachelPearson36
PDF
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
by
Applitools
PDF
12 Ways to Increase Your Influence at Work
by
GetSmarter
PDF
ChatGPT webinar slides
by
Alireza Esmikhani
How Race, Age and Gender Shape Attitudes Towards Mental Health
by
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
by
marketingartwork
Skeleton Culture Code
by
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
by
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
by
contently
How to Prepare For a Successful Job Search for 2024
by
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
by
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
by
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
by
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
by
Clark Boyd
Getting into the tech field. what next
by
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
by
Lily Ray
How to have difficult conversations
by
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
by
Christy Abraham Joy
Time Management & Productivity - Best Practices
by
Vit Horky
The six step guide to practical project management
by
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
by
RachelPearson36
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
by
Applitools
12 Ways to Increase Your Influence at Work
by
GetSmarter
ChatGPT webinar slides
by
Alireza Esmikhani
C#でのrxの使い方をほんの少し理解した
1.
C#でのRxの使い方を ほんの少し理解した 2022/2/24 tat_tt
2.
自己紹介 名前:tat_tt (たっと) 年齢:26歳(社会人4年目) 業務:C#を使ったデスクトップアプリ開発
3.
目次 • 背景 • 本日お話しすること •
Rx (Reactive Extensions) とは • C#でのRxの使い方 • ①非同期処理 • ②イベントの遅延受信 • ③イベントの合成 • まとめ
4.
背景 難しそうで避けてたRx (Reactive Extensions) だが、そろそろ使えるようにならないと... 普段使っているC#で実際に使ってみるか なるほど。使い方はほんの少しわかった 今日はその知見を共有
5.
本日お話しすること 以下2点が話題 • Rx (Reactive
Extensions) とは • C#でのRxの使い方
6.
Rx (Reactive Extensions)
とは LINQ (コレクションやRDBをC#上で操作するための仕組み)で、 「非同期」や「イベント」を扱えるようにする仕組み 発生した非同期処理やイベントを値とみなして時間軸に乗せる。 その時間軸に乗っかってくる値(非同期処理やイベント)をLINQ によって操作するイメージ。 イベントA 発生 時間 イベントB 発生 非同期処理A 開始 非同期処理A 終了 ・・・ これらを値とみなし操作する (例:イベントA発生の値をリンク式で抽出するなど)
7.
C#でのRxの使い方 以下3つの使い方を紹介。 (まあまあメジャーな使い方のはず...) ・非同期処理 ・イベントの遅延受信 ・イベント合成
8.
C#でのRxの使い方 ~①非同期処理~ 非同期処理を実行。 非同期処理完了後の処理を登録できる点が特徴。 非同期処理完了後にSubscribeで 登録した処理が呼び出される。 コンソールには以下の順で出力 される。 ・Rxによる非同期処理中の処理 ・Rxによる非同期処理完了 ・非同期処理完了後の後処理
9.
C#でのRxの使い方 ~②イベントの遅延受信~ UIに配置したListBoxのSelectionChanged (選択変更イベント) をイベント発生の1秒後に受信。 連続で選択変更イベントが発生した場合のパフォーマンス劣化を 防止可能。 1行目でListBoxのSelectionChangedイベント発行を検出。 2行目で1行目のイベント発行から1秒間待機。 2行目での1秒間待機が完了したという値を受け取るタイミングで 初めて3行目で登録したハンドラを実行。
10.
C#でのRxの使い方 ~③イベントの合成~ UIに配置したGridのマウスドラッグイベントを合成して作成。 以下の3つのイベントを合成して、オリジナルなマウスドラッグ イベントを作成。 ・マウス左ボタン押下イベント ・マウス移動イベント ・マウス左ボタンを離すイベント
11.
まとめ C#でのRxの使い方を共有 • そもそもRxって何? • LINQで非同期とイベントを扱えるようにする仕組み •
どんな使い方ができるの? • 非同期処理 • 非同期完了後の追加処理が簡単に実現可能 • イベントの遅延受信 • パフォーマンス劣化の防止に活用可能 • イベントの合成 • 複数イベントを組み合わせてオリジナルなイベントの作成が可能 使い方がほんの少し分かっただけなので、Rxの概念や仕組みに ついてより知見を増やしていきたい。
Download