int BuildHash()

Summary

By overriding this you can return a hash of variables used by the Razor layout, which will cause a rebuild when changed. This is useful when your layout uses a global variable because by adding it to a HashCode.Combine here you can easily trigger a build when it changes.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.