The Active Network
ActiveMac Anonymous | Create a User | Reviews | News | Forums | Advertise  
 

  *  

  Properites vs. Methods...
Time: 19:17 EST/00:17 GMT | News Source: GotDotNet | Posted By: Jonathan Tigner

It is an age old debate… we have some fairly good guidelines, but they certainly leave room for improvement. Today at a WinFX API review (for some cool stuff that didn’t make it out in the PDC drop) we had the debate again… Today the APIs look like:

public DateTime GetDisconnectTime();
public TimeSpan GetIdleTime();
public DateTime GetLogonTime();
public SessionStates GetSessionStates();
public WindowsIdentity GetUserInformation();

My knee jerk is to make these properties…

public DateTime DisconnectTime {get; }
public TimeSpan IdleTime {get; }
public DateTime LogonTime {get; }
public SessionStates SessionStates {get; }
public WindowsIdentity UserInformation {get; }

the problem… well, the calls *could* be cross machine…. My worry is if they are cross machine making these guys properties will lead people to write inefficient code (and therefore bring down the wrath of Rico)…

So, my question for you… Based on this very limited data I have given you, what should we do here? Go for properties and hope for the best, or error on the safe side and use methods, something else?

Write Comment
Return to News

  Displaying 326 through 336 of 336
Prev | First
  The time now is 9:27:48 AM ET.
Any comment problems? E-mail us
#326 By 4240821 (46.3.6.37) at 12/7/2024 1:21:59 AM
https://telegra.ph/Face-Smothering-Leaks-HellyValentine-Bed-Sex-ManyVids-01-26
https://telegra.ph/TayAnon-Bottomless-Patreon-Leak-12-13
http://activewin.com/mac/comments.asp?ThreadIndex=15678
https://www.google.com/maps/d/edit?mid=1KvHMycDPb75myu5GtB7BWRjoPrwVidI
http://activewin.com/mac/comments.asp?ThreadIndex=24533
https://telegra.ph/DaintyWilder-Nipple-Onlyfans-Leak-01-01
https://telegra.ph/Amouranth-Ass-To-Mouth-Patreon-Leak-10-31
https://168.exodirectory.com/index.php?topic=196882.new
https://telegra.ph/DaintyWilder-Nipple-Onlyfans-Leak-01-04-3
http://activewin.com/mac/comments.asp?ThreadIndex=80620

#327 By 4240821 (136.0.102.21) at 12/7/2024 1:03:34 PM
https://www.myvidster.com/video/473879241/alice_may_1_Boosty_Leaked_Kendal_Kenzie
http://activewin.com/mac/comments.asp?ThreadIndex=84812
https://telegra.ph/IvanaKnoll-knolldoll-Hentai-Clips4sale-Leak-11-30
https://telegra.ph/belledelphine-Fast-ManyVids-Leaked-01-06
https://telegra.ph/Anal-Play-Patreon-Pantyhose-Leaks-Helly-Valentine-01-31
https://telegra.ph/Selti-Feet-Fetish-Clips4sale-Leak-12-12-3
https://telegra.ph/AliceDelish-Kinky-Boosty-Leaked-01-12
http://activewin.com/mac/comments.asp?ThreadIndex=27389
https://telegra.ph/Jodi-Hillenburg---Billings--Montana--USA-10-25
https://forms.yandex.com/u/63491069e3e2920ce0745fa7/

#328 By 4240821 (172.120.198.142) at 12/8/2024 6:26:52 AM
https://www.google.ru/amp/s/nsfw.su/get/a207/a207kvsipwsfcllbvpc.php
https://www.google.pl/amp/s/sexonly.top/get/a83/a83hwufmrzbtzrvbov.php
https://www.google.pl/amp/s/nsfw.su/get/a15/a15wzfwdhyjcezovzi.php
https://www.google.sc/amp/s/sluts.su/get/a162/a162tegsqlvluqlppsj.php
https://www.google.ro/amp/s/lustful.su/get/a241/a241yxaakpdkjivogqv.php
https://www.google.pt/amp/s/nsfw.su/get/a42/a42mwssejitphtpudq.php
https://www.google.sc/amp/s/lustful.su/get/a51/a51olzybxewqxzoczr.php
https://www.google.ro/amp/s/nsfw.su/get/a45/a45quoylbxxufitbkg.php
https://www.google.pn/amp/s/sexonly.su/get/a18/a18euqghiiwkwafbxy.php
https://www.google.ps/amp/s/sexonly.top/get/a78/a78rrjabihkcveslfv.php

