aboutsummaryrefslogtreecommitdiff
path: root/Mono.Nat/AbstractNatDevice.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-13 23:28:05 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-13 23:28:05 +0100
commitae0732136fe72e5e3c26517e9e350178bf2e9b59 (patch)
treecdfc9cd6ce97ceca0b2d8d3023d9815f80357dd5 /Mono.Nat/AbstractNatDevice.cs
parentd7b7be395b76c7fcc49d3baffeb59d51a9b36378 (diff)
parentf8dd182e422db49d98cc090f4e205cc46517f610 (diff)
Merge remote-tracking branch 'upstream/dev' into build-system-consolidation
Diffstat (limited to 'Mono.Nat/AbstractNatDevice.cs')
-rw-r--r--Mono.Nat/AbstractNatDevice.cs35
1 files changed, 17 insertions, 18 deletions
diff --git a/Mono.Nat/AbstractNatDevice.cs b/Mono.Nat/AbstractNatDevice.cs
index 1b4216002..1241170c1 100644
--- a/Mono.Nat/AbstractNatDevice.cs
+++ b/Mono.Nat/AbstractNatDevice.cs
@@ -13,10 +13,10 @@
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
-//
+//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
-//
+//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@@ -34,23 +34,22 @@ using System.Threading.Tasks;
namespace Mono.Nat
{
- public abstract class AbstractNatDevice : INatDevice
- {
- private DateTime lastSeen;
-
- protected AbstractNatDevice ()
- {
+ public abstract class AbstractNatDevice : INatDevice
+ {
+ private DateTime lastSeen;
+
+ protected AbstractNatDevice()
+ {
+ }
- }
+ public abstract IPAddress LocalAddress { get; }
- public abstract IPAddress LocalAddress { get; }
-
- public DateTime LastSeen
- {
- get { return lastSeen; }
- set { lastSeen = value; }
- }
+ public DateTime LastSeen
+ {
+ get { return lastSeen; }
+ set { lastSeen = value; }
+ }
- public abstract Task CreatePortMap(Mapping mapping);
- }
+ public abstract Task CreatePortMap(Mapping mapping);
+ }
}