Non-Generic Generate support
See original GitHub issueCan we add static non-generic counterparts for the Generate methods that accept a Type to the AutoFaker class?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:5 (1 by maintainers)
Top Results From Across the Web
c# - Is generic constructor in non-generic class supported?
No, generic constructors aren't supported in either generic or non-generic classes. Likewise generic events, properties and finalizers ...
Read more >DispatchProxy needs a non-generic Create API #28419
Currently DispatchProxy just provides the following Generic API to create a proxy : public static T Create<T, TProxy>() {..}.
Read more >What to do, if I need non generic class use generic inside ...
Create a class named Footer (not generic). Change your Page.footer to this type: class Page { Header header; Body body; Footer footer; ...
Read more >Generics in .NET
Define & use generics, learn their advantages & drawbacks, understand class library & language support, and more.
Read more >Non-generic Vs Generic Collection in Java
there are certain advantages of generics over non-generic are as follows: Code Reuse: With help of Generics, one needs to write a method/class/ ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@nickdodd79 , would you accept such PR to
AutoGenerateContextExtensions?Hey @gkruszewski
Shouldn’t be difficult to add non-generic support. I will see what I can do.
Nick.