Archives
-
Disposable pattern
Il y a des centaines de façons d'implémenter le pattern Disposable en C#. L'implémentation officielle (ici) est bien, mais un peu confuse avec tous ces booléens. Apr& … more
-
Disposable pattern
There are hundred of ways to implement the Disposable pattern in C#. The official one (here) is nice, but a bit confusing with all those Booleans. After reading some articles, and talking to fellow … more
-
Rx Reactive Framework 101 (Part III)
Dans ce troisième article, je vais parler de la création de vos propres classes observable et observer.
(Il faut d’abord installer Rx Extension v1.0.10621 et ajouter … more
-
Rx Reactive Framework 101 (Part III)
In this third article, I’ll talk about making your own observable and observer classes.
(You need to install Rx Extension v1.0.10621 and add a reference to System.Reactive)
It is quite easy, … more
-
Rx Reactive Framework 101 (Part II)
Enfin, la suite de mon article sur Rx Extension...
Cette fois-ci, je vais parler de Rx et des events. Oui, les events peuvent aussi être la source d'une Observable collection. Par exemple : … more
-
Rx Reactive Framework 101 (Part II)
At last, the follow-up to my Rx Extension article...
This time I’ll talk about Rx and events. Yes, events can be the source of the Observable collection. Check this :
XAML :
<Window x: … more
-
Out and Ref
Une question qui revient régulièrement quand on commence C# est : quelle est la différence entre Ref et Out ?
Tous deux passent le … more
-
Out and Ref
A classic question when starting in C# is : what is the difference between Ref and Out for method parameters? What is the usage?
Both pass the parameter by reference, but there are two subtle … more
