Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Commit af124cb

Browse files
committed
Storing string instead of guid
1 parent fc1ca51 commit af124cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Microsoft.AspNet.Mvc.Core/ActionDescriptor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ namespace Microsoft.AspNet.Mvc
99
{
1010
public class ActionDescriptor
1111
{
12-
private readonly Guid _guid;
12+
private readonly string _guid;
1313

1414
public ActionDescriptor()
1515
{
1616
Properties = new Dictionary<object, object>();
1717
RouteValueDefaults = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
18-
_guid = Guid.NewGuid();
18+
_guid = Guid.NewGuid().ToString();
1919
}
2020

2121
/// <summary>
@@ -26,7 +26,7 @@ public string Id
2626
{
2727
get
2828
{
29-
return string.Format("{0}_{1}", DisplayName, _guid.ToString());
29+
return string.Format("{0}_{1}", DisplayName, _guid);
3030
}
3131
}
3232

0 commit comments

Comments
 (0)