diff options
| author | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-13 21:31:14 +0100 |
|---|---|---|
| committer | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-13 21:31:14 +0100 |
| commit | a36658f6f0ed342d8b55dbf7c9ff95fe3abfa818 (patch) | |
| tree | b1484407efd83b243d0ea792b18c598e9ff53053 /SocketHttpListener/MessageEventArgs.cs | |
| parent | 9fa60ec9340cbc8b4ed3e866fcf61852077902a1 (diff) | |
ReSharper Reformat: Properties to expression bodied form.
Diffstat (limited to 'SocketHttpListener/MessageEventArgs.cs')
| -rw-r--r-- | SocketHttpListener/MessageEventArgs.cs | 24 |
1 files changed, 3 insertions, 21 deletions
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 /// <value> /// A <see cref="string"/> that contains the received data. /// </value> - public string Data - { - get - { - return _data; - } - } + public string Data => _data; /// <summary> /// Gets the received data as an array of <see cref="byte"/>. @@ -62,13 +56,7 @@ namespace SocketHttpListener /// <value> /// An array of <see cref="byte"/> that contains the received data. /// </value> - public byte[] RawData - { - get - { - return _rawData; - } - } + public byte[] RawData => _rawData; /// <summary> /// Gets the type of the received data. @@ -76,13 +64,7 @@ namespace SocketHttpListener /// <value> /// One of the <see cref="Opcode"/> values, indicates the type of the received data. /// </value> - public Opcode Type - { - get - { - return _opcode; - } - } + public Opcode Type => _opcode; #endregion |
