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 551 through 566 of 566
Prev | First
  The time now is 10:30:45 AM ET.
Any comment problems? E-mail us
#551 By 4240821 (82.115.4.230) at 6/26/2025 6:30:29 AM
https://lustful.su/v/t0j3j9edmokt.php
https://sexonly.su/v/9lac55gxa4pa.php
https://sexonly.top/v/em0433o4kotz.php
https://nsfw.su/v/hb45k5lxznao.php
https://sluts.su/v/jb2ues353f4d.php
https://sexonly.su/v/rvblpaw96tpm.php
https://sexonly.top/v/tdr846ft1d53.php
https://nsfw.su/v/2m6rvl3yd0ni.php
https://sluts.su/v/6cu9ooxgj25o.php
https://lustful.su/v/p4r0w5jwo9np.php

#552 By 4240821 (82.115.4.230) at 6/27/2025 8:33:26 AM
https://lustful.su/v/25z4zgc7qwrs.php
https://nsfw.su/v/a5zn2t47qh7n.php
https://lustful.su/v/j45w11p52pbr.php
https://nsfw.su/v/40668qianyaa.php
https://sexonly.su/v/8g7suzjzv7tr.php
https://sexonly.su/v/imyp39qywuun.php
https://sexonly.top/v/56qj0y2ksb4d.php
https://lustful.su/v/ux2oyq9t9eu4.php
https://sexonly.top/v/d7y2mh84ef03.php
https://sexonly.su/v/1u798nr1ovps.php

#553 By 4240821 (82.115.4.230) at 6/28/2025 2:48:12 PM
https://sexonly.top/v/tsvxsyfppme8.php
https://lustful.su/v/xjv1wjt6yfk0.php
https://lustful.su/v/gllrggs6tyzw.php
https://sexonly.top/v/t7tksynvgojf.php
https://nsfw.su/v/qb6u4c00w0x4.php
https://lustful.su/v/p92hm1vq3sbk.php
https://nsfw.su/v/kw6osukk98xs.php
https://lustful.su/v/8pm36xg5zgik.php
https://sexonly.su/v/emlntywex4h3.php
https://nsfw.su/v/dgyvy5hr9bug.php

#554 By 4240821 (82.115.4.230) at 6/29/2025 6:29:58 PM
https://namethatpornstar.com/thread/4251928
https://namethatpornstar.com/thread/4252013
https://namethatpornstar.com/thread/4251753
https://namethatpornstar.com/thread/4252209
https://namethatpornstar.com/thread/4251371
https://namethatpornstar.com/thread/4251921
https://namethatpornstar.com/thread/4251499
https://namethatpornstar.com/thread/4251500
https://namethatpornstar.com/thread/4253025
https://namethatpornstar.com/thread/4253030

#555 By 4240821 (82.115.4.230) at 6/30/2025 6:34:18 PM
https://lustful.su/g/p26/p26kavsuwcwguxkslc.php
https://sexonly.su/g/p84/p84xrscuoosdrpwauo.php
https://nsfw.su/g/p60/p60dwcucnozywggknu.php
https://sexonly.su/g/p18/p18byrgdslycgwaqik.php
https://sexonly.su/g/p93/p93sfrjmmavfpbihqq.php
https://sexonly.top/g/p5/p5poincmgzooovpsm.php
https://sexonly.su/g/p53/p53sopyihgmnwpuiuy.php
https://sexonly.top/g/p8/p8rqajardvyciqsiq.php
https://sexonly.top/g/p45/p45rzxpdbyinbxgelq.php
https://sexonly.su/g/p14/p14ropogmkgvbfozek.php

#556 By 4240821 (82.115.4.230) at 7/1/2025 10:19:29 AM
https://sluts.su/g/p25/p25ukvhmwczdpeuyfx.php
https://sexonly.top/g/p5/p5delopdwdepxvxve.php
https://sexonly.su/g/p93/p93fmjmqgzxjzvfrbs.php
https://sexonly.top/g/p51/p51edrqqbofgndnhsb.php
https://sluts.su/g/p97/p97lbrupjyhicbnhwh.php
https://sexonly.top/g/p99/p99bbaoqmekvstlpxc.php
https://nsfw.su/g/p31/p31agufrdfrjcezphy.php
https://lustful.su/g/p1/p1nfqtbojxzadcezt.php
https://sexonly.top/g/p65/p65uqpdlypdxujlpik.php
https://nsfw.su/g/p27/p27gdskfarjzvkqbuk.php

#557 By 4240821 (82.115.4.230) at 7/2/2025 8:40:23 AM
https://lustful.su/g/p37/p37dtlsmolcehmdljv.php
https://sexonly.top/g/p68/p68mvtrrjvqdjuecia.php
https://sexonly.su/g/p28/p28pytyngmndcpxubl.php
https://sexonly.su/g/p81/p81wwypezrgxeselfp.php
https://nsfw.su/g/p5/p5uqpscekjyvmjqmf.php
https://sexonly.top/g/p76/p76paypwwciwootcma.php
https://sexonly.su/g/p11/p11wyylvuottuvgcyl.php
https://nsfw.su/g/p50/p50wenilzdsovunnqv.php
https://sexonly.top/g/p47/p47ttproshzehuumje.php
https://nsfw.su/g/p32/p32iwofjvdgrfglhfy.php

