Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
1de7a351fThis file is pinned to the selected release. Download the original to open it in your design tool.
namespace MikroPic.EdaTools.v1.Core.Model.Net {
using System;
public sealed class NetConnection: INetVisitable {
private readonly string partName;
private readonly string padName;
public NetConnection(string partName, string padName) {
if (String.IsNullOrEmpty(partName))
throw new ArgumentNullException(nameof(partName));
if (String.IsNullOrEmpty(padName))
throw new ArgumentNullException(nameof(padName));
this.partName = partName;
this.padName = padName;
}
public void AcceptVisitor(INetVisitor visitor) {
visitor.Visit(this);
}
public string PartName {
get {
return partName;
}
}
public string PadName {
get {
return padName;
}
}
}
}