public Polarizer(PolarizerParameters p) { if (p == null || p.PortName == null) { throw new ArgumentException("PortName must be defined."); } Init(p.PortName); }
public static AbstractPolarizer CreatePolarizer(PolarizerParameters p) { return((AbstractPolarizer)Activator.CreateInstance(p.Type, p)); }
public override void Update(PolarizerParameters p) { Delay = p.Delay; }