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 276 through 300 of 304
Prev | First | Next
  The time now is 11:58:18 AM ET.
Any comment problems? E-mail us
#276 By 4240821 (45.88.102.114) at 11/17/2024 4:55:38 PM
https://justpaste.me/C8aQ
https://justpaste.me/CUOs4
https://justpaste.me/Bfbv3
https://justpaste.me/CZ2L
https://justpaste.me/Bdqk3
https://justpaste.me/C2Zc1
https://justpaste.me/BjiY3
https://justpaste.me/BpmD3
https://justpaste.me/BeYX5
https://justpaste.me/CJWD5

#277 By 4240821 (166.1.149.158) at 11/18/2024 12:48:25 AM
https://www.google.tg/amp/s/sluts.su/get/a220/a220saxvtfeqbxizcxz.php
https://www.google.tk/amp/s/lustful.su/get/a4/a4hwxvhrmaxxdpubq.php
https://www.google.st/amp/s/sexonly.su/get/a106/a106tlibiyswpaaptlw.php
https://www.google.sn/amp/s/lustful.su/get/a250/a250ofntummaynpcunv.php
https://www.google.so/amp/s/sluts.su/get/a6/a6jihhzxzwfzlbwsd.php
https://www.google.so/amp/s/nsfw.su/get/a293/a293wrzvhlntfjaiolt.php
https://www.google.so/amp/s/lustful.su/get/a183/a183zvajuksdpssamhs.php
https://www.google.so/amp/s/sexonly.top/get/a263/a263dnytirrebiciqxu.php
https://www.google.so/amp/s/sexonly.su/get/a275/a275kjfztibvulfmudv.php
https://www.google.sk/amp/s/sluts.su/get/a115/a115egozbaibeeedksm.php

#278 By 4240821 (77.246.244.253) at 11/19/2024 12:15:49 AM
https://www.google.bj/amp/s/sluts.su/get/a90/a90qqxcdbamvuwmbyv.php
https://www.google.bj/amp/s/sexonly.top/get/a129/a129dmbaeiwuqimqlqn.php
https://www.google.bg/amp/s/sexonly.top/get/a30/a30ovgnezwairtjfpp.php
https://www.google.bi/amp/s/nsfw.su/get/a25/a25duratfhexvoahhh.php
https://www.google.bj/amp/s/sexonly.top/get/a53/a53fsbjcbtgserjxma.php
https://www.google.be/amp/s/sexonly.su/get/a56/a56jwcoqfespfabjzo.php
https://www.google.bj/amp/s/sexonly.su/get/a132/a132lafwmscmgvnvfig.php
https://www.google.ca/amp/s/nsfw.su/get/a296/a296arkvducfyfxmgql.php
https://www.google.ba/amp/s/sexonly.su/get/a269/a269vhkhqlelmzknnfb.php
https://www.google.bf/amp/s/nsfw.su/get/a197/a197tlcsydzzsfnozeg.php

#279 By 4240821 (77.246.244.253) at 11/19/2024 6:55:16 AM
https://justpaste.me/CVtq5
https://justpaste.me/BuEW2
https://justpaste.me/CHBI2
https://justpaste.me/BdKG5
https://justpaste.me/Bav21
https://justpaste.me/CTLF
https://justpaste.me/Bi1D
https://justpaste.me/CbMw1
https://justpaste.me/Bzd42
https://justpaste.me/CVjO

#280 By 4240821 (80.73.244.53) at 11/19/2024 1:58:18 PM
https://www.google.ch/amp/s/sluts.su/get/a135/a135hodbgtsfviakyzr.php
https://www.google.cg/amp/s/sexonly.top/get/a1/a1qsiirrzbrkwsais.php
https://www.google.cl/amp/s/lustful.su/get/a221/a221grgmhtctsffocxj.php
https://www.google.cd/amp/s/sluts.su/get/a221/a221ctofhsnapwzwiof.php
https://www.google.cl/amp/s/sexonly.su/get/a3/a3jobcfuprdlemstv.php
https://www.google.cat/amp/s/sexonly.su/get/a140/a140mozcubtnoeqdqxx.php
https://www.google.cg/amp/s/nsfw.su/get/a11/a11rakmgvmzryfsita.php
https://www.google.ch/amp/s/sexonly.su/get/a21/a21nyvohqkwbmozykk.php
https://www.google.cd/amp/s/sexonly.top/get/a92/a92lkzvqqjhqekckis.php
https://www.google.cl/amp/s/sexonly.su/get/a141/a141gjtoworjmhetczg.php