#558 By 4240821 (82.115.4.230) at 7/2/2025 2:30:13 PM
https://sexonly.top/g/p33/p33rwezjeqthtaasyl.php
https://sexonly.su/g/p96/p96gzfbchlwglvnazx.php
https://sexonly.top/g/p2/p2qrvnjjnamyzsztf.php
https://nsfw.su/g/p22/p22tshbbagzqolkspn.php
https://nsfw.su/g/p25/p25mxegjqhjnkijebm.php
https://lustful.su/g/p10/p10oyhkpuicbtudwal.php
https://sexonly.su/g/p0/p0cdvyzzadvsulqdh.php
https://sexonly.su/g/p9/p9fcaxjscbwkeuqpk.php
https://lustful.su/g/p97/p97zmkwtcpcgjhqnxz.php
https://sexonly.su/g/p24/p24mlftaqumkgbcaid.php

#559 By 4240821 (82.115.4.230) at 7/3/2025 8:42:53 PM
https://lustful.su/g/p44/p44lybsuvnvqotzkpv.php
https://sexonly.top/g/p86/p86nwqlypvggwipwqs.php
https://nsfw.su/g/p98/p98bmtpxyajduodayh.php
https://sexonly.top/g/p99/p99iwiimwyvgualfxy.php
https://sluts.su/g/p43/p43zlgsdcmxyohatzj.php
https://sluts.su/g/p80/p80wyoefokvwoiamiq.php
https://sluts.su/g/p12/p12cbarljwetxhmcki.php
https://nsfw.su/g/p12/p12iwqdtlgpsqbiygs.php
https://sluts.su/g/p52/p52veagbgovactldbj.php
https://sluts.su/g/p56/p56osufpuserumzdhd.php

#560 By 4240821 (82.115.4.230) at 7/4/2025 7:18:49 PM
https://lustful.su/g/p6/p6ynxganakxhyhaxs.php
https://sexonly.top/g/p66/p66ydioueogyovuvbf.php
https://nsfw.su/g/p72/p72txakiylhavaldft.php
https://sluts.su/g/p11/p11uttkjlgmoyzbkth.php
https://nsfw.su/g/p80/p80ytyskcotluzizle.php
https://nsfw.su/g/p23/p23zotfftpauchwoht.php
https://sluts.su/g/p28/p28ohozfzuojutfmtg.php
https://lustful.su/g/p34/p34hgitfpxnqdfgnvo.php
https://lustful.su/g/p32/p32nkgdinctpmzioln.php
https://sexonly.top/g/p91/p91osukktydeuetthj.php

#561 By 4240821 (82.115.4.230) at 7/5/2025 1:13:53 PM
https://sluts.su/v/8hfxau04qtlg.php
https://nsfw.su/v/2gs5mix9uz7b.php
https://lustful.su/v/dd4tktyezxoo.php
https://sluts.su/v/obtoyn4f4aqw.php
https://lustful.su/v/266evmexijd1.php
https://nsfw.su/v/wknda95c6phu.php
https://sexonly.top/v/c1bigyw2pth6.php
https://sexonly.su/v/zhivy6adig3g.php
https://sluts.su/v/z6hrb4twwfoo.php
https://sexonly.top/v/k6ng7w6gkyhe.php

#562 By 4240821 (82.115.4.230) at 7/6/2025 5:24:25 PM
https://sexonly.top/v/oy75gt0wa29j.php
https://sexonly.top/v/g1rk8xqwwo9f.php
https://sluts.su/v/63fkwaaxslm2.php
https://sexonly.top/v/ikrleo4fbtn3.php
https://nsfw.su/v/i69l14f24izh.php
https://nsfw.su/v/tyvqyeye9a77.php
https://lustful.su/v/21uw96pvygx4.php
https://sexonly.su/v/6j6azoo7c390.php
https://sexonly.top/v/t1xucmfv09hl.php
https://sluts.su/v/uxtie8uuvspl.php

#563 By 4240821 (82.115.4.230) at 7/8/2025 5:50:56 PM
https://moanio.com/video.php?id=2354
https://moanio.com/video.php?id=1462
https://moanio.com/video.php?id=3429
https://moanio.com/video.php?id=3135
https://moanio.com/video.php?id=1471
https://moanio.com/video.php?id=1437
https://moanio.com/video.php?id=2920
https://moanio.com/video.php?id=2047
https://moanio.com/video.php?id=492
https://moanio.com/video.php?id=201

#564 By 4240821 (82.115.4.230) at 7/8/2025 10:42:41 PM
https://moanio.com/video.php?id=1717
https://moanio.com/video.php?id=603
https://moanio.com/video.php?id=3844
https://moanio.com/video.php?id=779
https://moanio.com/video.php?id=877
https://moanio.com/video.php?id=881
https://moanio.com/video.php?id=2610
https://moanio.com/video.php?id=1348
https://moanio.com/video.php?id=1233
https://moanio.com/video.php?id=3774

#565 By 4240821 (82.115.4.230) at 7/11/2025 6:53:08 AM
https://justpaste.me/YyQs1
https://justpaste.me/YhLS1
https://justpaste.me/ZR5t2
https://justpaste.me/Zcpx4
https://justpaste.me/Yz6A
https://justpaste.me/Yr3j
https://justpaste.me/ZZOI2
https://justpaste.me/ZK7J
https://justpaste.me/YjT5
https://justpaste.me/Z0kQ

#566 By 4240821 (82.115.4.230) at 7/11/2025 8:37:55 PM
https://justpaste.me/ZUTt2
https://justpaste.me/Z4cV
https://justpaste.me/aDf3
https://justpaste.me/ZsvO9
https://justpaste.me/Z4cV
https://justpaste.me/Zlej1
https://justpaste.me/Zw4y2
https://justpaste.me/Yz6A
https://justpaste.me/YkMh3
https://justpaste.me/ZBLE4

Write Comment
Return to News
  Displaying 551 through 566 of 566
Prev | First
  The time now is 10:30:45 AM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *