Skip to main content

All Questions

Tagged with
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,...
Abdul Ahmad's user avatar
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 ...
user2190492's user avatar
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, ...
JO3-W3B-D3V's user avatar
-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 ...
user1181226's user avatar
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 ...
Pankaj's user avatar
  • 151
0 votes
1 answer
447 views

Composing functionality of sealed class with interfaces

...
JPtheK9's user avatar
  • 103
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 ...
Igor's user avatar
  • 182
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) ...
taylorswiftfan's user avatar
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 ...
Jefferson's user avatar
  • 353
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 ...
riki's user avatar
  • 109
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 ...
Christian Findlay's user avatar
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 ...
Freeflow's user avatar
  • 645
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....
Dan Oberlam's user avatar
  • 7,814
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 ...
Remy's user avatar
  • 289
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 ...
Javed's user avatar
  • 29

15 30 50 per page
1
2 3 4 5 6