#329 By 4240821 (23.230.77.30) at 12/8/2024 3:58:10 PM
https://telegra.ph/Disharmonica-VR-Fansly-Leak-Underwear-01-28
https://telegra.ph/belledelphine-Shorts-Boosty-Leaked-01-06
https://telegra.ph/AngelaWhite-Nylon-Boosty-Leak-12-18
https://telegra.ph/AngelaWhite-Latex-Patreon-Leaked-12-19
https://telegra.ph/AliceDelish-Threesome-Patreon-Leaked-01-12
https://www.google.com/maps/d/edit?mid=10lHANlSN6cdXfztWta2vEmu57hLfENs
https://telegra.ph/Kittykat2828-Boobs-Onlyfans-Leaked-12-20
http://activewin.com/mac/comments.asp?ThreadIndex=3841
http://activewin.com/mac/comments.asp?ThreadIndex=67394
https://www.myvidster.com/video/347904656/Brie6989_Patreon_Leaked_Icequeen31

#330 By 4240821 (176.100.131.189) at 12/9/2024 12:13:48 AM
https://www.google.cf/amp/s/lustful.su/get/a15/a15glxdzmltmpmtdfz.php
https://www.google.cv/amp/s/sexonly.top/get/a242/a242mioxmqonfnxzahm.php
https://www.google.cl/amp/s/sluts.su/get/a132/a132dzjdkvnnzherxub.php
https://www.google.ch/amp/s/sexonly.su/get/a295/a295hagwkojfyigsogl.php
https://www.google.cc/amp/s/sexonly.su/get/a262/a262ymwxfxxcoquypgq.php
https://www.google.cl/amp/s/nsfw.su/get/a187/a187blxkoepgeewybsv.php
https://www.google.cg/amp/s/sexonly.top/get/a162/a162lgqbnzklgugahtk.php
https://www.google.cm/amp/s/sexonly.su/get/a253/a253mguyeywnubqsabq.php
https://www.google.cl/amp/s/nsfw.su/get/a60/a60lfmvbetheitosbn.php
https://www.google.cg/amp/s/sexonly.top/get/a150/a150hmayhlrzbmfqdcl.php

#331 By 4240821 (136.0.102.21) at 12/9/2024 10:00:53 AM
https://www.google.rs/amp/s/sluts.su/get/a128/a128zxesfzahdqtwbhg.php
https://www.google.rw/amp/s/lustful.su/get/a142/a142devxufwyhwtusmz.php
https://www.google.sc/amp/s/lustful.su/get/a112/a112lgrhnillyytqcce.php
https://www.google.pn/amp/s/sluts.su/get/a105/a105yixcldobfswfaga.php
https://www.google.rw/amp/s/sexonly.top/get/a84/a84cedqwivnwruxndu.php
https://www.google.pn/amp/s/nsfw.su/get/a244/a244mggsdfxuiwytlyj.php
https://www.google.sc/amp/s/nsfw.su/get/a143/a143udycfrsfgvhbwzt.php
https://www.google.sc/amp/s/sexonly.top/get/a271/a271tnejfozhtcfgpwo.php
https://www.google.ps/amp/s/lustful.su/get/a7/a7sjjmvuiilgdcuap.php
https://www.google.ru/amp/s/sexonly.top/get/a73/a73idjprnqbususzqw.php

#332 By 4240821 (31.222.249.216) at 12/9/2024 4:33:26 PM
https://telegra.ph/Christy-Young---Jackson--Mississippi--USA-12-29
https://telegra.ph/AliceDelish-Fitness-Boosty-Leak-01-15
https://telegra.ph/Makoshake-Body-Clips4sale-Leaked-12-07
http://activewin.com/mac/comments.asp?ThreadIndex=75722
https://www.quora.com/profile/BetsyBerry89/Serena-Grandi-Loverbigbutts-Tasha-Knight-MissyLee18-Playmate2020-SunnyMegatron-Tya-Tymara-lana_pretty_pill
https://telegra.ph/ManyVids-Leaked-Tiny-Helly-Valentine-Quarantine-01-28
https://www.google.com/maps/d/edit?mid=14-FLux_h937QRlADZbS_VQtZZhmCEsM
http://activewin.com/mac/comments.asp?ThreadIndex=73550
https://telegra.ph/elevate00freaks-Clips4sale-Leak-10-23
https://www.myvidster.com/video/343491175/Jane_aka_BestTits_Boosty_Leak_ElectricXCircus

