Warning: Trying to access array offset on value of type bool in /home/degambe/domains/degambe.pl/public_html/s/wp-content/themes/Divi/includes/builder/functions.php on line 2592

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: Cannot modify header information - headers already sent by (output started at /home/degambe/domains/degambe.pl/public_html/s/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /home/degambe/domains/degambe.pl/public_html/s/wp-includes/feed-rss2.php on line 8
.NET Archives - Sebastian De Gambe - dev passion http://s.degambe.pl/Programming/net-pl/ .NET; C#; C++; WindowsPhone; WindowsStore; WPF Mon, 29 Jul 2019 11:31:41 +0000 pl-PL hourly 1 http://s.degambe.pl/wp-content/uploads/2014/11/favicon.ico .NET Archives - Sebastian De Gambe - dev passion http://s.degambe.pl/Programming/net-pl/ 32 32 74253822 Moq w Universal Apps? Zapomnij! http://s.degambe.pl/moq-w-universal-apps-zapomnij/?utm_source=rss&utm_medium=rss&utm_campaign=moq-w-universal-apps-zapomnij http://s.degambe.pl/moq-w-universal-apps-zapomnij/#comments Tue, 17 Nov 2015 20:32:16 +0000 http://s.degambe.pl/?p=388 The post Moq w Universal Apps? Zapomnij! appeared first on Sebastian De Gambe - dev passion.

]]>
http://s.degambe.pl/moq-w-universal-apps-zapomnij/feed/ 4 388
Blokowanie kontrolek przed ich edycją http://s.degambe.pl/blokowanie-kontrolek-przed-ich-edycja/?utm_source=rss&utm_medium=rss&utm_campaign=blokowanie-kontrolek-przed-ich-edycja Wed, 14 Oct 2015 20:04:42 +0000 http://s.degambe.pl/?p=349 Wyobraźmy sobie scenariusz…. Aplikacja spięta z bazą danych, na której pracuje wiele osób, (dzień jak co dzień 😀 kto takiego czegoś nie robił? :D) modyfikować dany rekord, wpis może tylko jedna osoba na raz. Przed rozpoczęciem wprowadzania danych leci do bazy zapytanie czy rekord można zablokować. Jeżeli tak to taki rekord w bazie zostaje zablokowany. […]

The post Blokowanie kontrolek przed ich edycją appeared first on Sebastian De Gambe - dev passion.

]]>
349
Wzorzec singleton i Func<T> http://s.degambe.pl/wzorzec-singleton-i-func/?utm_source=rss&utm_medium=rss&utm_campaign=wzorzec-singleton-i-func Sun, 05 Apr 2015 17:34:22 +0000 http://s.degambe.pl/?p=323 Jakiś czas temu przyglądałem się na kod, który wykorzystywał delegata Func. Pomyślałem sobie, że przecież coś takiego można wykorzystać dla wzorca singleton. Szybka implementacja, sprawdzenie i… działa 😀 Istota jest naprawdę bardzo prosta i praktycznie taka sama jak zaprezentował to Jerzy Piechowiak ale zamiast statycznego konstruktora klasy użyłem delegata 🙂 [crayon-6ab2bff06b6c6470870856/] Wywołanie takiego rodzaju singleton […]

The post Wzorzec singleton i Func<T> appeared first on Sebastian De Gambe - dev passion.

]]>
323
Wdrożenia produkcyjne i samopoczucie http://s.degambe.pl/wdrozenia-produkcyjne-i-samopoczucie/?utm_source=rss&utm_medium=rss&utm_campaign=wdrozenia-produkcyjne-i-samopoczucie Sun, 05 Apr 2015 17:03:36 +0000 http://s.degambe.pl/?p=320 Przez ostatnie kilka tygodni nie miałem czasu na nic… Do domu przychodziłem po to aby usiąść na chwilę w fotelu, porozmawiać z Anią, odpocząć, zjeść, może coś zobaczyć w szklanym oknie i udać się na spoczynek… Stan ten nazywam wypaleniem. Ale nie wypaleniem zawodowym a raczej wypaleniem organizmu. 2 lata! pracowałem razem z zespołem nad aplikacją, którą […]

The post Wdrożenia produkcyjne i samopoczucie appeared first on Sebastian De Gambe - dev passion.

]]>
320
Jak obsłużyć ICommand przycisku z UserControl w widoku http://s.degambe.pl/jak-obsluzyc-icommand-przycisku-z-usercontrol-w-widoku/?utm_source=rss&utm_medium=rss&utm_campaign=jak-obsluzyc-icommand-przycisku-z-usercontrol-w-widoku Sun, 08 Feb 2015 16:18:24 +0000 http://s.degambe.pl/?p=291 Ostatnio miałem niemiłą zagwozdkę. Zostałem poproszony o napisanie własnej implementacji kontrolki, która ma zastąpić PageControl devexowy. No przecież to proste… 4 przyciski, jakieś 2 text blocki i tyle. Wszystko spinam binduję do odpowiedniego ViewModelu i działa. No nie 😀 Nie tak do końca… Zaciąłem się na implementacji ICommand z przycisku, który jest w kontrolce i […]

