Skip to content

Commit

Permalink
Bump csharpier from 0.26.5 to 0.26.7 (#68)
Browse files Browse the repository at this point in the history
* Bump csharpier from 0.26.5 to 0.26.7

Bumps [csharpier](https://github.com/belav/csharpier) from 0.26.5 to 0.26.7.
- [Release notes](https://github.com/belav/csharpier/releases)
- [Changelog](https://github.com/belav/csharpier/blob/main/CHANGELOG.md)
- [Commits](belav/csharpier@0.26.5...0.26.7)

---
updated-dependencies:
- dependency-name: csharpier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* CSharpier format

* Version bump (CI)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: gstraccini[bot] <44061938+gstraccini[bot]@users.noreply.github.com>
Co-authored-by: net-framework-updater[bot] <136581072+net-framework-updater[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 19, 2023
1 parent 850a240 commit f0c49e7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.26.5",
"version": "0.26.7",
"commands": [
"dotnet-csharpier"
]
Expand Down
4 changes: 2 additions & 2 deletions Src/EditoraInovacao.MVC/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("b674d138-f0ae-43da-bf5c-21225b28588d")]
[assembly: AssemblyVersion("1.0.18.1")]
[assembly: AssemblyFileVersion("1.0.18.1")]
[assembly: AssemblyVersion("1.0.19.1")]
[assembly: AssemblyFileVersion("1.0.19.1")]
2 changes: 1 addition & 1 deletion Src/EditoraInovacao.MVC/Properties/Version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.18.1
1.0.19.1
14 changes: 8 additions & 6 deletions Src/EditoraInovacao.MVC/ViewRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ public static T CreateController<T>(RouteData routeData = null)
&& !routeData.Values.ContainsKey("Controller")
)
{
routeData
.Values
.Add("controller", controller.GetType().Name.ToLower().Replace("controller", ""));
routeData.Values.Add(
"controller",
controller.GetType().Name.ToLower().Replace("controller", "")
);
}

controller.ControllerContext = new ControllerContext(wrapper, routeData, controller);
Expand Down Expand Up @@ -83,9 +84,10 @@ public static string RenderView(this Controller controller, string viewName, obj

controller.ViewData.Model = model;
using var sw = new StringWriter();
var viewResult = ViewEngines
.Engines
.FindPartialView(controller.ControllerContext, viewName);
var viewResult = ViewEngines.Engines.FindPartialView(
controller.ControllerContext,
viewName
);
var viewContext = new ViewContext(
controller.ControllerContext,
viewResult.View,
Expand Down

0 comments on commit f0c49e7

Please sign in to comment.