THRIFT-5504 CA2254 Message template should be compile time constant
Client netstd
Patch: Jens Geyer
diff --git a/lib/netstd/Thrift/Server/TServerEventHandler.cs b/lib/netstd/Thrift/Server/TServerEventHandler.cs
index 69314ef..9226b42 100644
--- a/lib/netstd/Thrift/Server/TServerEventHandler.cs
+++ b/lib/netstd/Thrift/Server/TServerEventHandler.cs
@@ -25,10 +25,18 @@
//TODO: replacement by event?
/// <summary>
- /// Interface implemented by server users to handle events from the server
+ /// Interface implemented by server users to handle events from the server
/// </summary>
+ /// <remarks>Replaced by ITServerEventHandler</remarks>
// ReSharper disable once InconsistentNaming
- public interface TServerEventHandler
+ #pragma warning disable IDE1006
+ public interface TServerEventHandler : ITServerEventHandler { }
+ #pragma warning restore IDE1006
+
+ /// <summary>
+ /// Interface implemented by server users to handle events from the server
+ /// </summary>
+ public interface ITServerEventHandler
{
/// <summary>
/// Called before the server begins */