You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
You could use Reflection and generate a stub mock class.πάντα ῥεῖ– πάντα ῥεῖ2020-08-04 10:34:21 +00:00Commented Aug 4, 2020 at 10:34
-
We don't generally give advice on frameworks here. There are a number of decent ones for the .net platform. A good way to discover them is to use nuget and search for the word mock. This will find you a number of such libraries, and give you an indication of how well used they are.Kain0_0– Kain0_02020-08-04 12:05:05 +00:00Commented Aug 4, 2020 at 12:05
-
1@Kain0_0: There's a difference between OP asking for a framework suggestion and OP asking a question which could be solved easier using a certain framework. The latter is on topic.Flater– Flater2020-08-04 12:06:02 +00:00Commented Aug 4, 2020 at 12:06
-
1Just to be clear about my earlier comment: OP is indeed asking for a framework, but also for a DIY solution. The question is valid, but it should maybe omit the specific request for a framework - or at least not put it first and foremost as it's going to (IMHO wrongly) draw close votes for appearing to ask an off-topic question.Flater– Flater2020-08-04 12:16:44 +00:00Commented Aug 4, 2020 at 12:16
-
I'e made my question more specificity toward which approach i should take.kalitsov– kalitsov2020-08-04 12:18:31 +00:00Commented Aug 4, 2020 at 12:18
|
Show 1 more comment
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you