ln.skyscanner/entities/ConfiguredIP.cs

41 lines
889 B
C#

// /**
// * File: IntfIP.cs
// * Author: haraldwolff
// *
// * This file and it's content is copyrighted by the Author and / or copyright holder.
// * Any use wihtout proper permission is illegal and may lead to legal actions.
// *
// *
// **/
using System;
using ln.types.odb;
using ln.types;
using ln.types.net;
namespace ln.skyscanner.entities
{
public class ConfiguredIP
{
public readonly Guid ID = Guid.NewGuid();
public IPv4 IP { get; private set; }
public Network4 Network { get; private set; }
public ConfiguredIP()
{
}
public ConfiguredIP(IPv4 ip,Network4 network)
{
IP = ip;
Network = network;
}
public override string ToString()
{
return string.Format("[IntfIP ID={0} IP={1,18} Network={2}]", ID, IP, Network);
}
}
}