#333 By 4240821 (176.100.131.189) at 12/9/2024 6:34:02 PM
https://blogool.com/article/mizdabbarella-patreon-leaks-beth-envy
https://blogool.com/article/nynkacy-clips4sale-leaks-alice105
https://blogool.com/article/yasmmine-fansly-leak-naturallynatty
https://blogool.com/article/fineassbrosia-onlyfans-leaks-msmama
https://blogool.com/article/foreverneveryours-manyvids-leak-sklavin42
https://blogool.com/article/coupleofxxx-patreon-leaks-melomaxmtl69
https://blogool.com/article/babydanna-patreon-leaks-ali-love
https://blogool.com/article/delilah-fox-clips4sale-leak-lisadream69
https://blogool.com/article/aquajordan-clips4sale-leak-diamondmeow
https://blogool.com/article/leanam2434-onlyfans-leaked-tinafireoficial

#334 By 4240821 (23.230.77.30) at 12/9/2024 11:46:50 PM
https://www.google.ci/amp/s/nsfw.su/get/a87/a87wwsnqlpbfqnigeg.php
https://www.google.cc/amp/s/nsfw.su/get/a214/a214dfxbxafvhuvmwmh.php
https://www.google.cf/amp/s/sluts.su/get/a281/a281hokqikxoszlwilk.php
https://www.google.ch/amp/s/nsfw.su/get/a62/a62lkxzyipjsrmxfoy.php
https://www.google.cd/amp/s/lustful.su/get/a214/a214ffpfraetxlbslci.php
https://www.google.ci/amp/s/nsfw.su/get/a113/a113sxbqkeliqvfvqgm.php
https://www.google.cm/amp/s/nsfw.su/get/a43/a43tgdrefimtrrsfav.php
https://www.google.cd/amp/s/sluts.su/get/a219/a219oylukjfmhsswgcc.php
https://www.google.cd/amp/s/sluts.su/get/a158/a158lbnksrneiifzyyd.php
https://www.google.cat/amp/s/sexonly.su/get/a225/a225wdfifwqrpjontnh.php

#335 By 4240821 (138.124.40.120) at 12/10/2024 9:22:08 PM
https://blogool.com/article/msmadyson-onlyfans-leaked-alexiilove
https://blogool.com/article/naughtybabygirl-manyvids-leaks-samanthastjames
https://blogool.com/article/crystalsins1-fansly-leaks-princessmollyxo
https://blogool.com/article/raynetheslut-fansly-leaks-roserosse2388
https://blogool.com/article/refillmeasyouwant-fansly-leak-plushbelly
https://blogool.com/article/sweetmink18-clips4sale-leaked-zoeleolov
https://blogool.com/article/foxyket-manyvids-leaks-bailey-kline
https://blogool.com/article/kappanude-manyvids-leaks-lyolevie
https://blogool.com/article/agusbaby-onlyfans-leaks-morochalatinargent
https://blogool.com/article/princessjessiemae-onlyfans-leaks-scottishbbw4u

#336 By 4240821 (172.120.204.14) at 12/11/2024 6:24:15 AM
https://www.google.lu/amp/s/sexonly.top/get/a207/a207hsrhqnadwaljjrg.php
https://www.google.mu/amp/s/sexonly.top/get/a299/a299akidrhzpnjtaufr.php
https://www.google.mg/amp/s/lustful.su/get/a151/a151mrousqomvtqaomp.php
https://www.google.ms/amp/s/nsfw.su/get/a166/a166unufxepdunvivpj.php
https://www.google.md/amp/s/sexonly.top/get/a292/a292bpcpirebczxdnpv.php
https://www.google.ms/amp/s/nsfw.su/get/a9/a9fmcbocfuuiwixhs.php
https://www.google.lu/amp/s/sexonly.su/get/a70/a70rbudiynpjowtnpf.php
https://www.google.lu/amp/s/sluts.su/get/a132/a132fadvliinoymzuqv.php
https://www.google.md/amp/s/nsfw.su/get/a266/a266ubalavjchrchmbv.php
https://www.google.mk/amp/s/sexonly.su/get/a86/a86bphmwwdwjyyvfpb.php

Write Comment
Return to News
  Displaying 326 through 336 of 336
Prev | First
  The time now is 9:27:48 AM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *