aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/IUPnPDeviceValidator.cs
diff options
context:
space:
mode:
authorstefan <stefan@hegedues.at>2018-09-12 19:26:21 +0200
committerstefan <stefan@hegedues.at>2018-09-12 19:26:21 +0200
commit48facb797ed912e4ea6b04b17d1ff190ac2daac4 (patch)
tree8dae77a31670a888d733484cb17dd4077d5444e8 /RSSDP/IUPnPDeviceValidator.cs
parentc32d8656382a0eacb301692e0084377fc433ae9b (diff)
Update to 3.5.2 and .net core 2.1
Diffstat (limited to 'RSSDP/IUPnPDeviceValidator.cs')
-rw-r--r--RSSDP/IUPnPDeviceValidator.cs27
1 files changed, 0 insertions, 27 deletions
diff --git a/RSSDP/IUPnPDeviceValidator.cs b/RSSDP/IUPnPDeviceValidator.cs
deleted file mode 100644
index 8fa48df7b..000000000
--- a/RSSDP/IUPnPDeviceValidator.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-
-namespace Rssdp.Infrastructure
-{
- /// <summary>
- /// Interface for components that check an <see cref="SsdpDevice"/> object's properties meet the UPnP specification for a particular version.
- /// </summary>
- public interface IUpnpDeviceValidator
- {
- /// <summary>
- /// Returns an enumerable set of strings, each one being a description of an invalid property on the specified root device.
- /// </summary>
- /// <param name="device">The <see cref="SsdpRootDevice"/> to validate.</param>
- System.Collections.Generic.List<string> GetValidationErrors(SsdpRootDevice device);
-
- /// <summary>
- /// Returns an enumerable set of strings, each one being a description of an invalid property on the specified device.
- /// </summary>
- /// <param name="device">The <see cref="SsdpDevice"/> to validate.</param>
- System.Collections.Generic.List<string> GetValidationErrors(SsdpDevice device);
-
- /// <summary>
- /// Validates the specified device and throws an <see cref="System.InvalidOperationException"/> if there are any validation errors.
- /// </summary>
- void ThrowIfDeviceInvalid(SsdpDevice device);
- }
-}