#281 By 4240821 (77.83.4.69) at 11/20/2024 6:24:58 AM
https://www.google.dm/amp/s/nsfw.su/get/a140/a140hxmztfqfhfzaiby.php
https://www.google.ee/amp/s/lustful.su/get/a270/a270etshfymeheuhfui.php
https://www.google.ee/amp/s/sexonly.su/get/a178/a178dxkworitmxwncog.php
https://www.google.dm/amp/s/sexonly.top/get/a137/a137bufuqzvulfcictg.php
https://www.google.cz/amp/s/sexonly.su/get/a238/a238hbdvmyutvjohqzx.php
https://www.google.es/amp/s/sexonly.top/get/a125/a125buuwiidhrqcdgcg.php
https://www.google.dj/amp/s/nsfw.su/get/a78/a78sgdjvajtzgsgvmt.php
https://www.google.ec/amp/s/lustful.su/get/a226/a226wjcvjohvdlekuqe.php
https://www.google.dm/amp/s/sexonly.top/get/a140/a140iswstutfmodyavp.php
https://www.google.dj/amp/s/nsfw.su/get/a152/a152ysjvdqqphmkfuqu.php

#282 By 4240821 (166.1.149.158) at 11/20/2024 11:32:57 AM
https://justpaste.me/C8lF1
https://justpaste.me/C6Dh
https://justpaste.me/CfHJ4
https://justpaste.me/CAVg3
https://justpaste.me/C6jm
https://justpaste.me/CBir2
https://justpaste.me/Bd9u4
https://justpaste.me/CB2G1
https://justpaste.me/Brtw2
https://justpaste.me/Bzd42

#283 By 4240821 (45.88.102.114) at 11/20/2024 12:33:39 PM
https://www.google.nu/amp/s/sluts.su/get/a220/a220lmffgglnaiqqqsb.php
https://www.google.nl/amp/s/lustful.su/get/a292/a292iuyurqbbqvpdayq.php
https://www.google.nl/amp/s/sexonly.top/get/a293/a293mvibzgdfowupjfk.php
https://www.google.ng/amp/s/sluts.su/get/a34/a34nwdsxeoipdxksoq.php
https://www.google.mv/amp/s/sexonly.su/get/a79/a79kvcrdglvffbulup.php
https://www.google.pk/amp/s/sluts.su/get/a21/a21niqlwkngyvsimdz.php
https://www.google.nl/amp/s/nsfw.su/get/a132/a132spkjhdzktenkoot.php
https://www.google.nu/amp/s/lustful.su/get/a287/a287xkctfqjbkwdpqfz.php
https://www.google.mx/amp/s/sexonly.su/get/a182/a182mhplgoljxpspsbr.php
https://www.google.mv/amp/s/sexonly.top/get/a13/a13njrnwkahxrgrudv.php

#284 By 4240821 (62.76.153.72) at 11/20/2024 8:51:26 PM
https://www.google.so/amp/s/sluts.su/get/a193/a193mjteaunvtgzczam.php
https://www.google.td/amp/s/sexonly.su/get/a120/a120ilssrwogwlcbovu.php
https://www.google.so/amp/s/sexonly.su/get/a92/a92ygjyxvovttbdlha.php
https://www.google.sk/amp/s/sexonly.su/get/a63/a63vsiqkzaytyhhyiu.php
https://www.google.sh/amp/s/sexonly.su/get/a38/a38jyjlrnfnbtynxnt.php
https://www.google.tg/amp/s/sexonly.top/get/a122/a122jypmeofwxznaghi.php
https://www.google.tk/amp/s/sexonly.top/get/a95/a95jnsshdhjdqkutad.php
https://www.google.tk/amp/s/sluts.su/get/a154/a154btfhygpjtnjhwgp.php
https://www.google.sh/amp/s/sluts.su/get/a162/a162bvubfqyvwghoopb.php
https://www.google.st/amp/s/nsfw.su/get/a255/a255wqssgtkfugoypls.php

#285 By 4240821 (77.246.244.253) at 11/21/2024 5:19:57 AM
https://justpaste.me/CJAa
https://justpaste.me/BjiY3
https://justpaste.me/BsVj3
https://justpaste.me/CFRU2
https://justpaste.me/C5rF
https://justpaste.me/BoXc1
https://justpaste.me/CTA32
https://justpaste.me/Byjv4
https://justpaste.me/Bkvx
https://justpaste.me/BagV6

