Showing the changes to Source/Libraries/GSF.ServiceProcess/ClientRequest.cs (1 of 12 files). Show all
Unified · Split
| @@ -153,13 +153,7 @@ namespace GSF.ServiceProcess · 152 unmodified lines | |||
| 153 | /// <summary> | 153 | /// <summary> |
| 154 | /// Gets a list of attachments for the <see cref="ClientRequest"/>. | 154 | /// Gets a list of attachments for the <see cref="ClientRequest"/>. |
| 155 | /// </summary> | 155 | /// </summary> |
| 156 | public List<object> Attachments | 156 | public List<object> Attachments => m_attachments; |
| 157 | { | ||
| 158 | get | ||
| 159 | { | ||
| 160 | return m_attachments; | ||
| 161 | } | ||
| 162 | } | ||
| 163 | 157 | ||
| 164 | #endregion | 158 | #endregion |
| 165 | 159 | ||
| @@ -171,7 +165,7 @@ namespace GSF.ServiceProcess · 5 unmodified lines | |||
| 171 | /// <returns>A <see cref="String"/> that represents the <see cref="ClientRequest"/>.</returns> | 165 | /// <returns>A <see cref="String"/> that represents the <see cref="ClientRequest"/>.</returns> |
| 172 | public override string ToString() | 166 | public override string ToString() |
| 173 | { | 167 | { |
| 174 | return string.Format("{0} {1}", m_command, m_arguments).Trim(); | 168 | return $"{m_command} {m_arguments}".Trim(); |
| 175 | } | 169 | } |
| 176 | 170 | ||
| 177 | /// <summary> | 171 | /// <summary> |