Drama Llama
Drama Llama
CC#
Created by Drama Llama on 1/11/2024 in #help
Splitting a large class and problems with a field needed in multiple classes as a result
It's actually exactly the second case, I'll follow with what you suggested! thank you!
4 replies
CC#
Created by Drama Llama on 1/11/2024 in #help
Splitting a large class and problems with a field needed in multiple classes as a result
So when outside code wants to call GetEmail() for example, they will call the OnlineConnectors implementation of it, which is a single line of code that calls the GetEmail() function in the EmailConnector, passing down the "connection" as a parameter and returning its return value. I can't help but feel this is very shoddy work and I am questioning if bidirectional association might be the answer - that way I could call the method in the EmailConnector directly and it could get the OnlineConnection from the associated OnlineConnector. But I've practiced avoiding bidirectional associations during my education so much that at this point I can't help but feel that is a hack too! Am I thinking about this wrong / going about this wrong?
4 replies
CC#
Created by Drama Llama on 10/27/2023 in #help
❔ How to optionally include certain classes/libraries in a compile
thank you for your help and sorry about me phrasing things poorly, I'm certainly punching above my weight class here
40 replies
CC#
Created by Drama Llama on 10/27/2023 in #help
❔ How to optionally include certain classes/libraries in a compile
like file-wise
40 replies
CC#
Created by Drama Llama on 10/27/2023 in #help
❔ How to optionally include certain classes/libraries in a compile
only question then would be where the external libraries would be at. I can probably find that out
40 replies
CC#
Created by Drama Llama on 10/27/2023 in #help
❔ How to optionally include certain classes/libraries in a compile
oh, that's promising!
40 replies
CC#
Created by Drama Llama on 10/27/2023 in #help
❔ How to optionally include certain classes/libraries in a compile
so if the dll isn't referenced, it won't be included in compilation?
40 replies
CC#
Created by Drama Llama on 10/27/2023 in #help
❔ How to optionally include certain classes/libraries in a compile
I might have to look more into using external dlls - I was under the impression that you have to use reflection to use them?
40 replies
CC#
Created by Drama Llama on 10/27/2023 in #help
❔ How to optionally include certain classes/libraries in a compile
this
40 replies
CC#
Created by Drama Llama on 10/27/2023 in #help
❔ How to optionally include certain classes/libraries in a compile
sorry, little bit out of my element here - what do you mean?
40 replies
CC#
Created by Drama Llama on 10/27/2023 in #help
❔ How to optionally include certain classes/libraries in a compile
That's a great thought, but I need the decision point to be earlier than that. :( it's not going to be a thing that uses an installer. plus size is a consideration
40 replies
CC#
Created by Drama Llama on 10/27/2023 in #help
❔ How to optionally include certain classes/libraries in a compile
The information as to which one of the two will be required will be available ahead of time. Think like I am either building for windows 7 or windows 8 - and needing two different libraries to make it work for each OS. In this sample scenario, I'd allow the user to just choose the version that's applicable to them.
40 replies
CC#
Created by Drama Llama on 10/27/2023 in #help
❔ How to optionally include certain classes/libraries in a compile
I want to exlude the entire library - I will only ever use one of the two on a given machine
40 replies
CC#
Created by Drama Llama on 10/24/2023 in #help
✅ Design Pattern Advice
noted! that's good to know!
15 replies
CC#
Created by Drama Llama on 10/24/2023 in #help
✅ Design Pattern Advice
(And yes, putting a name on it makes me feel better. I'll certainly look into interface best practices though!)
15 replies
CC#
Created by Drama Llama on 10/24/2023 in #help
✅ Design Pattern Advice
Or rather, is :)
15 replies
CC#
Created by Drama Llama on 10/24/2023 in #help
✅ Design Pattern Advice
Thank you, this was very helpful!
15 replies
CC#
Created by Drama Llama on 10/24/2023 in #help
✅ Design Pattern Advice
This is less about getting the job done and more about practicing, following best practices and of course, sounding better in the documentation
15 replies
CC#
Created by Drama Llama on 8/23/2023 in #help
❔ Looking for a personal tutor for microsoft graph SDK
Didn't expect to have this much trouble finding a tutor. Would have thought the graph sdk more popular somehow?
7 replies
CC#
Created by Drama Llama on 8/23/2023 in #help
❔ Looking for a personal tutor for microsoft graph SDK
Are there alternatives you could recommend? I'm trying to integrate calendar functions into a Web app and thought that might be the easiest way to go about it
7 replies