All Questions
86
questions
4
votes
2
answers
177
views
C# items that don't follow rest of interface
I'm working on a game with unity, and I've created a state manager for the in-game state of certain organisms. Each state implements a ISimpleStateManager interface,...
6
votes
1
answer
2k
views
Date range generator
An app has a feature that's much like any calendar application (like the Outlook calendar for example).
Consequently, I need to do a lot of date logic. I wrote a class with date calculation methods ...
1
vote
0
answers
135
views
.NET Repository Pattern
I'm currently in the process of defining some framework, one of the first things that I thought I could start with was defining some repository pattern/layer.
I generally wanted some input on it, ...
-1
votes
1
answer
61
views
implementing abstract classes vs interfaces [closed]
I am new to using interfaces and abstract classes. The team I am working with came up with an implementation of what they call a base class that will be implemented by all view model classes. This is ...
5
votes
2
answers
474
views
Best approach for the Design Pattern for multiple schedulers using interface and abstract class
I have a requirement to fetch data for different types of Users (Customers, Publishers etc) for three different timelines (retro, current, and past), all have different URLs. There is a scheduler ...
0
votes
1
answer
447
views
0
votes
3
answers
251
views
Using "Generics" to implement "Unit Of Work"
I need to design a generic "Unit Of Work", basically so that I can "change the context of the Database" only changing the implementation of ...
7
votes
4
answers
1k
views
IService<T> or defining IProductService, ICustomerService
As per tutorial here, I have the following classes:
(In reference to this tutorial's section)
...
4
votes
1
answer
184
views
Architecture Logging
I have two database tables UsersDownload, Non-UsersDownload. There is also two model object and two service that take in the object and insert the data into the correct table. Is this the best ...
0
votes
1
answer
67
views
Schedule talks in tracks [closed]
Consider my simple business requirement as follows:
There is a list of talks and they need to be scheduled in tracks. Each track has a morning session starting at 9am and an afternoon session starting ...
3
votes
1
answer
902
views
C# REST / Http Client Abstraction
I have a REST library. These are the abstractions. Have I missed anything that a developer would need to use this in a dependency injection / IoC Container scenario? Anything that bothers you about ...
4
votes
0
answers
336
views
C# Dictionary Wrapper for VBA
I am a technical reviewer/writer and I use VBA for Word a lot to manage issues in Word documents I receive. I have frequently come across niggles when using Collections, Scripting.Dictionaries or ...
10
votes
0
answers
2k
views
Geode Contents Predictor StardewValley Mod
The goal
I really enjoy the game Stardew Valley. One of the things that the game has are geodes. Much like real-world geodes, these geodes can be cracked open, and you can find some fun things inside....
2
votes
1
answer
127
views
Interface and inheritance; creating download types for a download manager
I'm creating a download manager in C# (in combination with Unity 2019.1.8, running the .NET 4.x equivalent (MONO) scripting back end). To accomplish this I decided to start using interfaces and class ...
1
vote
2
answers
170
views
Parcel size classifier [closed]
I submitted a technical assignment for a job interview process and I am stressing out wondering if my submission was any good. I would like to learn and be a better developer, so please give me ...