The post Jak obsłużyć ICommand przycisku z UserControl w widoku appeared first on Sebastian De Gambe - dev passion.

]]>
291
Jak dodać MVVM Light do Universal Apps http://s.degambe.pl/jak-dodac-mvvm-light-do-universal-apps/?utm_source=rss&utm_medium=rss&utm_campaign=jak-dodac-mvvm-light-do-universal-apps Sat, 10 Jan 2015 16:59:56 +0000 http://s.degambe.pl/?p=279 Ze względu na „przepiękną” pogodę jaką mamy za oknem i brak jakichkolwiek ważnych rzeczy do zrobienia na dzisiaj, postanowiłem, że zacznę w końcu pracę nad aplikacją dla Windows 8.1 i Windows Phone 8.1, którą już dawno temu miałem zamiar napisać ale jak zwykle to u mnie bywa… Odkładam na później takie rzeczy 😐 Wcześniej pisałem […]

The post Jak dodać MVVM Light do Universal Apps appeared first on Sebastian De Gambe - dev passion.

]]>
279
CallStack i External Code http://s.degambe.pl/callstack-i-external-code/?utm_source=rss&utm_medium=rss&utm_campaign=callstack-i-external-code Wed, 07 Jan 2015 19:25:36 +0000 http://s.degambe.pl/?p=271 Zapewne wielu z Was podczas debugowania kodu i szukania błędów natrafiło na to, że call stack pokazywał jedynie informację o tym, że wywołanie metody albo zmiana jakiejś właściwości została wykonana przez…. External Code. Poniżej znajdziecie rozwiązanie, które pomoże w głębszej analizie kodu i pozwoli pokazać coś więcej niż nic nie znaczące External Code 🙂  

The post CallStack i External Code appeared first on Sebastian De Gambe - dev passion.

]]>
271
ConcurrentQueue<T> i ConcurrentStack<T> http://s.degambe.pl/concurrentqueuet-concurrentstackt/?utm_source=rss&utm_medium=rss&utm_campaign=concurrentqueuet-concurrentstackt Sun, 28 Dec 2014 14:06:48 +0000 http://s.degambe.pl/?p=214 Nadszedł czas na kolejną porcję przykładów z wykorzystaniem ThreadSafe collection. W tym poscie po krótce opisze do czego i w jaki sposób używać kolekcji ConcurrentStack<T> oraz ConcurrentQueue<T>. Kolelekcja ConcurrentStack<T> to typowa kolekcja LIFO (Last In First Out), ConcurrentQueue<T> jak się domyślacie to FIFO (Firt In Fist Out). Jedyną zależnością pomiędzy kolekcjami Stack<T> i Queue<T> porównując je do opisywanych […]

The post ConcurrentQueue<T> i ConcurrentStack<T> appeared first on Sebastian De Gambe - dev passion.

]]>
214
Kompilacja WPF i XAML http://s.degambe.pl/kompilacja-wpf-i-xaml/?utm_source=rss&utm_medium=rss&utm_campaign=kompilacja-wpf-i-xaml Thu, 11 Dec 2014 20:44:34 +0000 http://s.degambe.pl/?p=210 Ostatnio spotkałem się z pytaniem: „Jak kompiluję projekt to VisualStudio pyta się czy zmienić plik moja_klasa.g.cs. Wszędzie go szukałem ale nie znalazłem. Co to &#@!* jest?” Szybko więc odpowiadam, ale zacznijmy od małego wstępu 🙂 Pisząc aplikacje, wykorzystując WPF tworzymy między innymi widoki, które definiuje XAML. Tworząc nowe okno, UserControl czy bądź cokolwiek innego VisualStudio stworzy nam […]

The post Kompilacja WPF i XAML appeared first on Sebastian De Gambe - dev passion.

]]>
210
BlockingCollection <T> http://s.degambe.pl/blockingcollection/?utm_source=rss&utm_medium=rss&utm_campaign=blockingcollection Sun, 23 Nov 2014 14:20:48 +0000 http://s.degambe.pl/?p=169 Jak już pisałem we wcześniejszym poście .NET 4 dał nam możliwość wykorzystania kolekcji Thread-Safe. Jedną z nich, o której chcę dzisiaj napisać jest BlockingCollection Kolekcja spełnia kilka zadań. Według mnie najważniejsze to: implementacja wzorca Producer – Consumer – o tym jeszcze na pewno napiszę 🙂 jednoczesne dodawanie i usuwanie elementów z wielu wątków jednocześnie generyczna anulowanie […]

The post BlockingCollection <T> appeared first on Sebastian De Gambe - dev passion.

]]>
169