#286 By 4240821 (80.73.244.53) at 11/21/2024 5:24:25 AM
https://www.google.bj/amp/s/sexonly.su/get/a80/a80udrdowrkjpyekdz.php
https://www.google.by/amp/s/sexonly.top/get/a20/a20bqplouazrbkkpgx.php
https://www.google.bi/amp/s/sluts.su/get/a60/a60wiaewwafulbmqfe.php
https://www.google.bi/amp/s/nsfw.su/get/a1/a1usbmjubynrwdlwl.php
https://www.google.bj/amp/s/sluts.su/get/a64/a64lulgzyvfpgclvbb.php
https://www.google.az/amp/s/nsfw.su/get/a38/a38abaczxzyvqctcia.php
https://www.google.ba/amp/s/sexonly.su/get/a64/a64niabdhcabpkoxxq.php
https://www.google.ca/amp/s/lustful.su/get/a76/a76aokmfpmlrkyjmzb.php
https://www.google.be/amp/s/nsfw.su/get/a107/a107gcxnzmtfdixzgkc.php
https://www.google.bj/amp/s/sluts.su/get/a234/a234ncllphojqmwasgc.php

#287 By 4240821 (80.73.244.53) at 11/21/2024 1:09:14 PM
https://www.google.cat/amp/s/nsfw.su/get/a143/a143sugionsfhgeckgq.php
https://www.google.cat/amp/s/sexonly.top/get/a62/a62eogkmbcbqctychv.php
https://www.google.ch/amp/s/lustful.su/get/a120/a120yhjbdlmdjluotmn.php
https://www.google.cg/amp/s/sexonly.su/get/a161/a161wnllyjbdsixjylt.php
https://www.google.ci/amp/s/sexonly.su/get/a187/a187robvxzdrdwdyhem.php
https://www.google.cf/amp/s/sluts.su/get/a106/a106xznpostjetsgibh.php
https://www.google.cd/amp/s/sexonly.top/get/a187/a187sgpquhyfxurnzut.php
https://www.google.cl/amp/s/sexonly.su/get/a71/a71qeotxtrmppphrkk.php
https://www.google.cd/amp/s/nsfw.su/get/a53/a53plbglozymtxegmq.php
https://www.google.cl/amp/s/nsfw.su/get/a226/a226rumsnixjypoqdmm.php

#288 By 4240821 (77.246.244.253) at 11/21/2024 6:59:59 PM
https://justpaste.me/BlRN2
https://justpaste.me/Bcd7
https://justpaste.me/CJLC3
https://justpaste.me/CUEc
https://justpaste.me/CfS9
https://justpaste.me/CAKV2
https://justpaste.me/CAVg3
https://justpaste.me/CV3H
https://justpaste.me/CMwk3
https://justpaste.me/BxDC8

#289 By 4240821 (77.246.244.253) at 11/22/2024 10:39:31 AM
https://www.google.es/amp/s/nsfw.su/get/a46/a46gydkkmlazjpjnqe.php
https://www.google.ec/amp/s/sexonly.su/get/a213/a213vatbgprynndxvja.php
https://www.google.ee/amp/s/sluts.su/get/a159/a159gdlebavsgzgpuoj.php
https://www.google.ee/amp/s/sluts.su/get/a143/a143papiwfndxgdjwoo.php
https://www.google.cz/amp/s/sexonly.su/get/a166/a166illmxdmlyhhusau.php
https://www.google.dz/amp/s/nsfw.su/get/a156/a156ezeygjdotzixtqs.php
https://www.google.es/amp/s/nsfw.su/get/a11/a11yvwfteafhictcea.php
https://www.google.es/amp/s/sluts.su/get/a195/a195qezsuaglahqpetg.php
https://www.google.ec/amp/s/sexonly.top/get/a191/a191uwfrlvmpwqcswbw.php
https://www.google.dm/amp/s/sexonly.su/get/a47/a47hnnvrikpgmmadyd.php

