| |
| |
| |
|
Page: 1 2
Comments:
<0> gah <0> wtf is up with this code <1> how can I put functions from my file into separate files? is this even possible? <2> hm? <1> my cl*** has grown pretty big, I would like to put some of the functions in separate files <3> sound like its time to refactor :) <1> is this possible without using static methods <3> doesnt c# 2.0 have these partial cl***es? <1> how does that work? <3> not sure, havent had time to play with it yet <3> but id consider refactoring <2> public partial cl*** ABC { ... } <2> in file 2: <2> public partial cl*** ABC { ... } <1> my original file is already a pratial cl***.. <1> public partial cl*** Form1 : Form
<1> { <2> wtf? you put all your code <2> in 1 form file ? <1> yes <2> yikes <2> talk about bad design. <1> thats why I want to change it <1> I have separate cl***es too <1> but the form has all the event handler code and stuff and its getting hatrd to locate things <2> well I never actually tried partialling cl***es in more than 2 <2> maybe it works <2> but it won't get more clear where what is <1> can I use partial cl***es for functions that are already in a partial cl*** <2> try <1> I will <1> thanks <1> bye <3> heh <2> yeah <2> in a form cl*** <2> basic wrong designs :) <4> indeed <2> hehe <4> house advertising :D <2> I have this flashy @ <2> I can do that <2> :) <2> who's going to stop me? :) <2> yeah <4> found one <2> that would be a funny conversation <4> /oper Obeliks <p***word> <4> /mode +o Obeliks <4> :D <4> /sajoin ki9a #go-home <4> :) <2> hehe <2> this is efnet <2> it doesn't have sajoin <2> ;) <4> it doesn't? :) <2> ircops can only kick their own users btw <4> well, I won't be ircop here either <4> so doesn't really mind <4> s/mind/matter <4> I think I might still be drunk <4> :D <2> wtf? <4> the way I babble <4> server ops <2> let me fix that bot <4> ircops should be able to kline everyone <4> or gline <2> they cant <4> orwhatever Xline that is <2> efnet doesn't have glines <4> I like /shun ;) <2> flood settings fixed
<4> great <4> so <4> lets <4> flood <4> :D <4> kidding <2> .chanset #csharp flood-chan 15:30 <2> it still can kick ;) <4> 15:30 <2> eggdrop defaults are stupid <4> that might be hard to reach <4> indeed <2> 10:60 <5> Saturday, July 08th 2006 00:43:27 GMT+10 <2> heh <2> hey ekim <6> hi <2> there is direct Winsock like access to sockets <2> otherwise there's wrappers <6> I hadn't even gotten into sockets in C# yet. <6> I'm pretty much just beginning in C#...Never really wrote anything in it yet <6> I'm not even really familiar with it at all.. <6> I tried and tried to figure out how to use some Windows API functions in C#... <6> Such as FindWindow, SendMessage, etc. <6> And I was told how, but I had no idea where to put the code :P <2> you asked in #delphi <2> hwh <2> heh <6> ?? <6> when? <2> when you need it? <6> Wait..you said I asked in #delphi... <6> I don't remember asking <2> oh <6> I might have a while back...don't remember <7> anybody know if the xmlns:xsi and xmlns:xsd attributes i get when i serialize my cl***es is something i can get rid of? <2> write your own serializer <2> but you probably don't want to get rid of them <2> they point to the real schema's required for your xml file <7> i wrote a serializer for certain cl***es, but i'm hoping to avoid that for some of these <7> i guess my main question is... do those references slow anything down? <2> no <7> i mean does the serializer/deserializer have to access those sites? <2> they're "known" <2> it doesn't need to access them <7> oh ok... they in some local lookup kind of deal? <2> xsd is a schema that's required for all xml is <2> it contains integers <2> etc <7> so the only detriment to having them there is ugliness? <2> not ugly <2> vaid xml <2> :) <2> valid <7> potayto potahto <7> is there a way I can add these to the root xml declaration or some such so they don't show up in every child element? <2> hrmm <2> IIRC they should up in the root <2> the other fields <2> define the type of the members <7> maybe i should describe my setup a little more... i have a Dictionary object that i'm serializing <7> and since that can't be serialized I wrote the IXmlSerializer for that and then the value objects are serialized automatically <2> right <2> the xml serializer will: <2> Always write the type <2> always write the schema <7> you mean the non overridden one? <2> the stuff that the xml serializer generate.s <7> so it wouldn't NOT write those if it saw them somewhere higher in the document? <2> try it. <7> it doesn't show up in the subcl***es of my value entries <7> only seems to show up if i have to create a new serializer as i did for the dictionary values <7> and it deserializes properly if i remove those attributes and move them to the Dictionary's elementstart
Return to
#csharp or Go to some related
logs:
#sendmail #openbsd #beginner #beginner #beginner #politics battleships tier 3 screen #nhl Bruteforcing Photobucket #flash
|
|