v10: Fix build warnings in Web.Common (#12349)
* Run code cleanup * Run dotnet format * Start manual cleanup in Web.Common * Finish up manual cleanup * Fix tests * Fix up InMemoryModelFactory.cs * Inject proper macroRenderer * Update src/Umbraco.Web.Common/Filters/JsonDateTimeFormatAttribute.cs Co-authored-by: Mole <nikolajlauridsen@protonmail.ch> * Update src/Umbraco.Web.Common/Filters/ValidateUmbracoFormRouteStringAttribute.cs Co-authored-by: Mole <nikolajlauridsen@protonmail.ch> * Fix based on review Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk> Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
namespace Umbraco.Cms.Web.Common.PublishedModels
|
||||
namespace Umbraco.Cms.Web.Common.PublishedModels;
|
||||
|
||||
// this is here so that Umbraco.Web.PublishedModels namespace exists in views
|
||||
// even if people are not using models at all - because we are referencing it
|
||||
// when compiling views - hopefully noone will ever create an actual model
|
||||
// with that name
|
||||
internal class DummyClassSoThatPublishedModelsNamespaceExists
|
||||
{
|
||||
// this is here so that Umbraco.Web.PublishedModels namespace exists in views
|
||||
// even if people are not using models at all - because we are referencing it
|
||||
// when compiling views - hopefully noone will ever create an actual model
|
||||
// with that name
|
||||
internal class DummyClassSoThatPublishedModelsNamespaceExists
|
||||
{ }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user