#290 By 4240821 (166.1.149.158) at 11/22/2024 2:32:22 PM
https://www.google.gm/amp/s/sluts.su/get/a113/a113nghjcavomkaxyqx.php
https://www.google.gl/amp/s/sluts.su/get/a228/a228zebhhpvfemnspvi.php
https://www.google.ge/amp/s/nsfw.su/get/a101/a101ryngnokutwnshjj.php
https://www.google.gl/amp/s/nsfw.su/get/a195/a195lbdnfqnoscixnhr.php
https://www.google.gm/amp/s/sexonly.su/get/a146/a146abooxhpdgrsyyed.php
https://www.google.fr/amp/s/sexonly.top/get/a1/a1iytwarvencpxymp.php
https://www.google.ga/amp/s/sexonly.top/get/a218/a218yguzdiqrmenizim.php
https://www.google.gy/amp/s/sexonly.top/get/a58/a58ljgrqjrwaxtxtbp.php
https://www.google.ga/amp/s/nsfw.su/get/a121/a121gyjauvlecfuwnra.php
https://www.google.gm/amp/s/lustful.su/get/a4/a4dkfhtfiqupzfhnr.php

#291 By 4240821 (166.1.149.158) at 11/22/2024 5:26:56 PM
https://www.google.hu/amp/s/sexonly.su/get/a77/a77vyebgzbkitkukog.php
https://www.google.ht/amp/s/sexonly.top/get/a209/a209jdsjmeiwdxiqpab.php
https://www.google.it/amp/s/sexonly.top/get/a152/a152gcofqrretjhtqsd.php
https://www.google.hn/amp/s/sluts.su/get/a261/a261pnqyztbpuenwsgq.php
https://www.google.ht/amp/s/lustful.su/get/a30/a30vakuraoxjuagxnw.php
https://www.google.hk/amp/s/sexonly.top/get/a143/a143cqxpmuprvjrkknt.php
https://www.google.it/amp/s/sexonly.su/get/a143/a143tbkepiyzelajcss.php
https://www.google.it/amp/s/nsfw.su/get/a183/a183acxpedbptopregw.php
https://www.google.hr/amp/s/nsfw.su/get/a39/a39zbrfupsagkziooj.php
https://www.google.hk/amp/s/lustful.su/get/a277/a277ojragcazuzyqjhm.php

#292 By 4240821 (45.88.102.114) at 11/22/2024 11:32:26 PM
https://justpaste.me/CZXR2
https://justpaste.me/CCQM
https://justpaste.me/CTsz
https://justpaste.me/Cflm6
https://justpaste.me/CVDe2
https://justpaste.me/CUtp
https://justpaste.me/BuQc2
https://justpaste.me/CL9j2
https://justpaste.me/CUZD2
https://justpaste.me/BswE2

#293 By 4240821 (166.1.149.158) at 11/23/2024 2:42:51 PM
https://www.google.jo/amp/s/nsfw.su/get/a288/a288uojqfdoubwamrux.php
https://www.google.ki/amp/s/nsfw.su/get/a125/a125vmowbodvmrnmdqn.php
https://www.google.la/amp/s/lustful.su/get/a208/a208rdpoeuvdzxhjodh.php
https://www.google.lk/amp/s/nsfw.su/get/a43/a43twiogcvwfqktabp.php
https://www.google.jo/amp/s/sexonly.top/get/a16/a16dqrnygzizanyeqw.php
https://www.google.ki/amp/s/sexonly.top/get/a34/a34ikvxrftupwgsdft.php
https://www.google.lk/amp/s/sexonly.su/get/a298/a298tfqbbgtutjavscy.php
https://www.google.lt/amp/s/sluts.su/get/a103/a103icvqqgqsjvyikjy.php
https://www.google.lk/amp/s/sluts.su/get/a135/a135ecrvcmeoqkmpcld.php
https://www.google.jp/amp/s/sexonly.su/get/a195/a195urmofabyvuhhrtu.php

#294 By 4240821 (82.117.86.164) at 11/23/2024 3:38:27 PM
https://www.google.mn/amp/s/lustful.su/get/a290/a290zofmbibmrhlchmg.php
https://www.google.mk/amp/s/nsfw.su/get/a294/a294zpkbwylbrmhhpxn.php
https://www.google.mu/amp/s/sluts.su/get/a70/a70uvijuldvpgvmfig.php
https://www.google.ms/amp/s/lustful.su/get/a19/a19kogpayrbwhtydjf.php
https://www.google.md/amp/s/sluts.su/get/a255/a255ervujhjryiuetzp.php
https://www.google.me/amp/s/sexonly.su/get/a135/a135uyidpeovxqbaugh.php
https://www.google.mn/amp/s/nsfw.su/get/a92/a92zuckqytjfufcidk.php
https://www.google.lu/amp/s/sexonly.su/get/a48/a48qqmususbaabinkr.php
https://www.google.mg/amp/s/sexonly.su/get/a127/a127fnuejepfdpjlmah.php
https://www.google.md/amp/s/sluts.su/get/a20/a20zimahenddybymqg.php

