From a36658f6f0ed342d8b55dbf7c9ff95fe3abfa818 Mon Sep 17 00:00:00 2001 From: Erwin de Haan Date: Sun, 13 Jan 2019 21:31:14 +0100 Subject: ReSharper Reformat: Properties to expression bodied form. --- SocketHttpListener/MessageEventArgs.cs | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to 'SocketHttpListener/MessageEventArgs.cs') diff --git a/SocketHttpListener/MessageEventArgs.cs b/SocketHttpListener/MessageEventArgs.cs index 5ee4099b8..d9bccbf3f 100644 --- a/SocketHttpListener/MessageEventArgs.cs +++ b/SocketHttpListener/MessageEventArgs.cs @@ -48,13 +48,7 @@ namespace SocketHttpListener /// /// A that contains the received data. /// - public string Data - { - get - { - return _data; - } - } + public string Data => _data; /// /// Gets the received data as an array of . @@ -62,13 +56,7 @@ namespace SocketHttpListener /// /// An array of that contains the received data. /// - public byte[] RawData - { - get - { - return _rawData; - } - } + public byte[] RawData => _rawData; /// /// Gets the type of the received data. @@ -76,13 +64,7 @@ namespace SocketHttpListener /// /// One of the values, indicates the type of the received data. /// - public Opcode Type - { - get - { - return _opcode; - } - } + public Opcode Type => _opcode; #endregion -- cgit v1.2.3