Skip to content

Commit

Permalink
minor tweaks on Role.cs; ToString, usings
Browse files Browse the repository at this point in the history
  • Loading branch information
mgravell committed Oct 21, 2020
1 parent eacfff8 commit 80165ea
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/StackExchange.Redis/Role.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;

namespace StackExchange.Redis
{
Expand All @@ -17,6 +13,9 @@ public abstract class Role
/// </summary>
public string Value { get; }

/// <inheritdoc/>
public override string ToString() => Value;

private Role(string role) => Value = role;

/// <summary>
Expand Down

0 comments on commit 80165ea

Please sign in to comment.