#295 By 4240821 (62.76.153.72) at 11/23/2024 6:40:08 PM
https://justpaste.me/CSza1
https://justpaste.me/BnV11
https://justpaste.me/CJuK1
https://justpaste.me/CE1z3
https://justpaste.me/C22g
https://justpaste.me/C7bB1
https://justpaste.me/C1fA
https://justpaste.me/CUtp
https://justpaste.me/C0Om
https://justpaste.me/CcmD2

#296 By 4240821 (212.193.138.162) at 11/24/2024 4:29:43 AM
https://www.google.nr/amp/s/sexonly.su/get/a16/a16pdobqjpctwgedwd.php
https://www.google.ng/amp/s/sexonly.su/get/a220/a220evzcplclfahigmg.php
https://www.google.ne/amp/s/sexonly.su/get/a192/a192dwemsyibkrgxxuh.php
https://www.google.no/amp/s/sexonly.top/get/a167/a167tumrgvrbutxoskh.php
https://www.google.ng/amp/s/sexonly.top/get/a120/a120axatxolcodsqwtm.php
https://www.google.pk/amp/s/sexonly.su/get/a205/a205whhxhoiejxqhyis.php
https://www.google.nu/amp/s/lustful.su/get/a163/a163usjayflolngqjry.php
https://www.google.no/amp/s/sexonly.su/get/a160/a160cppndxqnphivsys.php
https://www.google.pk/amp/s/lustful.su/get/a233/a233qrtptlguscgkdju.php
https://www.google.pk/amp/s/lustful.su/get/a163/a163htvwrovadksrhtq.php

#297 By 4240821 (62.76.153.72) at 11/24/2024 7:28:03 AM
https://justpaste.me/C1UY3
https://justpaste.me/CQC0
https://justpaste.me/CBu11
https://justpaste.me/Bllg2
https://justpaste.me/Cd7R3
https://justpaste.me/BcSI1
https://justpaste.me/CZ2L
https://justpaste.me/CIzX2
https://justpaste.me/CTsz
https://justpaste.me/Bw20

#298 By 4240821 (212.193.138.162) at 11/25/2024 9:59:06 AM
https://www.google.com/amp/s/sexonly.su/get/a63/a63qqosggfgnpygrev.php
https://www.google.ac/amp/s/lustful.su/get/a232/a232jnbulkwwpqjmxda.php
https://www.google.com/amp/s/lustful.su/get/a252/a252lqmcpzlqdijquor.php
https://www.google.am/amp/s/sexonly.su/get/a254/a254rqxmarsmalktwfj.php
https://www.google.ag/amp/s/sexonly.top/get/a11/a11vraeqilxemniyyc.php
https://www.google.am/amp/s/lustful.su/get/a21/a21tmdrujseymvarkl.php
https://www.google.af/amp/s/sluts.su/get/a147/a147fkqdpqwmtjgslkw.php
https://www.google.ae/amp/s/sluts.su/get/a273/a273cuxrsbawfnupidy.php
https://www.google.al/amp/s/sexonly.top/get/a271/a271zqzbhavmynuowxh.php
https://www.google.as/amp/s/sluts.su/get/a201/a201rghmmaanwkcrflt.php

#299 By 4240821 (77.83.4.69) at 11/25/2024 2:58:34 PM
https://justpaste.me/CSza1
https://justpaste.me/BhhW3
https://justpaste.me/C7uW
https://justpaste.me/CUtp
https://justpaste.me/CWcJ2
https://justpaste.me/CeBb2
https://justpaste.me/Bz6A4
https://justpaste.me/CMOK1
https://justpaste.me/BsVj3
https://justpaste.me/Bnew2

#300 By 4240821 (212.193.138.162) at 11/25/2024 11:48:13 PM
https://justpaste.me/CZC31
https://justpaste.me/Bkvx
https://justpaste.me/BtXW2
https://justpaste.me/CBZ0
https://justpaste.me/CBNy1
https://justpaste.me/CMOK1
https://justpaste.me/Cd7R3
https://justpaste.me/C3Jf1
https://justpaste.me/C1fA
https://justpaste.me/C8Pp

Write Comment
Return to News
  Displaying 276 through 300 of 304
Prev | First | Next
  The time now is 11:58:18 AM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *