From 80165ead2d98410eee2bfac8bdddeca048787627 Mon Sep 17 00:00:00 2001 From: mgravell Date: Wed, 21 Oct 2020 13:24:30 +0100 Subject: [PATCH] minor tweaks on Role.cs; ToString, usings --- src/StackExchange.Redis/Role.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/StackExchange.Redis/Role.cs b/src/StackExchange.Redis/Role.cs index 8c28ca544..293f7281e 100644 --- a/src/StackExchange.Redis/Role.cs +++ b/src/StackExchange.Redis/Role.cs @@ -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 { @@ -17,6 +13,9 @@ public abstract class Role /// public string Value { get; } + /// + public override string ToString() => Value; + private Role(string role) => Value = role; ///