The Create Class quick fix is available once Telerik® JustCode™ has detected use of an unknown type in your code.
Telerik® JustCode™ suggests you to create a class, structure, interface or enumeration.
By executing this fix, Telerik® JustCode™ automatically creates a new class in the current file with the same name as the unknown type.
Note |
---|
Language Support Supported: C#, VB.NET, Razor Not relevant: JavaScript, ASP.NET, XAML, HTML |
To create a class
- Position the caret over an unknown type.
Press Alt+Enter. From the pop-up menu, select Create Class
The result is:
Note |
---|
If the type is a Razor model, a new class model will be created inside the Models folder. The result is: |
See Also