Quantcast
Channel: RazorGenerator Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 525

Created Unassigned: A "public class" declared inside @functions is generated as a static class. [137]

$
0
0
In RazorGenerator 1.6.3 a construct such as the following:

@functions {

public class MyClass
{
public string SomeMember { get; set; }
}
}

will produce a public static class in the generated code.

If the public keyword is omitted (making the class private), the class is not generated as static.


Viewing all articles
Browse latest Browse all 525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>