Loading files
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;
}
}
}
}
d4970b791This file is pinned to the selected release. Download the original to open it in your design tool.