dotnetomaniak.pl

dotnetomaniak.pl - Artykuły z tagiem c# Attribute

[DebuggerTypeProxy] is very useful attribute when you have a class that inherits from another class and that one inherits from another one, and some of the classes contain collections of items and hundreds of properties that in fact are not important to you… Strictly speaking, when displaying class’ members while debugging makes you feel like quitting the job. [b]We decide how to display object while debugging[/b] Exactly! You can set a proxy that will inform debugger how you want a type to be displayed...

C# attributes you should know #1: [DebuggerTypeProxy] – A Girl Among Geeks

Inne 8 godzin, 28 minut temu AGirlAmongGeeks 153 rozwiń

C# Attributes are very popular for ‘decorating’ assembly with some additional data, usually influencing on the application’s behavior or the way data are managed. You probably already used at least some of them – Obsolete, Serializable, Required, Display, MaxLength, RegularExpression, WebMethod are only a few of hundreds available in .Net world. What is more, you can write your own custom attribute and use it like a build-in one. I will write more about this in the next post. Right now, let’s focus o...

Dziel się z innymi:
C# Attributes – introduction – A Girl Among Geeks

Sztuka programowania 63 dni, 8 godzin, 59 minut temu AGirlAmongGeeks 161 rozwiń

Szkolenia SecurITum
Dodaj nowe Zobacz wszystkie

Najaktywniejsi

1

macko (32 816,53)

2

Paweł Łukasik (32 524,53)

3

pzielinski (27 178,29)

4

gordon_shumway (21 178,87)

5

paduda (20 336,33)

6

psz750 (13 018,14)

7

rroszczyk (10 386,66)

8

Damian (9 278,12)

9

danielplawgo (7 235,99)

10

arek (6 807,95)

11

burczu (6 214,22)

12

PaSkol (5 393,84)

13

lukaszgasior (4 097,38)

14

jj09 (3 763,06)

15

spetz (3 418,34)

16

jedmac (3 318,39)

17

http://jakub-flor... (3 224,66)

18

dpawlukiewicz (3 155,33)

19

CaMeL (2 954,87)

20

AdrianBystrek (2 770,66)